• I have links that have one, two, or more categories associated with them.
    Five of the categories refer to locations, such as Orange County, San Diego County, Los Angeles, etc. Most, but not all, of the links are tagged with one of these location categories.

    I need to be able to display lists of all the links that are NOT tagged with one or more of these location-specific criteria. For example:

    “all links that ARE tagged with San Diego County but NOT with Los Angeles and NOT with Orange County”

    How would I do that? I understand your concept of groups of settings under library names. I just don’t see a way to use those to ONLY include links that have a specific County

    I understand that I would be using numeric category IDs, not category names.

    https://wordpress.org/plugins/link-library/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    This would all be configured under the Common tab of the Library Settings using the fields Categories to be Displayed and Categories to be Excluded. if you only want links from a single categories, then only place that category in the Categories to be displayed field and it will only display this.

    Alternatively, you can select which categories will be included and excluded when you place the shortcode on a page. For example

    [link-library settings=”1″ categorylistoverride=”28″]

    Calling this shortcode will only display the category with ID 28.

    To exclude:

    [link-library excludecategoryoverride=”28″]

    Thread Starter tcolling

    (@tcolling)

    Thank you!

    What if I want to include only links that have two or more specific categories, e.g., links that belong to all of these categories: 23, 31 and 43?

    Thread Starter tcolling

    (@tcolling)

    What I mean is, is it possible to do this? How?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Not at this time. I will consider this in version 6.0, which is a rewrite of a lot of this plugin’s functionality.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple category include/exclude criteria’ is closed to new replies.