Add Remove Blogs/Sites from List

This explanation will be short as the arguments are straight forward.

This shortcode shows you all posts across this multisite:
[netsposts]

Here is the list:

Test Post 2
Published 9/12/2017 in Profile John Cardell
[sc name="Test Shortcode"] read more ❯

Various Night Sky Images
This is a collection of photographs from the night sky around the globe. read more ❯

List of My Plugins and Themes
Published 9/3/2017 in Wordpress Plugins

My Libraries
Published 9/3/2017 in Profile John Cardell
This is a default with the manual excerpt field populated. read more ❯

My New Novel Updates
Published 9/3/2017 in Profile John Cardell
This is a default with the manual excerpt field populated. read more ❯

Test 2
Published 8/28/2017 in Premium WordPress Plugins

To exclude certain sites/blogs from showing up in the list you go to the admin menu and follow the given path:
My Sites > Network Admin > Sites and when you hover over the given sites you’ll see their ID in the url on the bottom of the screen.

This blog has an ID of 2. So to exclude it from the list I will use:
[netsposts exclude_blog="2"]

Here is the list:

Test Post 2
Published 9/12/2017 in Profile John Cardell
[sc name="Test Shortcode"] read more ❯

Various Night Sky Images
This is a collection of photographs from the night sky around the globe. read more ❯

My Libraries
Published 9/3/2017 in Profile John Cardell
This is a default with the manual excerpt field populated. read more ❯

My New Novel Updates
Published 9/3/2017 in Profile John Cardell
This is a default with the manual excerpt field populated. read more ❯

Test 2
Published 8/28/2017 in Premium WordPress Plugins

You can see the post “List of My Plugins and Themes” is missing. It’s the only post on this site.

Now we’ll reverse it and use the included argument:
[netsposts include_blog="2"]

Here’s the list:

List of My Plugins and Themes
Published 9/3/2017 in Wordpress Plugins

As you can see it’s now the only post being listed because it’s the only post in the blog with ID number 2.