Descripció
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
Instal·lació
-
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”]
Ressenyes
Col·laboradors i desenvolupadors
«Content Fetcher» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «Content Fetcher» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.