• Resolved FINDbmx

    (@findbmx)


    hi there, thank you for the powerful plugin.

    – I’m already able to list all my post type entries, using the below shortcode:

    [display-posts post_type=”study_fields” orderby=”title” order=”ASC” posts_per_page=”-1″]

    but when I try to limit it to one of my taxonomies nothing happens, as if there is no such taxonomy.

    – I’m using CPT UI to create post types and taxonomies.

    these are my taxonomy’s information:

    name: phd
    public: true
    hierarchical: true
    show_ui: true
    show_in_menu: true
    show_in_nav_menus: true
    query_var: true
    query_var_slug: “”
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    rewrite_hierarchical: false
    show_admin_column: false
    show_in_rest: false

    These are the shortcodes i tried:

    [display-posts taxonomy=”phd”] –> This returns my posts
    [display-posts post_type=”study_fields” taxonomy=”phd”] –> This returns my post_type study fileds

    post type taxonomy in URL

    – I’ve also tried taxonomies created from “mooberry book manager” plugin but same result. it shows my posts instead.

    – I’ve also tried changing my theme to two twenty seventeen.

    – I’ve also deactivated your plugin and installed another Post Shortcode plugin instead, but still have problem listing taxonomies and no problem with post types.

    • This topic was modified 7 years, 9 months ago by FINDbmx.
    • This topic was modified 7 years, 9 months ago by FINDbmx. Reason: uploaded an image
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter FINDbmx

    (@findbmx)

    – I’ve also tried deactivating all my plugins and using “twenty seventeen” as theme.
    – Even taxonomy=”category” has no effect.

    Plugin Author Bill Erickson

    (@billerickson)

    There’s no such thing as “limiting the results to a taxonomy”, you need to specify a term in that taxonomy.

    A taxonomy is a classification system that applies to an entire set of data (the post type). Color might be a taxonomy, and “blue” would be a taxonomy term.

    [display-posts taxonomy="color" tax_term="blue"]

    I’m not sure what terms are in your ‘phd’ taxonomy or else I’d use a working example from your site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problem listing taxonomies’ is closed to new replies.