このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

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” shortcode to manipulate it into the desired format. Tricky stuff, but very powerful, if you know what you’re doing.

Updated December 16th

インストール

  1. Download and unzip the plugin into your WordPress plugins directory (usually /wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ menu in your WordPress Admin.

FAQ

Installation Instructions
  1. Download and unzip the plugin into your WordPress plugins directory (usually /wp-content/plugins/).
  2. 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”]

評価

2022年10月29日
for higher than php7.2 you need to change le last line of /wp-content/plugins/shortcurl/index.php old: add_action('widgets_init', create_function('', 'return register_widget("SHORTCURL_Widget_Class");')); new: add_action('widgets_init', function(){return register_widget("SHORTCURL_Widget_Class");});
2019年4月21日
This is a BRILLIANT plugin! It does exactly what it promises with no muss no fuss! THANK YOU for this gem!
5件のレビューをすべて表示

貢献者と開発者

EZ SHORTCURL Shortcodes to Fetch and Parse External Content はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“EZ SHORTCURL Shortcodes to Fetch and Parse External Content” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

3.17.49

  • Fixed more Undefined index Notices.

3.17.29

  • Fixed multiple Undefined index Notices.

3.16.29

  • Added a Shortcode Widget with pop-out position options.

3.14.34

  • Replaced the SESSION code with the use of GLOBALS for broader compatibilty.

3.14.53

  • Fixed the “with” parameter in to remote_get function to accempt empty string.
  • Decoded HTML Entities in the URL parameter to improve the handling of GET variables in the URL String.
  • Improved the error messages by adding what URL triggered the error.

3.04.26

  • Added a shortcode for str_replace simple string manipulation.
  • Added support for arrays in preg_replace shortcode.
  • Added an alternate shortcode for running preg_replace on another shortcode vs. on the results of another shortcode.

1.3.03.25

  • Added a shortcode for preg_replace to further manipulate content.

1.3.03.15

  • Fixed error handling on line 71 to report the whole curl error on the admin pages.

1.2.12.06

  • Fixed call to plugin_row_meta.

1.2.12.05

  • Added 24 hour caching to speed up page loads.
  • Added admin_notices if fatching or parsing produces any errors.

1.2.12.01

  • First versions uploaded to WordPress.