Query Multiple Taxonomies
[resolved] how to display # of results and selected tag (2 posts)

  1. miss-newyork
    Posted 6 years ago #

    I just installed the Query Multiple Taxonomies plugin and so far I love it :)

    I was just wondering, how would I be able to add the number of returned posts and all the selected tags/categories, etc as a title to the arcive.php page (or wherever I'm going to display the results)?
    I.e. "3 posts found for tag1, tag2, category3, ..."

    Thanks :)
    - Jenny

  2. scribu
    Plugin Author

    Posted 5 years ago #

    Something like this:

    printf( '%s posts found for %s', $wp_query->found_posts, QMT_Template::get_title() );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic