• Joseph Dickson

    (@josephdickson)


    Hi everyone,

    I’d like to display a post from my parent site on all sites on the network.

    Blog 1 ( contains the post) – displays the post

    |- Blog 2
    |- displays the post

    |- Blog 3
    |- displays the post

    Normally I’d use WP_Query, but that can’t grab from another site.

    For instance if I run this on the site which owns the post it will work

    $args = array(
    	'post_type' => 'post',
    	'orderby' => 'date',
    	'order'   => 'DESC',
    	'category' => 8,
    	'blog_id' => 1,
    );

    If I drop it on blog 2 or 3 it will not.

    Does anyone know how to loop posts dynamically by category?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Share posts from parent to subsites (Solved)’ is closed to new replies.