Tagged: blog post
-
AuthorPosts
-
May 31, 2017 at 4:37 pm #802091
Dear Enfold Team,
At first I am quite lucky with enfold. But today I have an issue with the blog excerpt. It seem to be the same problem like this https://kriesi.at/support/topic/blog-layout-21/#post-797170.
I used the Advanced Avia Layout Builder in the Blog Editor. Unfortunatelly there is no blog excerpt in the Blog Raster with three coloums. Here you will find the problem: http://wp.me/P8ll3c-h#news.
If I didn’t used the Advanced Avia Layout Bilder in the Blog Editor the problem doesn’t appear.
Do you have any Ideas?
Thanks in Advance.
Kind regards,
ChristianJune 1, 2017 at 7:07 am #802378Hey Christian,
When you use the Layout Builder for posts then you will have to set the excerpt manually. If you can’t see the field in your posts then please click Screen Options in the top right hand corner of the screen and select it there.
Best regards,
RikardSeptember 8, 2017 at 2:19 am #849356Hi there,
I have a site where some of the excerpts are manual and some aren’t as 2 people are using the blog in the way that suits them (one like s the avia editor and the other likes the default editor). Is there a way to tell the blog to show the manual over the automatic if it is present?
September 8, 2017 at 5:08 pm #849651Hi Briana,
If the Layout Builder is activate when the post is saved then the manual excerpt will be used. If the default editor is active, then the automatic excerpt will be used.
Best regards,
RikardSeptember 28, 2017 at 8:02 pm #858198How can I make enfold use the manual excerpt with the default editor active?
September 30, 2017 at 5:41 pm #858785October 1, 2017 at 11:14 am #858874I also tested it on a fresh install, with the default enfold demo.
It works with the manual excerpt in some blog layouts, but it does not work in others.
It works in : masonry blog and blog grid
But it does not work in the others.How can I make it work in the others too?
October 1, 2017 at 4:25 pm #858931Hi,
Try adding this code to the end of your functions.php file in Appearance > Editor:add_filter( 'the_content', 'replace_content_with_excerpt', 100 ); function replace_content_with_excerpt( $content ) { if ( is_singular() ) { return $content; } remove_filter( 'the_content', __FUNCTION__, 100 ); $excerpt = apply_filters( 'the_excerpt', get_the_excerpt() ); add_filter( 'the_content', __FUNCTION__, 100 ); return $excerpt; }
Best regards,
MikeOctober 1, 2017 at 7:06 pm #858956Worked perfectly,
Thanks!(might be something for the next theme update?)
October 1, 2017 at 8:59 pm #858983 -
AuthorPosts
- The topic ‘Blog excerpt not displayed’ is closed to new replies.