WordPress.org

Support

Support » Plugins and Hacks » Display Posts Shortcode » [Resolved] displaying custom post type

[Resolved] displaying custom post type

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

    @billerickson

    Are you sure the “post_tag” taxonomy has been added to that post type? The tag taxonomy you’re seeing might be using a different name.

    Go to Properties > Tags, then look at the URL. It should include ?taxonomy=post_tag. If it has something else, you’ll need to use the taxonomy parameters. If it said property_tag, you’d do:

    [display-posts taxonomy=”property_tag” tax_term=”zzzz”]

    HGI

    @ultimatealeks

    I misspoke, but I did figure it out..had to tweak your code to get this:

    [display-posts post_type=”property” taxonomy=”ptags” tax_term=”zzzz”]

    and now it works!!!!

    Thanks so much, Bill.

    One more thing, if I wanted an image to be displayed as a thumbnail, any chance of that?

    Thanks

    HGI

    @ultimatealeks

    adding
    image_size=”thumbnail”
    does not work even if I add a featured image to that custom post

    Plugin Author Bill Erickson

    @billerickson

    The image size parameter should work. I recommend you switch (briefly) to the default WordPress theme TwentyEleven and see if the image shows up. If it does, that means the issue is with your theme. If it doesn’t, then the issue is most likely with a plugin you have installed, or you haven’t properly added the featured image.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] displaying custom post type’ is closed to new replies.
Skip to toolbar