Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Criss Swaim

    (@cswaim)

    I have not tried this, but according to the parameter doc
    https://codex.www.ads-software.com/Class_Reference/WP_Query#Parameters
    the author and category (which are numbers) can be excluded by entering negative numbers.

    Try something like category=-6 to exclude the category. And, of course, please post the results here so others know the results.

    Thread Starter Vakantie Ameland

    (@christianebuddy)

    Tried this e.g and it works! Tnx for the tip

    [tpg_get_posts numberposts=15 orderby=”date” show_entire=”true” category=-xx]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: TPG Get Posts] Exclude category’ is closed to new replies.