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.

v0.2.0 2024-08-09 14:44 UTC

This package is auto-updated.

Last update: 2024-11-09 15:25:59 UTC


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.