Bookmark in two categories and not list it if either cat is excluded?
-
I’m trying to set up two pages with link lists for stores/restaurants in different buildings and sort by building.
All links are assigned to their respective “Building” category and if it’s a store or restaurant it’s also assigned to a “Store” or “Restaurant” category.. Is there an easy way to exclude links like this.
Stores in Building 1
Link 1 (Category = Building 1, Store)
Link 2 (Category = Building 1, Store)
Link 3 (Category = Building 1, Restaurant) // Exclude this?Restaurants in Building 1
Link 1 (Category = Building 1, Store) // Exclude this?
Link 2 (Category = Building 1, Store) // Exclude this?
Link 3 (Category = Building 1, Restaurant)
Et.c..Excluding links in either the store or restaurant category doesn’t seem to work because all the links are included via the building category. :/
Code example in my links.php
<ul class="links-list"> <?php wp_list_bookmarks('category=9,10&title_before=<h3>&title_after=</h3>&category_orderby=id'); ?> </ul>
- The topic ‘Bookmark in two categories and not list it if either cat is excluded?’ is closed to new replies.