Support » Plugin: A-Z Listing » Filter by Category does not work

  • Resolved Lettobi

    (@lettobi)


    I display all “Projects” with this shortcode:
    [a-z-listing display=”posts” post-type=”projects” taxonomy=”category” terms=”kantuspruegel”]
    It works fine.

    Now I want to display only a certain category of these projects:
    [a-z-listing display=”posts” post-type=”projects” taxonomy=”category” terms=”kantuspruegel”]

    Nothing shows. I’m sure the term is the correct slug-name of the category.
    Does anybody have an idea why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Llewellyn

    (@diddledan)

    Hi,

    You can find the slug of your category by going to wp-admin -> projects -> categories. The list on the right will show you the slug in the column labelled “Slug”. I’m surmising that you speak the Switzerland dialect of German based on your post and WordPress.org profile, in which case I believe the column will be translated to “Titelform” in your locale. Please forgive me if I am mistaken 🙂

    If your taxonomy is not called “projects” then you can find the slug for it by going to wp-admin -> projects -> [name here] and finding the address in your browser of the form https://example.com/wp-admin/edit-tags.php?taxonomy=category. Here the taxonomy is called category, which is what you will enter into the short-code.

    • This reply was modified 1 week, 3 days ago by Daniel Llewellyn. Reason: highlight the taxonomy slug
    Lettobi

    (@lettobi)

    Thank you! The problem was that I entered the wrong taxonomy name. Also, you were spot on with the swiss-german translation!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.