WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Popular posts displayed according to tags (1 post)

  1. mradamw
    Member
    Posted 3 years ago #

    Hi there,

    I would like to know if the following is possible. Right now I have a music site I am developing. I use WordPress' tags for the genres of each artist post (ie Rock, Pop etc).

    I have created my own tag.php file so that when a user clicks on the 'Rock' tag (for example), all posts tagged with Rock are shown on the page in chronological order (i know this is a standard fucntion of WordPress). what i would like to do is be able to show in 2 columns the latest posts for that tag (which WP does already so thats solved) but in the second column show Popular in Rock posts.

    Is there any way to use WPPP to do this? something along the lines of:

    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=monthly&order_by=views&refine_by=<?php single_tag_title(); ?>"); ?>

    where 'refine_by=<?php single_tag_title(); ?>'

    I hope that makes sense! Any help would be awesome as this would be a very handy application for this plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic