Описание
This plugin allows users to fetch content from any website and display it effortlessly on their WordPress site using a simple shortcode. It’s perfect for adding external information, like news headlines, product details, or informative snippets, directly into posts or pages. Here is a demo
Sample Shortcode:
To fetch content from a Wikipedia page and display the infobox about Earth, use the following shortcode:
Sample shortcode [get_content_from url=’https://en.wikipedia.org/wiki/Earth’ with=’.infobox’]
Shortcode Attributes:
url: The URL of the website from which you want to fetch content.
with: A CSS selector that specifies which elements to fetch from the provided URL (e.g., .infobox for Wikipedia infoboxes).
limit (optional): Limits the number of elements fetched and displayed. For example, limit=»3″ will show only the first three matching elements.
How It Works: After activating the plugin, simply use the [get_content_from] shortcode with your desired parameters. The plugin will automatically replace all URLs in images and links with absolute URLs to ensure they load correctly from the source website.
This plugin is plug-and-play, requiring no additional setup—just add the shortcode to your content, and you’re ready to go!
If you need to customize this plugin, you can checkout our WordPress Support Service.
Features:
- simple shortcode
Установка
-
Download the plugin
-
upload to plugin directory
-
activate from dashboard
-
There is no settings
-
Just insert this shortcode to your post,page or in widget [get_content_from url=»http://domain.com» with=»id_or_class»]
Отзывы
Участники и разработчики
«Content Fetcher» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Content Fetcher» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.