Title: Compatibility with Elementor
Last modified: July 4, 2018

---

# Compatibility with Elementor

 *  Resolved [budlix](https://wordpress.org/support/users/budlix/)
 * (@budlix)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatibility-with-elementor-3/)
 * 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](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatibility-with-elementor-3/#post-10461811)
 * 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](https://wordpress.org/support/users/budlix/)
 * (@budlix)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatibility-with-elementor-3/#post-10461897)
 * 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 7 years, 11 months ago by [budlix](https://wordpress.org/support/users/budlix/).
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatibility-with-elementor-3/#post-10461985)
 * No, this plugin does not have support for that out of the box.
 * But if you add [this code](https://www.billerickson.net/code/display-posts-current-category/)
   to your theme’s functions.php file or a [core functionality plugin](https://www.billerickson.net/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](https://wordpress.org/support/users/budlix/)
 * (@budlix)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatibility-with-elementor-3/#post-10462196)
 * Great! That’s what I was looking for.
    Thank you very much for your help!
    -  This reply was modified 7 years, 11 months ago by [budlix](https://wordpress.org/support/users/budlix/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Compatibility with Elementor’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [budlix](https://wordpress.org/support/users/budlix/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/compatibility-with-elementor-3/#post-10462196)
 * Status: resolved