Description
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!
Features:
- simple shortcode
Installation
-
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»]
Reviews
Contributors & Developers
“Content Fetcher” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Content Fetcher” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.