开发者 | soundwaves-productions |
---|---|
更新时间 | 2015年10月27日 18:33 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 4.3.1 |
feed
parameterpagesize
parameterpagenum
parametershowall
parameter (set to no
)linktitle
parameter to yes
or no
target
parameter to _blank
or _self
(default)itemelements
parameter (default: itemelements="title,author,date,description")fetch-feed-shortcode-pageable
directory to the /wp-content/plugins/
directoryPlugins
menu in WordPressUse shortcode: e.g.: [FetchFeedPageable feed="http://www.rottentomatoes.com/syndication/rss/in_theaters.xml" pagesize=5 pagenum=5 linktitle="yes" target="_blank" itemelements="title,date,author,description" ]
Yes! just set the pagesize
parameter of the shortcode
e.g.:
[FetchFeedPageable feed="http://www.rottentomatoes.com/syndication/rss/in_theaters.xml" pagesize=5 pagenum=5 linktitle="yes" target="_blank" itemelements="title,date,author,description" ]
Yes! just set the pagenum
parameter of the shortcode
e.g.:
[FetchFeedPageable feed="http://www.rottentomatoes.com/syndication/rss/in_theaters.xml" pagesize=5 pagenum=5 linktitle="yes" target="_blank" itemelements="title,date,author,description" ]
Yes! set the showall
parameter to no
and the num
parameter to a desired number
e.g.:
[FetchFeedPageable feed="http://www.rottentomatoes.com/syndication/rss/in_theaters.xml" pagesize=5 num=5 showall=no itemelements="title,date,author,description" ]
Yes! set the itemelements
parameter of the shortcode
Four values are available: title,date,author,description
e.g.:
[FetchFeedPageable feed="http://www.rottentomatoes.com/syndication/rss/in_theaters.xml" pagesize=5 pagenum=5 linktitle="yes" target="_blank" itemelements="title,description" ]
Yes! just have a look at the included css file:
fetch-feed-shortcode-pageable/css/style.css