
RSS shortcode w/template
v0.1shprung · 2016年1月6日 上架
lets you embed rss feed in any WordPress content (e.g., pages, posts, custom post types) using Shortcode.
- 正在使用
- 10+
- 评分
- 2.5 / 5
- 累计下载
- 2,445
- 最近更新
- 2016年1月6日
2 条评价需要 WordPress 3.0.1+已测试到 4.4.34
贡献者
Less than 40 lines of php code so it will not slow your site and if all you
need is to add an rss feed, give it a try.
You can even setup the output template – something many other plugin don’t
offer.
A brief Markdown Example
short code examples:
[rss url="http://www.usacycling.org/rss/headlines.rss"]
[rss url="http://www.usacycling.org/rss/headlines.rss" no="20" target="_self"]
You can change the template used via wp-admin/options.php , look for
'rss_shortcode_template'
Template fields documentation:
_TITLE_ : the rss feed title line
_LINK_ : the link to the complete store, aka permalink
_MSG_ : the short message/description; the first few
lines of the post/story
_DATE_ : post date & time
_TARGET_ : the link target