WordPress.org

Forums

Link Order (5 posts)

  1. SAWilliamson
    Member
    Posted 9 years ago #

    Is it possible to control the order 'Links' and more importantly Link 'Categories' are displayed in the sidebar of my page.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yes.

    Here's how.
    <li id="here">Here
    <ul><?php wp_get_links(1); ?></ul>
    </li>

    <li>15/30 Random Reads
    <ul>
    <?php get_linksbyname('Reading', '<li>', '</li>', '', FALSE, 'rand', FALSE, FALSE, 23, FALSE); ?>
    </ul></li>

    The above is from my blog.
    <?php wp_get_links(1); ?>
    The number in (brackets) is the Cat_ID which you can find from Manage > categories

    The second way gets the same sort of result - links from one category - just uses tags differently.

    And the
    <li id="here"
    part means that if you change that for each set of links you can change the style of each set of links too.

    And if that is confusing, post back :)

  3. ccf
    Member
    Posted 9 years ago #

    OMG, I was about to ask the same question, but the reply is totally mind boggling for a novice like myself.
    Thanks for any explanation you can provide. I need a Link for Dummies manual ;)

  4. sarahtar
    Member
    Posted 9 years ago #

    um...I second the request for a "for Dummies" response. lol.

  5. nmallory
    Member
    Posted 9 years ago #

    Try this...http://www.geekyweekly.com/mylinkorder

    It's fabuwonderlous!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.