Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix WP Post Loop widget – excluding category posts

Discussion in 'Misc WordPress Requests' started by Maria-Elisa, Jan 9, 2018.

  1. Maria-Elisa


    WP Post Loop widget – excluding category posts, by Maria-Elisa

    Hello to all,

    I’m not an expert, so my question may be silly and I apologize in advance.

    I use SiteOrigin North theme with SiteOrigin page builder on almost all pages.

    My blog page is named “articles” but is not assigned as “blog page, it’s a page like any other one.

    I use the default WP post loop widget in the Site Origine page builder to get my posts on the articles page.

    At the moment, all articles are included in the widget loop.

    I would like to exclude 3 categories.

    I guess I have to write an additional query in the widget to exclude those categories but I am unable to do it.

    Could someone give me the correct syntax of the query ? (with category slugs as it seems there is no more category ID numbers)

    Thank you very much in advance!

    WP Post Loop widget – excluding category posts

Share This Page

Monarch Social Sharing Plugin