I created this plugin that uses a shortcode to call wp_remote_get with parameters you pass to parsed and display a bit of HTML from a page on another site. You can include this shortcode in your page or post.
Here is an example of the shortcode that will display the Download Stats page for this Plugin on WordPress.org: [remote_get url="https://wordpress.org/plugins/shortcurl/stats/" start='<div class="block-content"' stop='!-- block-content--' length="-1"].
and this is what you get:
EZ SHORTCURL Shortcodes to Fetch and Parse External Content — WordPress Plugins
Use the shortcode “remote_get” with the parameter “url” to insert the content from that url into your page or post. You can also use parameters like start and stop (or end) to parse out a specific part of the content that you wish to display.
Now you can also wrap any content in the “preg_replace” shortcode to manipulate it into the desired format. Tricky stuff, but very powerful, if you know what you’re doing.
Download and unzip the plugin into your WordPress plugins directory (usually /wp-content/plugins/).
Activate the plugin through the ‘Plugins’ menu in your WordPress Admin.
What do I do after I activate the Plugin?
Use the shorcode remote_get with a url parameter on a page or post to bring in external content.