WordPress.org

Ready to get started?Download WordPress

Forums

Placing links in sidebar (3 posts)

  1. cyberioten
    Member
    Posted 8 years ago #

    Hi there,

    Totally new to php and all that tech-stuff. So plz give me simple instructions or code samples.

    Im looking for a way to make a list of all links listed under the link category. Here is an example:

    link catogory 1
    link 1.1
    link 1.2
    ...
    link category 2
    link 2.1
    link 2.2
    ...
    link category 3
    ...

    It for the right sidebar.

    Currently theme uses:

      <?php wp_get_links(); ?>

    This only gives me the list of links. So I assume that I will need something around to get the category and the category links, then "loop" and go to category 2 etc...

    Plz help (c:

    /cyberioten

  2. moshu
    Member
    Posted 8 years ago #

    I use get_links_list and it puts the links in categories.

  3. cyberioten
    Member
    Posted 8 years ago #

    Hi moshu,

    Thanks for the answer. I could - though - use a little bit more help with some CSS-styling of this. But I will manage.

    Thx

    /cyberioten

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.