Use the shortcodes remote_get and preg_replace to fetch external content and parse it to use on your page or post.
Use the shorcode remote_get with a url parameter on a page or post to bring in external content.
[remote_get url="https://wordpress.org/plugins/shortcurl/stats/" start='<div class="block-content"' stop='!-- block-content--' length="-1" replace="='/extend" with="='http://wordpress.org/extend" replace2="%2Fextend%2F" with2="http%3A%2F%2Fwordpress.org%2Fextend%2F"]
Requires: 2.7 or higher
Compatible up to: 4.3.3
Last Updated: 6 months ago
Active Installs: 500+
0 of 2 support threads in the last two months have been marked resolved.
Got something to say? Need help?