Share Posts Across a WordPress Multisite Network

WordPress Multisite admins are often looking to share content across sites throughout the network. There’s a reason all of these sites are connected and oftentimes it is to share more than just the WordPress core and plugins. Network Shared Posts is a new WordPress multisite plugin that will enable admins to share posts via an easy-to-use shortcode. You can add the blog IDs for the sites you want to include, as well as specify the categories, tags, number of posts, thumbnail images size, and more.

There’s a full list of available shortcode attributes on the plugin’s FAQ page.

Here’s an example shortcode:

[netsposts include_blog='1,2,5' days='30' taxonomy='news' titles_only=false show_author=true thumbnail=true size='90,90' image_class='alignleft' auto_excerpt=true excerpt_length=500 show_author=true paginate=true list=5]

The Network Shared Posts plugin is excellent for multi-level networks that contain a great deal of related content. For example, you might add it to your network if you have a ‘state’ site that includes its own posts and then aggregates posts from ‘city’ level sites. So an example oklahoma.com site can collect posts from tulsa.oklahoma.com and okc.oklahoma.com for displaying on the main site, with a mix of categories and tags to create a custom display.

Download Network Shared Posts from the WordPress plugin repository to start sharing content across sites within your multisite network.

Comments (9)

  1. Can confirm, this plugin does not work.

    Warning: Missing argument 2 for wpdb::prepare(), called in public_html/blog/wp-content/plugins/network-shared-posts/network-shared-posts.php on line 118 and defined in /public_html/blog/wp-includes/wp-db.php on line 992

  2. It work for me. but there are 2 thing you need to do

    1. To get rid of the Warning: missing argument 2……..
    You have to go to your wp-config file to add this code

    ini_set( ‘display_errors’, false );
    error_reporting( 0 );

    Add it above this line /* That’s all, stop editing! Happy blogging. */

    2. You have to go to edit the plugin php file. Editing network-shared-posts/network-shared-posts.php (active)
    replace—- if($titles_only == ‘false’) with if($titles_only == false)
    false without quote

    Here is my shortcode
    [netsposts include_blog=1,7,13 days=3 titles_only=false thumbnail=true size=100,200 image_class= alignleft auto_excerpt=true excerpt_length=250 list=20 ]

    http://www.ny.thoinayonline.com

    hope this help

Participate