Pinegrow Community Support Forum

Remove a category in a Loop WP Theme

Good afternoon. In WP theme I created in Pinegrow in a given loop, like that Category 5 was not shown in this loop. How to do this in Pinegrow?

  • From The loop settings, create a Custom WP Query

Note: We have a documentation with an example of Custom WP query.

  • Name it cat_filter for example

  • From the Category parameters section, enter the categories ID that you want to remove.

Note: Reveal IDs is a cool plugin if you want to easily find categories IDs.

  • From Category Opts, set to not in so the categories will be excluded from the loop.

  • Try your loop :slight_smile:

Related documentation:
https://codex.wordpress.org/The_Loop

1 Like