I am trying to build a theme that will be used by other people (i.e. placed in the themes directory or some such). I want to add a simple feature that allows them to put links in the footer simply by creating a link category called "footer links".
I am able to get that to work, however, I also have default sidebars that show links (unless they override them) and would like it not to redundantly put the "footer links" category in.
I realize you can exclude from wp_list_bookmarks by id - however, since this will be released into the wild the id will be different for each user. So I would like to be able to do something like
$footer_link_id = (some code to get footer link category id via it's name, similar to get_cat_id)
wp_list_bookmarks('exclude_category='.$footer_link_id)
(note, I realize my php may be mangled in the 2nd line, but basically it should do exclude_category=[footer_link_id])
I have done myriad searches via Google and the Codex and have found nothing similar to this - many about using get_cat_id to get post categories, but nothing to get link categories. It's very likely the answer is out there and I'm just unaware.
Please enlighten me. Many thanks in advance.