WordPress.org

Ready to get started?Download WordPress

Forums

Adding "Other Links" category to sidebar (3 posts)

  1. mcbidz
    Member
    Posted 5 years ago #

    How do you add "Other Links" category to the main sidebar? What im looking to do is add links which are not part of my website http://charlesfmccracken.com thus the "other" links category I want to place. Thanks for any help you may offer.

  2. lorenzo
    Member
    Posted 5 years ago #

    I guess it depends on the 'type' of links and if you want to hardcode it in your templates or use a widget.

    with type i mean:
    1) if it is a 'sponsored' banner/link an ad-rotator widget might solve the problem;

    2) if it is a simple list of links i'd use the internal engine. enter your links in a specific category then use the call from the template:

    <!-- Subcontent unit -->
    <div>
    <h1 class="bblue">TestBblue</h1>
    
    <ul>
    <?php wp_list_bookmarks('title_li=&categorize=0&category_orderby=name&category_name=blogroll'); ?>
    </ul>
    </div>

    in the call above my category is called blogroll and all links in this category only are displayed.
    hope this helps you

    lorenzo

  3. Chrisber
    Member
    Posted 5 years ago #

    The simplest solution is usually the best. Either use the blogroll/links widget, or create your own html links in a text wdget.

Topic Closed

This topic has been closed to new replies.

About this Topic