该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

GetContentFromURL

描述

Loads content from other url by using a shortcode. Full content or special container by using XPath.

Examples:

  • Displays the whole content from a page.

    [gcfu url=”https://daschmi.de”]

  • Displays the featured article from wikipedia.

    [gcfu url=”https://de.wikipedia.org/wiki/Wikipedia:Hauptseite” xpath=”%2F%2F%2A%5B%40id%3D%22mf-tfa%22%5D”]

The XPath argument must be url encoded. You can use this tool.

屏幕截图

  • Grab the URL of the target page.

  • get the XPath of the target container. (for example with the chrome dev tools)

  • encode the XPath with urlencode.

  • build and use the shortcut.

安装

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the ‘[gcfu]’ shortcode on your pages

常见问题

Installation Instructions
  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the ‘[gcfu]’ shortcode on your pages

评价

此插件暂无评价。

贡献者及开发者

“GetContentFromURL” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“GetContentFromURL”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release