WordPress.org

Forums

Display category titles when using multiple category query (2 posts)

  1. Danz0r77
    Member
    Posted 1 year ago #

    I'm using a multiple category filter by linking to URLs such as:

    domain.com/category/reviews+books

    domain.com/category/reviews+art

    etc

    This works fine as a filter but I can't find any built in WordPress function that will display the list of categories queried on the page. On a normal category page I would use single_cat_title() but this only retrieves the first category in the URL. How do I display both, or all if there are more?

    Thanks

  2. Danz0r77
    Member
    Posted 1 year ago #

    Does anybody know how to do this?

Topic Closed

This topic has been closed to new replies.

About this Topic