Forums

override general settings for tag cloud results (2 posts)

  1. simoneabel
    Member
    Posted 2 years ago #

    hi everyone,

    i would like to override the read settings set for my site when generating results for a keyword tag within a tag cloud widget.

    my site is: http://corecompetencies.ca/performance_elearning/

    i have the general settings > reading set to show 1 post per page.

    i need to override this for the tag cloud, so that all the posts with that tag will display.

    i managed to do this for the search results, by editing the search results search.php template with query_post:

    <?php query_posts($query_string.'&posts_per_page=-1'); while (have_posts()) : the_post(); ?>

    i would like to do same for the tag cloud, but i can't figure out how. the tag cloud i'm using came with wordpress install, and my theme (customized BuddyTheme http://buddythemes.com/2010/02/buddy-theme/) doesn't have a tags.php template. would i need to create one, or is there some other way?

    thanks in advance for the help,
    cheers,
    simone

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Yes - you would need to create a tag.php template file and then add your custom query to that file. Start by making a copy of archive.php and renaming the new file tag.php. If you don't have an archive,php file, use index.php.

Topic Closed

This topic has been closed to new replies.

About this Topic