Skip to content

Extends Display Posts to show posts from other sites in a multisite network.

Notifications You must be signed in to change notification settings

johnpennypacker/display-posts-multisite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Display Posts Multisite

Extends Display Posts to display posts from other sites in a WordPress multisite network. All you do is change the shortcode itself to display-posts-multisite add a blog_id parameter to the shortcode with an integer that matches the blog id of the site you want to display posts from. That's it. Most other things work exactly the same as Display Posts.

What do you mean by "most things work exactly the same?"

  • Taxonomy queries don't work unless the same taxonomy is registered in both sites.

Example

[display-posts-multisite category="news" posts_per_page="5" blog_id="42" no_posts_message="No news is good news."]

Requirements

The Display Posts plugin must be installed and active in order for this plugin to extend it.

About

Extends Display Posts to show posts from other sites in a multisite network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages