[resolved] Get specific pages from others sites in network (3 posts)

  1. dannib
    Posted 1 year ago #

    I currently have a multisite setup with different editors for each site. Now I want to allow editors to display the content of pages from other sites in the network embedded on their own page and in their own theme. The editors of the contents original site should still be the only one able to edit the content.

    I have searched but not really found anything yet that solves this easily.

    My idea so far is to create a plugin and shortcode where the editor must know the site id and page id of the page to be included and then use a shortcode like:

    [get_page site=1 page=123]

    The psuedo php shortcode could be something like:
    switch to site 'site'
    print page with id 123
    reset site

    Does any plugin exists that achieves the same goal? Maybe without the requirement of the editor to have to know numeric values. Does my idea otherwise seems sound?

  2. dannib
    Posted 1 year ago #

    Thank you very much. It did exact what I wanted.

Topic Closed

This topic has been closed to new replies.

About this Topic