How to get global post just from subsites AND not the main site?

I would like to get JUST the posts from subsites EXCLUDING post from the main site.

Possible!

Roger

  • Tyler Postle

    Hey Roger,

    Hope you're doing well today!

    In the widget you can exclude blogs by ID so just place "1" in that field, as 1 is the blog ID for the main site by default.

    Just wanted to add this in too, If you would like to use the widget on your subsites too then we have a constant for that you can add to your wp-config.php, by default you can only use it on your main site, but add this line to your wp-config.php then you can use it on subsites too:

    define('RECENT_GLOBAL_POSTS_WIDGET_MAIN_BLOG_ONLY', false);

    Hope that helps! If you need further assistance just let us know.

    All the best,
    Tyler