Forums

Front end media catalogue, filterable alphabetically (1 post)

  1. Andrea.Valoti
    Member
    Posted 4 months ago #

    Hi everyone,
    I'm building a media website and I would like to know if there's an easy way to the get a page to display all media attached to posts of a selected category, ordered alphabetically (only the media, not the full post) and filterable through alphabetical anchors on top of the page. Clicking on them, the user should be able to filter the media, displaying only those with the title beginning with the selected letter.

    For example: if I go the the "Official Documents" category, I would like to display on the page:

    • - all my media (.pdf files) attached to posts categorized "Official Documents"
    • - a list like "A B C D E ..."

    Clicking on "B", the page should then display all .pdf files attached to posts with the title beginning with "B" AND categorized "Official Documents"

    I know the easy way would be creating a subcategory for each letter, but I was wondering if there's a smarter way...since the parent categories (like Official Documents) are 7, I would have to create 237 subcategories!

    Any help would be greatly appreciated.
    Thanks in advance! :)

Reply

You must log in to post.

About this Topic