
內容簡介
這個外掛可以讓用戶從任何網站獲取內容並使用簡單的短代碼顯示數據。這裡有一個演示。
簡碼示例[get_content_from url=’https://shaplakanon.com/wpsupport/content-fetcher/’ with=’.entry-title’]
Reddit最好的網絡寄存
特點:
簡單的短代碼
外掛標籤
開發者團隊
原文外掛簡介
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.
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 Maintenance Services.
Features:
simple shortcode
