• Resolved budlix

    (@budlix)


    Hello,
    your plugin is great! However when I use it in Elementor for Single posts, the same category filtering is not working (showing all the blog posts). Is there some workaround how to show only posts of the same category with Elementor?
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    What category filtering are you using? Are you adding a shortcode like this?

    [display-posts category=”my-category”]

    That should work. If it does not, I recommend contacting Elementor support about why they are preventing queries from working correctly.

    Thread Starter budlix

    (@budlix)

    Hello,
    thank you for quick reply.
    What I understood is that your plugin is able to show only posts from same category as actual post is in? Then I dont know which shortcode I should put in so it will check the post’s category and then show the rest of same category posts. Sorry for my English.. ??

    • This reply was modified 6 years, 8 months ago by budlix.
    Plugin Author Bill Erickson

    (@billerickson)

    No, this plugin does not have support for that out of the box.

    But if you add this code to your theme’s functions.php file or a core functionality plugin, you can display posts in the same category using:

    [display-posts category=”current”]

    You might also want to use the exclude_current parameter so it doesn’t include the current post in the listing.

    [display-posts category=”current” exclude_current=”true”]

    Thread Starter budlix

    (@budlix)

    Great! That’s what I was looking for.
    Thank you very much for your help!

    • This reply was modified 6 years, 8 months ago by budlix.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatibility with Elementor’ is closed to new replies.