Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 804 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 804 Bytes

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.