WordPress.org

Forums

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

  1. miss-newyork
    Member
    Posted 4 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
    Member
    Plugin Author

    Posted 4 years ago #

    Something like this:

    <?php
    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