1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help with Sorting Posts by View Count (Wordpress Plugin wp-postviews and mystique th)

Discussion in 'Web Design' started by habanerolex, Mar 16, 2013.

  1. habanerolex

    habanerolex Junior Member

    Jun 16, 2011
    Likes Received:
    I have an Adult Gallery Blog and I'm using Mystique Theme. I installed the wp-postviews Plugin, because I want to sort my Posts by view Count.
    So I've added the following line to wp-content/themes/mystique/templates/home.php

    <?php query_posts('v_sortby=views&v_orderby=asc') ?>
    This actually works and it shows exactly what I wanted on the Main Page...the Posts with the lowest view counts.
    The Problem is, if I click on Page 2, 3 or any other Page I see exactly the same.

    It only works this way: mysite.com/?v_sortby=views&v_orderby=asc