• Resolved Luxar

    (@luxar)


    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://www.ads-software.com/plugins/display-posts-shortcode/

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

    (@billerickson)

    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

    (@luxar)

    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.