Title: short code in custom post layout
Last modified: March 14, 2018

---

# short code in custom post layout

 *  Resolved [makmerghen](https://wordpress.org/support/users/makmerghen/)
 * (@makmerghen)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/short-code-in-custom-post-layout/)
 * I want to create post list by adding custom post layout contains a post content
   and some short code
    I want to display post content on all devices but I want
   to display the short code only on mobile is it possible to do that ? if yes how
   to do this ? thank you

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

 *  Plugin Contributor [Ben Carlo](https://wordpress.org/support/users/hinampaksh/)
 * (@hinampaksh)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/short-code-in-custom-post-layout/#post-10082140)
 * Hey [@makmerghen](https://wordpress.org/support/users/makmerghen/),
 * That should be possible with a bit of custom CSS using different media queries.
   Just make sure to wrap the contents in separate containers so we can target them
   specifically. If you can share the URL of the page in question we’ll be more 
   than happy to check. 🙂
 * Ben
 *  Thread Starter [makmerghen](https://wordpress.org/support/users/makmerghen/)
 * (@makmerghen)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/short-code-in-custom-post-layout/#post-10084120)
 * thanks for reply
    since I have no experience in any coding 🙂 so I can’t do that
   but fortunately I found a simple way by creating 2 post lists and I used advanced
   option to make one of them display only on mobile and the other one display on
   large and medium device thanks
 *  Plugin Contributor [Ben Carlo](https://wordpress.org/support/users/hinampaksh/)
 * (@hinampaksh)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/short-code-in-custom-post-layout/#post-10093087)
 * Hey [@makmerghen](https://wordpress.org/support/users/makmerghen/),
 * That’s actually another way of doing it! 🙂
 * Ben

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

The topic ‘short code in custom post layout’ is closed to new replies.

 * ![](https://ps.w.org/beaver-builder-lite-version/assets/icon-256x256.png?rev=
   2361183)
 * [Beaver Builder Page Builder - Drag and Drop Website Builder](https://wordpress.org/plugins/beaver-builder-lite-version/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beaver-builder-lite-version/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beaver-builder-lite-version/)
 * [Active Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beaver-builder-lite-version/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ben Carlo](https://wordpress.org/support/users/hinampaksh/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/short-code-in-custom-post-layout/#post-10093087)
 * Status: resolved