Support » Plugin: Display Posts - Easy lists, grids, navigation, and more » Not working for Custom Post types

  • Resolved conorsweeney13

    (@conorsweeney13)


    Hey,

    I have this installed on my website and I am trying to get it to work with the custom post type “On Taps” With a Taxanomy of “Breweries”. I need it to show only the latest post from a specific brewery inside breweries. Here is what I have used based on above and it renders nothing

    [display-posts taxonomy=”breweries” posts_per_page=”1″ tax_term=”brassneck-brewery”]

    what am I doing wrong? Will this work with custom post types?

    https://wordpress.org/plugins/display-posts-shortcode/

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

    (@billerickson)

    You need to include post_type=”on-taps” or whatever the slug is for your post type.

    Thread Starter conorsweeney13

    (@conorsweeney13)

    Hey Bill,

    Thanks for the answer but unfortunately it didnt work,

    [display-posts post_type=”on-tap” taxonomy=”breweries” tax_term=”brassneck-brewery” posts_per_page=”1″]

    Am I missing something? 🙁 Sorry

    C.

    Thread Starter conorsweeney13

    (@conorsweeney13)

    also the URL of the page is

    http://vancouverbeers.com/wordpress/growlers/

    the content should be showing up below the large black box in the black square

    Thread Starter conorsweeney13

    (@conorsweeney13)

    I got it working 🙂 thanks for all of your help!

    ALDesigner

    (@aldesigner)

    What modification to the above code was needed?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working for Custom Post types’ is closed to new replies.