Support » Plugin: A-Z Listing » Need to show category under custom post type

  • Hello Sir,

    I want to show staffing-profile category on this page, but its taking all posts from employer.

    Kindly help me out.
    I’m using this shortcode.

    [a-z-listing post-type=”employer” taxonomy=”category” terms=”staffing-profile”]

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Sir,

    Still waiting for yout reply. Kindly help me out.

    Plugin Author Daniel Llewellyn

    (@diddledan)

    Hi,

    The way you have the shortcode above will display:

    • Posts of the type “employer”
    • Who have a category of “staffing-profile”

    However, if no employers have the category “staffing-profile” then it will display every employer and NOT an empty list. You must have at least one employer assigned the term to filter at all. This is a limitation of WordPress itself.

    If you have assigned some employers the term “staffing-profile” then either my plugin has issues with hyphens or you might have the “slug” mis-typed. Can you double check that the term you want to filter-by has the slug “staffing-profile” and that it is in the taxonomy “category”. If you have staffing-profile in a different taxonomy, such as tags you will need to replace the word “category” with the correct taxonomy slug.

    Hello.

    Thanks a lot. We have updated the plugin and that worked. Thanks for your time.

    Plugin Author Daniel Llewellyn

    (@diddledan)

    Awesome! 🙂 I’m really glad my plugin is working for you..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need to show category under custom post type’ is closed to new replies.