Tagged: Blog
-
AuthorPosts
-
June 2, 2015 at 5:05 am #452914
Hello,
After switching to Enfold, I edited some of my existing blog posts using the Advanced Layout Editor. When I did this, those posts no longer displayed like other blog posts – what I mean is that by default at the end of the post there are suggested articles to continue browsing as well as comments and sharing options.
I know in the Advanced Layout Editor you can pull down the social icons and comments, but I don’t understand why editing in the Advanced Layout Editor “breaks” the default options.
Here is an example of a post that had these default features disappear after editing using the Advanced Layout Editor.
Thanks!
June 3, 2015 at 5:05 am #453560Hey happinessplunge!
That is the expected behaviour when using ALB for posts, it’s more like creating a page that will appear in you blog feed. If you want the “regular” format of posts, please use the default editor.
Cheers!
RikardJune 3, 2015 at 2:22 pm #453758Hi Rikard,
Thanks for letting me know.
Is there a way, then, to get the “You might also like” part when using the ALB? I can see you can easily drag and drop the social icons and comments with the ALB. Is there an easy way to get recommended posts like this so I can maintain consistency from post to post?
Thanks!
June 3, 2015 at 4:11 pm #453890Hi!
It’s not possible without modifying the core files. You can add the blog posts element and select categories or tag related to the current post. Set the layout to grid, limit the number of entries and disable the pagination. You should also enable the Offset Number to avoid duplicated post.
OR edit the template-builder.php, look for this code:
echo $content;
Below, add this code:
//show related posts based on tags if there are any if(is_single()) get_template_part( 'includes/related-posts');
Regards,
IsmaelJune 4, 2015 at 3:46 am #454202Hi Ismael,
Thanks for the tip. You can mark this closed then. I’m all set!
June 4, 2015 at 12:30 pm #454408 -
AuthorPosts
- The topic ‘Blog layout’ is closed to new replies.