• 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 Dani Llewellyn

    (@diddledani)

    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 www.remarpro.com 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 4 years, 12 months ago by Dani Llewellyn. Reason: highlight the taxonomy slug
    Thread Starter 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)
  • The topic ‘Filter by Category does not work’ is closed to new replies.