If you want to order categories of links you could use the following code in your template. You would use this code to display one link category at a time.
<?php wp_list_bookmarks(‘title_li=&title_before=<h1 class=”sample”>&title_after=</h1>&category_before=&category_after=&category_name=Name of Link Category’);?>
Thread Starter
zozja
(@zozja)
where would i put this code:
<?php wp_list_bookmarks(‘title_li=&title_before=<h1 class=”sample”>&title_after=</h1>&category_before=&category_after=&category_name=Name of Link Category’);?>
Thread Starter
zozja
(@zozja)
question… I’ve inserted the new php code:
<?php wp_list_bookmarks(‘title_li=&category_before=&category_after=’); ?>
to replace the old one, and my website is now displaying the links correctly in the order i want. however… the formatting is not what i want. i’d like to make the category names smaller and then have the links be bulleted like the pages above. (see what i’m talking about on my website here: http://drkkozak.com — it’s on the left had sidebar)
how can i modify this?
thanks!
Open your theme’s style.css
Find….
#sidebar ul li {
background: url(images/arrow.jpg) no-repeat;
padding-left: 20px ;
line-height:15px;
margin:0px;
}
Change that for…
#sidebar ul li,
.blogroll li {
background:transparent url(images/arrow.jpg) center left no-repeat;
padding:1px 0 1px 20px ;
line-height:15px;
margin:0;
}
You should get better alignment with the bullets with that change to..