WordPress.org

Ready to get started?Download WordPress

Forums

how to show the links in the sidebar ordered by rating (3 posts)

  1. majedali
    Member
    Posted 4 years ago #

    hi all i want to show my links on the sidebar ordered by the rating i select from the admin side

    so what will be the steps to do it in the sidebar plz

  2. MichaelH
    Member
    Posted 4 years ago #

    Look at the WordPress Default theme's wp-content/themes/default/sidebar.php for an example of using the template tag, wp_list_bookmarks():

    Example:

    <?php
    wp_list_bookmarks('orderby=rating&order=ASC');
    ?>

    You could also put that code in Otto's PHP Code Widget.

  3. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Check with this plugin:

    http://wordpress.org/extend/plugins/my-link-order/

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic