manifest / integrations / tmp-remote-content
The Museum Platform Remote Content shortcode
Plugin for installation on any WordPress site to display content from The Museum Platform
by Jeremy Ottevanger / The Museum Platform · github.com/the-museum-platform/tmp-remote-content · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/the-museum-platform/tmp-remote-content/archive/refs/heads/main.zipFrom the readme
The Museum Platform Remote Content Shortcode Plugin
Description
This plugin provides functionality to pull in WordPress content from one site into another WordPress site (or indeed the same one) using a simple shortcode. You can use the Gutenberg shortcode block to do the job, if you use Gutenberg, or write it by hand. We like it best if it's pulling in TMP content but hey, whatever works for you!
NOTE: If you need to grab arbitrary content from other sources i.e. not from a WordPress REST endpoint, this isn't the plugin for you. Instead look at something like Remote Content Shortcode (http://www.doublesharp.com)
Configuring the plugin
The plugin has two configuration options, set via the settings page at:
https:///wp-admin/options-general.php?page=tmpcontent
Default REST route
This is where shortcodes will get their data from. It will be something like:
https:///wp-json/wp/v2/pages/
You might use the /posts/ route instead, or indeed some other content type; this is just the default after all.
If the default REST route is not set you will need to provide one in each shortcode
Default template
This is the default way in which you wish to render shortcodes. If left unset