• I have two custom post types and three custom taxonomies. I’m ok with listing/selecting by taxonomy [catlist taxonomy=’person’ terms=’bob’]. However I see no way to select a custom post type. I’ve searched and looked but cannot find the code.

    Is there a short code to list one or multiple custom post types?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Assume you have a custom post type called “dogs” and a taxonomy called “breed.”

    You might construct the following shortcodes:

    [catlist post_type=dogs]

    [catlist post_type=dogs?taxonomy=breed]

    [catlist post_type=dogs?taxonomy=breed tags=show-dogs,guard-dogs]

    [catlist post_type=dogs?taxonomy=breed tags=show-dogs,guard-dogs numberposts=-1 orderby=title order=asc]

    • This reply was modified 7 years, 5 months ago by dmkizer.
Viewing 1 replies (of 1 total)
  • The topic ‘Listing/selecting by Custom Post Types’ is closed to new replies.