Digital experiences for all disciplines
Forum Replies Created
-
-
For my model, I use SPB > Image
http://www.humour.pierrecommenge-design.com/?p=13540
Where is Portfolio Meta > Custom Excerpt ?
Sorry, I mistranslated question.
How to add a second caption, like model of screenshot
Attachments:
You must be logged in to view attached files.ok, thanks Kyle! How to add a second line to the legend (see screenshot please)
Attachments:
You must be logged in to view attached files.May 11, 2015 at 12:46 pm in reply to: Swift Page Builder> "Portfolio" does not work with "WPML" #173755Sorry but this code don’t work, error message (see screenshot)
Attachments:
You must be logged in to view attached files.May 11, 2015 at 12:59 am in reply to: Swift Page Builder> "Portfolio" does not work with "WPML" #173573in function.php, the line 6 an 7 is for a new custom post type, and if I delete the part of style excerpt, The portfolio work.
The line 6 and 7 :
6 : register_post_type( ‘avocats’,
7 : array(of code :
add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'avocats', array( 'labels' => array( 'name' => __( 'Avocats' ), 'singular_name' => __( 'Avocats' ) ), 'public' => true ) ); register_taxonomy( 'statut', 'avocats', array( 'hierarchical' => true, 'label' => 'Statut', 'query_var' => true, 'rewrite' => true ) ); }
Yes Rui, it’s good, thank you very much for having found a solution !!
Yes, I understand, you helped me a lot on this problem and I thank you. But I thought he smplement enough to change a word in the code.
If it is more complicated, I will give up this request.
May 10, 2015 at 11:03 pm in reply to: Swift Page Builder> "Portfolio" does not work with "WPML" #173546Yes, thanks Rui, le problem is related to function with the display styles in the excerpt of blog posts:
function improved_trim_excerpt($text) { global $post; if ( '' == $text ) { $text = get_the_content(''); $text = apply_filters('the_content', $text); $text = str_replace(']]>', ']]>', $text); $text = preg_replace('@<script[^>]*?>.*?</script>@si', '', $text); $text = strip_tags($text, '<p><a><strong><br /><font><h2><h3><span>'); $excerpt_length = 80; $words = explode(' ', $text, $excerpt_length + 1); if (count($words)> $excerpt_length) { array_pop($words); array_push($words, '[...]'); $text = implode(' ', $words); } } return $text; } remove_filter('get_the_excerpt', 'wp_trim_excerpt'); add_filter('get_the_excerpt', 'improved_trim_excerpt');
Wordpress does not display the styles in the excerpt of blog posts.
Is there another solution that would allow me to delete my old code?
Thanks Rui !! it work 😉
Is it possible to change a hover effect like portfolio :
in hover, the whole picture is filled with a color (+ css opacity) and the title is at the center
Attachments:
You must be logged in to view attached files.May 10, 2015 at 2:50 pm in reply to: Swift Page Builder> "Portfolio" does not work with "WPML" #173490Perhaps the pb comes from the update Swift Framework.
When I do the update, the update wheel turns but never stops.
Attachments:
You must be logged in to view attached files.May 10, 2015 at 2:29 pm in reply to: Swift Page Builder> "Portfolio" does not work with "WPML" #173483Sorry, if I disable WPML, the SPB portfolio still does not work
May 10, 2015 at 2:09 pm in reply to: Swift Page Builder> "Portfolio" does not work with "WPML" #173481if I disable WPML, the SPB portfolio works fine
Always error : Fatal error: Maximum execution time of 60 seconds exceeded in /home/pierreco/public_html/humour/wp-content/themes/joyn/includes/meta-box/inc/helpers.php on line 278
As do to WPML works with SPB Portfolio?
ok Ed, in page sf-functions.php
but, what code needs to be changed please? I’m not a developerSorry, this is the good link : http://joyn.swiftideas.com/portfolio-2/11308-2/
If I click on an image, do link can target a standard page or URL?
Great, it work, thanks Rui !!!
-
Posted in: Reply To: Code snippet don't work