WordPress.org

Support

Support » Themes and Templates » Display category titles when using multiple category query

Display category titles when using multiple category query

  • 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Display category titles when using multiple category query’ is closed to new replies.
Skip to toolbar