EZ SHORTCURL Shortcodes to Fetch and Parse External Content
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” s
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.
Updated December 16th
- 01Download and unzip the plugin into your WordPress plugins directory (usually /wp-content/plugins/ ).
- 02Activate the plugin through the ‘Plugins’ menu in your WordPress Admin.
Frequently asked questions.
Installation Instructions
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.
What does a example of the shortcode look like?
[remote_get url=”https://wordpress.org/plugins/shortcurl/stats/” start='<div class=”block-content”‘ stop=’!– block-content–‘ length=”-1″ replace=”=’/extend” with=”=’https://wordpress.org/extend” replace2=”%2Fextend%2F” with2=”http%3A%2F%2Fwordpress.org%2Fextend%2F”]