Support » Plugin: A-Z Listing » Second level of filter possible ?

  • Resolved bastienmichel

    (@bastienmichel)


    Hi Daniel,

    Thank you for your amazing support.
    I have a remaining question on which I cannot find any answer in here :
    is it possible to add a second filter in addition to the letter-filter ?

    For instance, I have a list of books and I would like to be able to show only the ones related to the category “Biography”, and hide the other.
    Here is the page I need help with : http://livres-de-foot.fr/bibliotheque/

    Thanks in advance

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

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

    (@diddledan)

    Hi,

    If your “book” posts are assigned a the “biography” category then you can restrict the list by adding taxonomy="category" terms="biography" into your shortcode. For example, it might leave you with a shortcode like this:

    [a-z-listing display="posts" post-type="book" taxonomy="category" terms="biography"]
    

    The terms attribute takes one or more term “slugs”, which you can find by navigating in wp-admin to the categories list where you should see a table with a “slug” column with the slugs of each category in your database.

    bastienmichel

    (@bastienmichel)

    Hi. Sorry, my question was not good.
    I would like to add a second level of filter (like the letters) in order to be able to choose the category (biography, history, statistics,…).
    I can imagine some clickable buttons (like the letters) which dynamically (and at frond end) filters the list by only displaying the selected ones.

    Is that possible ?

    Regards

    Plugin Author Daniel Llewellyn

    (@diddledan)

    Ahh I see. This will require a fair amount of custom coding to implement. The plugin does not support this natively.

    bastienmichel

    (@bastienmichel)

    I thought so. Sadly. Thanks again for your plugin and amazing support

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