Hi all,
How to add icon "new" to the specific page link in sidebar?
My theme calls WordPress built-in function dynamic_sidebar() to display sidebar which consist of page links and I would like to mark the new pages with the small "new!" stamp.
I know how to add icon to *all* page links in sidebar with the following CSS code:
#subcontent ul.pages li, #subcontent ul li, #subcontent ul li.page_item {
padding-right:10px;
background: url(../images/spring_flavour/new.gif) top right no-repeat;
}
But what is the way to add such icon to the *specific* page only? Without hacking into WordPress dynamic_sidebar() code.
Many thanks,
Dmitriy