uriweb / uri-display-posts-multisite
Extends Display Posts to display posts from other sites in a WordPress multisite network. Forked from johnpennypacker/display-posts-multisite.
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Type:wordpress-plugin
Requires
- php: >=7.4
README
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.