Tagged: enfold
-
AuthorPosts
-
December 10, 2014 at 3:26 pm #365978
Hi
i want show more text in the preview of grid layout, blog posts and post slider. On the page (see link) you can dee the “latest News” widget on the right. There is more text in the preview. I want that in grid layout, blog posts and post sliderHow can i handle that?
December 10, 2014 at 9:36 pm #366254Hey heufti65!
Add this to the bottom of your functions.php file.
add_filter( 'avf_postgrid_excerpt_length', 'enfold_customization_excerpt_size' ); function enfold_customization_excerpt_size( $size ) { return 120; }
And change 120 with however big you want the excerpt to be.
Best regards,
ElliottDecember 12, 2014 at 1:07 pm #367201Hi. Thats was exactly what i was looking for.
How can i target with that filter also “Post Slider” and “Blog Posts” and the “Searching results” page?Thanks for help. Oli
December 13, 2014 at 12:23 am #367566Hi!
Try adding this to the file.
add_filter( 'excerpt_length', 'enfold_customization_excerpt_size' );
If it’s not working in a certain area then send us a link to the page and we’ll take a look.
Regards,
ElliottJanuary 2, 2015 at 11:52 am #374028Hello,
How to do this for the masonry blog preview text?best regards
January 2, 2015 at 7:24 pm #374158Hey!
Add this.
add_filter( 'avf_masonry_excerpt_length', 'enfold_customization_excerpt_size' );
Best regards,
ElliottDecember 7, 2015 at 11:24 am #547887Hey!
I added the lines but nothing happened. You have any other suggestions?
Regards
December 7, 2015 at 11:38 am #547892I added this:
add_filter(‘avf_postgrid_excerpt_length’,’avia_change_postgrid_excerpt_length’, 10, 1);
function avia_change_postgrid_excerpt_length($length)
{
$length = 150;
return $length;
}
add_filter( ‘excerpt_length’, ‘enfold_customization_excerpt_size’ );
add_filter( ‘avf_masonry_excerpt_length’, ‘enfold_customization_excerpt_size’ );But it just works on our english page.
On our german page I get an error and I need to delete the lines.Regards
December 8, 2015 at 1:24 am #548444Hey!
What does the error say?
Best regards,
ElliottDecember 8, 2015 at 9:27 am #548611Hey,
It says “Rendering Page – an unknown error occured”.Regards
December 13, 2015 at 11:14 pm #551809Hey!
Hmm, not sure what it could be. Your using WPML correct? Send us a WordPress login and we’ll take a look.
Regards,
ElliottDecember 14, 2015 at 2:47 pm #552291Hey,
there you go.
Thanks, LisaDecember 22, 2015 at 4:43 am #556315Hi!
Hmm, I don’t see the theme editor link in your Dashboard > Appearance menu. How do you edit the child theme?
Cheers!
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.