wp_list_bookmarks – using arguments and CSS to modify one category
-
OK. My blog’s here:
https://www.kahotep.net/prometheancommunicationbut it will require login… so let me know if you wanna look.
In the meantime, let me explain my issue. I’ve got wp_list_bookmarks in my right sidebar. Before you go tell me to read the codex, let me point out that I’ve rea, re-read and tried many of the suggestions from the codex page on wp_list_bookmarks and everything I could find in the forum.My right sidebar lists links to news/media stories that I’m monitoring. I categorize them according to the date of each news story (as I’m hoping in the future to be able to list them easily, nicely categorized by date, on a page, but that’s for another time..)…
screenshot here
now, here’s the code I’m using in my sidebar:
<?php wp_list_bookmarks ('limit=28&before=<li class="news_link_bold">&after=</li>&orderby=id&order=DESC&categorize=0&title_li=&title_before=<h2 style="display:none;">', '<li>', '</li>', "&title_before=<!--&title_after=-->"); ?>
That lists the 28 most recent links in descending order of ID. And it lists them all in bold, because I’ve put that little
<li class="news_link_bold">
in there (and added the relevant CSS in my stylesheet).Now, without affecting the order of the links, I only want one or two of the links to be in bold, and the rest to be ‘font-weight: normal’. I cannot for the life of me figure out how to do this. I’ve tried putting the links that I want bold into a category and then specifying a second argument for that category, but I just get parse errors when I try to add a second argument. Now I know that I should really go and read up on php, but I figured that maybe one or two of you may have already tried implementing a similar thing and may be able to help me out… so… if you can.. I would appreciate it.
Many thanks in advance.
P.S. If you want to view my site, then email me using my email in the profile (if that’s possible?), or go to my home page and use the contact form.
- The topic ‘wp_list_bookmarks – using arguments and CSS to modify one category’ is closed to new replies.