When you say “box, are refering to the sections broken up with the white line, like between the archives and the organizations?
Yes, sorry if I was not clear about that.
I have Organizations, Blogs, and NewsSources as my categories of links. Right now they are ALL showing up under that Organizations section there on the right. I want to break them all into their own section.
WHen you create links do you assign them to the proper category in the Link Manager?
Yes, all links are assigned to the correct category in the manager. I am thinking it has something to do with the actual theme that I am using.
Would it help if I point you to the code or anything, or can you guys already see that from the link?
If you want to simply show the three different categories, you can use the get_links_list tag, it will break it up. If you want to display them in different “boxes” you will need to use the wp_get_links tag, and specify each cat for each box.
I have been reading through the Codex and have found some pretty good information, however, I still think it is a problem with the way that the theme is coded. Perhaps someone could view the code and maybe help me with a better understanding?
Which code? the code in your sidebar? We can’t see that really. You didn’t answer my question, do you simply want the different link cats to be seperate, or are you trying to put the breaks between. The tag get_links_list will do the later, and the wp_get_links_list will do the former, albeit you will have to specify each link cat for each break.
Well, I have followed the directions to the letter and I’m still having trouble. I have two categories: links (1) and feeds (2). The Links displays just fine using the wp_get_links tag but when I copy and paste that section of code, rename it Feeds and substitute 2 for 1 in the id spot I get parse error message and the entire sidebar is gone.
I’m using the Dimension 2k theme after tweaking it:
http://www.davereed.org/index.php
Here’s the problematic section of code:
<!-- Links Start -->
<?php /* If this is the frontpage */ if (is_home()) { ?>
<div class="theme_sidebar_box">
<div class="theme_sidebar_box_header"><div class="theme_sidebar-headline_links">Links</div></div>
<div class="theme_sidebar_box_main">
<div class="categories">
<?php wp_get_links(1); ?>
</div>
</div>
<div class="theme_sidebar_box_footer"> </div>
</div>
<!-- Links end -->
<!-- Feeds Start -->
<?php /* If this is the frontpage */ if (is_home()) { ?>
<div class="theme_sidebar_box">
<div class="theme_sidebar_box_header"><div class="theme_sidebar-headline_links">Links</div></div>
<div class="theme_sidebar_box_main">
<div class="categories">
<?php wp_get_links(2); ?>
</div>
</div>
<div class="theme_sidebar_box_footer"> </div>
</div>
<!-- Feeds end -->