Support » Themes and Templates » Displaying Link Categories

  • I have a long page that lists a set of links sorted by category (using wp_list_bookmarks).

    The outputed code looks something like this (I’ve got this to work).

    <h2>Main Content</h2>

      <li id=”cat-1″><h3>Cat 1</h3>
      <li id=”cat-2″><h3>Cat 2</h3>

    Here’s where the problem starts….

    I’d like to add a sidebar to this page that contains a list of anchor links to each category within this page.

    Here’s what I hope the code would look like for the sidebar:


    Each link in the above sidebar would link to the appropriate “category” within the page’s “Main Content”.

    I’ve done a lot of research but can’t find an easy way to make this happen.

    Please help!!!


  • The topic ‘Displaying Link Categories’ is closed to new replies.