How does the related posts function work? In the theme options for Enfold, it says it works based on Tags. Is it just randomized by pulling random posts that have one or more of the same tags? Is there a way to change it to categories instead of tags? Thank you.
Hi mgyura!
It shows based on tags. You can add one of Enfold’s native elements to display your related posts based on categories using shortcodes.
You can enable debugging mode to see shortcodes you have created in pages using Advanced Layout Builder – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Or, You can switch to Default Editor and click on Magic Wand to see full list of shortcodes http://i.imgur.com/n4KXkdm.jpg
then you can create any of them and copy/paste shortcode into any other content element or into text widget.
Regards,
Yigit
Thanks, Yigit. We are wanting to change all blog entries to show related posts base on Categories, not tags. We want to do this without having to add shortcodes on each post.
Hey!
Try the following, replace related-posts.php with this:
https://gist.github.com/josueochoa/49140634661821a54809a4271469a764
Best regards,
Josue
YES!!!!
and I was looking for !!!
but how can I add in child thems?
help me …