• Resolved darkf3d3

    (@darkf3d3)


    There’s a way to sort post list on blog pages like home and archive by popularity (post view)?

    Actually I’m doing something similar ordering the post by price adding this line:
    <?php query_posts($query_string . ‘&meta_key=price&orderby=meta_value_num’); ?>
    Just before this:
    <?php $j = 0; if (have_posts()) : while (have_posts()) : the_post();

    Thank you for the help and for the great module!

    https://ww.wp.xz.cn/plugins/wordpress-popular-posts/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Sorting post by popularity’ is closed to new replies.