• To get a list of links specific for a certain page, we have added a few link categories. Now we want to make a combination of multiple link categories with wp_list_bookmarks and then display those links.

    For instance page x with a custom value of page-x, has to have links that have the link categories page-x and publication.

    I’m having trouble retrieving the necessary ids of the link categories (page-x and publication) to use in the wp_list_bookmarks function. Can any of you assist me, or is there an easier way of doing this. I looked through the forum but couldn’t find any solutions.

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter jd_pbl

    (@jd_pbl)

    Checking this out further, it seems that the category parameter in wp_list_bookmarks doesn’t take a cross-section. It just adds all the links with one or more of the categories.

    So I have changed the approach to adding the ids of the links in a custom value on the page itself.

Viewing 1 replies (of 1 total)
  • The topic ‘Select links on multiple link categories’ is closed to new replies.