WordPress.org

Ready to get started?Download WordPress

Forums

Displaying Link Categories (1 post)

  1. raskenbo
    Member
    Posted 6 years ago #

    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:

    <h2>Sidebar</h2>

    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!!!

    Thanks.
    Ken

Topic Closed

This topic has been closed to new replies.

About this Topic