WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Link Display (7 posts)

  1. rsl111
    Member
    Posted 7 years ago #

    Hi,

    I have two link categories, but they both are being grouped together. Do you know how I get both to display?

    http://www.madisonandstate.com

    I think the following is the relevant code.

    http://pastebin.ca/133658

    Thanks,

    rsl

  2. BPartch
    Member
    Posted 7 years ago #

    Hello

    To get the links to display in seperate lists I do this:

    <ul>
    <?php wp_get_links('Link_Cat_ID_#'); ?>
    </ul>

    Just replace Link_Cat_ID_# with the appropriate ID number.

    Hope it helps.

  3. texalien
    Member
    Posted 7 years ago #

    Hi. I started another thread ("Can' Display Links Categories") on a very similar, if not identical problem, at exactly the same time rsl111 started this one.

    BPartch: I want to give your solution a try, but:

    -- In which file do I insert the code?
    -- How do I determine the "appropriate ID number?

    Thanks for your help.

  4. texalien
    Member
    Posted 7 years ago #

    Never mind, I solved my problem. Thanks, all.

  5. rsl111
    Member
    Posted 7 years ago #

    thanks, I appreciate it, I replaced the code but then got this error.

    http://pastebin.ca/134475

  6. BPartch
    Member
    Posted 7 years ago #

    Hello

    You need to change Link_Cat_ID_# to the number for the appropiate link category.

    For example:

    <ul>
    <?php wp_get_links('1'); ?>
    </ul>

  7. rsl111
    Member
    Posted 7 years ago #

    thanks for your help! that worked in getting them into two categories though they both have the same title, do you know how to get it to pick up the category names?

    thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.