Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #604847

    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.

    #605543

    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

    #607692

    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.

    #608267

    Hey!

    Try the following, replace related-posts.php with this:
    https://gist.github.com/josueochoa/49140634661821a54809a4271469a764

    Best regards,
    Josue

    #676513

    YES!!!!
    and I was looking for !!!
      but how can I add in child thems?
    help me …

    #676526

    Hi!

    Please create “includes” folder inside your child theme and move the modified file there.

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.