Support » Fixing WordPress » Adding “Other Links” category to sidebar
8 years, 4 months 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.
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 -->
<?php wp_list_bookmarks('title_li=&categorize=0&category_orderby=name&category_name=blogroll'); ?>
in the call above my category is called blogroll and all links in this category only are displayed.
hope this helps you
The simplest solution is usually the best. Either use the blogroll/links widget, or create your own html links in a text wdget.