Title: Display Posts Shortcode on X The Theme
Last modified: August 22, 2016

---

# Display Posts Shortcode on X The Theme

 *  Resolved [Luxar](https://wordpress.org/support/users/luxar/)
 * (@luxar)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/display-posts-shortcode-on-x-the-theme/)
 * Hi Bill,
 * I withdrew a duplicate post in some other WordPress forum which I was unconcentrated
   enough to post there. As my question really belongs to this forum I will post
   it again. I appologize for my mistake.
 * I am using X The Theme which comes with their own `post_type="x-portfolio"`. 
   Your nice plugin shows the posts alright!
 * The portfolio-items are categorized in porfolio-categories. Whenever I state 
   something like `category="book"` I get no result at all.
 * The portfolio-items are tagged in porfolio-categories. Whenever I state something
   like `tag="book"` I get no result at all.
 * Is there any way to filter these kind of posts? To display simply any recent 
   post just isn’t good enough.
 * Thanks!
 * Regards,
    Luxar
 * [https://wordpress.org/plugins/display-posts-shortcode/](https://wordpress.org/plugins/display-posts-shortcode/)

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

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/display-posts-shortcode-on-x-the-theme/#post-5193427)
 * WordPress comes with two taxonomies built-in: category and post_tag. These are
   applied to the “post” post type.
 * While your theme could add those taxonomies to your portfolio post type, more
   likely they created their own taxonomies like portfolio_category and portfolio_tag.
 * In the backend go to where you manage those taxonomies (like Portfolio > Categories).
   Look in the URL, you should see something like: edit-tags.php?taxonomy=portfolio-
   tag . That is the name of your taxonomy.
 * Then, use a shortcode like this: [display_posts taxonomy=”portfolio-tag” tax_term
   =”book”]
 *  Thread Starter [Luxar](https://wordpress.org/support/users/luxar/)
 * (@luxar)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/display-posts-shortcode-on-x-the-theme/#post-5193483)
 * Hi Bill,
 * thanks very much for your help. Great!
 * Also: After pointing theme.co to this problem they came up with this solution(
   they recommended the use of your plugin in the first place):
 * `[display-posts posts_per_page="5" post_type="x-portfolio" portfolio-category
   ="ratgaber" portfolio-tag="produkt" include_excerpt="true" image_size="thumbnail"
   wrapper="div"]`
 * Thanks again.
 * Have a great day,
    Andreas

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

The topic ‘Display Posts Shortcode on X The Theme’ 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/)

## Tags

 * [theme x](https://wordpress.org/support/topic-tag/theme-x/)
 * [X The Theme](https://wordpress.org/support/topic-tag/x-the-theme/)

 * 2 replies
 * 2 participants
 * Last reply from: [Luxar](https://wordpress.org/support/users/luxar/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/display-posts-shortcode-on-x-the-theme/#post-5193483)
 * Status: resolved