• Hi,
    I’ve been trawling the forum for a while now, but still can’t find the answer.

    I’d simply like to add a product group link (from WPECommerce) to the Category Navigation bar, so that the catnav bar goes

    News Product Group 1 Product Group 2

    http://www.wonderworldaudio.com

    Much Appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • the category list is likely to be made by wp_list_categories();

    with a code similar to this:

    <ul>
    <?php
    wp_list_categories('orderby=name'); ?>
    </ul>

    you could add your links manually, hard coded, like this:

    <ul>
    <?php
    wp_list_categories('orderby=name&include=3,5,9,16'); ?>
    <li><a href="link_url_of_product_group_1">Product Group 1</a></li>
    <li><a href="link_url_of_product_group_2">Product Group 2</a></li>
    </ul>

    Thanks for the reply.

    The above method simply added a link to the existing/first post category. I think what we need is to make up a new ‘Post Category’, which I’m guessing will go in the header.php, and then put the links underneath that.

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How To Add A Link To The Category Navigation’ is closed to new replies.