Title: display-posts compatibility issue
Last modified: March 2, 2020

---

# display-posts compatibility issue

 *  Resolved [wiredfire](https://wordpress.org/support/users/wiredfire/)
 * (@wiredfire)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/display-posts-compatibility-issue/)
 * Hi,
    I’ve been rebuilding some pages to get away from Beaver Builder, using Conditional
   Blocks to switch out some content for mobile and desktop as appropriate.
 * I have been using the Display Posts shortcode plugin to show posts in desktop
   and mobile suitable formats, hiding as needed:
    [https://en-gb.wordpress.org/plugins/display-posts-shortcode/](https://en-gb.wordpress.org/plugins/display-posts-shortcode/)
 * This has been fine in Beaver Builder, but when I add the Display Posts shortcode
   to a Paragraph or HTML Gutenberg block I am unable to hide it on mobile / desktop
   using Conditional Blocks.
 * Other shortcode plugins, like Modula gallery, are working fine so this seems 
   to be a compatibility issue with Display Posts rather than shortcodes in general.
 * Any help or pointers to resolve would be appreciated 🙂
 * Thank you!

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

 *  Plugin Author [Morgan Hvidt](https://wordpress.org/support/users/morganhvidt/)
 * (@morganhvidt)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/display-posts-compatibility-issue/#post-12501134)
 * Hi [@wiredfire](https://wordpress.org/support/users/wiredfire/) I’ll have a closer
   look today and write back here 🙂
 *  Thread Starter [wiredfire](https://wordpress.org/support/users/wiredfire/)
 * (@wiredfire)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/display-posts-compatibility-issue/#post-12501141)
 * Thank you 😃 Please do let me know if I can provide any further detail to help.
 *  Plugin Author [Morgan Hvidt](https://wordpress.org/support/users/morganhvidt/)
 * (@morganhvidt)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/display-posts-compatibility-issue/#post-12501189)
 * I’ll have to take you up on that 😛 It works for me. The `[display-posts]` is
   hidden on mobile inside the Shortcode Block, Paragraph Block and HTML Block.
 * Please let me know more details, if you are using the shortcode inside other 
   blocks or even layouts, theme and even a link to the site.
 * If you want you can submit it to [https://conditionalblocks.com/support/](https://conditionalblocks.com/support/)
 * I suspect that a quick work around for you would be to use the shortcode block
   and group it with a header for example. You can then apply the mobile condition
   to the whole group.
 * Another quick thought is to make sure your site isn’t displaying cache without
   the condition.
 * Thanks!
 *  Thread Starter [wiredfire](https://wordpress.org/support/users/wiredfire/)
 * (@wiredfire)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/display-posts-compatibility-issue/#post-12505145)
 * Gave using a shortcode block a go, but the same issue occurred! Been a long day
   so haven’t had a chance to tinker more today but I’ll make the page visible and
   share a link tomorrow with some more detail. Thanks a lot!

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

The topic ‘display-posts compatibility issue’ is closed to new replies.

 * ![](https://ps.w.org/conditional-blocks/assets/icon.svg?rev=3115006)
 * [Conditional Blocks - Advanced Content Visibility Control for WordPress](https://wordpress.org/plugins/conditional-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/conditional-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/conditional-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/conditional-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conditional-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conditional-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [wiredfire](https://wordpress.org/support/users/wiredfire/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/display-posts-compatibility-issue/#post-12505145)
 * Status: resolved