
內容簡介
此外掛新增一個簡單易用的 [rss] 短碼,並提供以下一些選項:
feed:輸入 RSS 源的 URL
num:指定要顯示的文章數量,預設為 5
template:指定 WordPress 模板來處理短碼輸出(預設為 default.php),你可以使用兩個預設模板或依照使用者指示來定製自己的模板
範例:
[lh_rss_shortcode feed=”https://shawfactor.com/feed/” num=”10″ ]
或:
[lh_rss_shortcode feed=”https://shawfactor.com/feed/” num=”5″ template=”excerpt.php”]
外掛標籤
開發者團隊
原文外掛簡介
Adds a simple to use [rss] shortcode with a couple of options:
feed: to put in the feed URL
num: to specify the number of items to show, defaults to 5
template: a wordpress template that will handle the shortcode output (defaults to default.php, you can use the two provided or follow the instructions on creating your own
Example use:
[lh_rss_shortcode feed=”https://shawfactor.com/feed/” num=”10″ ]
Or:
[lh_rss_shortcode feed=”https://shawfactor.com/feed/” num=”5″ template=”excerpt.php”]
