WordPress.org

Forums

WP-PostViews
[resolved] Friendly URL using (?v_sortby=views&v_orderby=desc) ? (3 posts)

  1. tatoo
    Member
    Posted 1 year ago #

    Hello,

    I created a custom link menus. And put http://mysite.com/?v_sortby=views&v_orderby=desc.

    It works cool. But not create the Friendly URL in menu.

    Thanks.

    http://wordpress.org/plugins/wp-postviews/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Is not a common used featured, so it doesn't make sense to have it be URL written.

    You can create a page template http://codex.wordpress.org/Page_Templates and use <?php query_posts('v_sortby=views&v_orderby=desc') ?> as mentioned in http://wordpress.org/plugins/wp-postviews/faq/ (at the bottom) and that custom page will become the most viewed post and you will get a nice URL to it

  3. tatoo
    Member
    Posted 1 year ago #

    Very good!
    But not display PagiNavi the footer.

    I duplicated "index.php" in my theme and modified:
    //query_posts($query_string.$orderby);
    by:
    query_posts('r_sortby=highest_rated&r_orderby=desc');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.