开发者 |
hissy
yuka2py |
---|---|
更新时间 | 2013年7月28日 10:40 |
捐献地址: | 去捐款 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 3.5.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wponw::render_post_archive_to_string
.
Use your template file, includes 3 post types
[wponw_recent_post_list numberposts=8 post_type=products,promotions,information template=TemplateFileNameInYourTheme]
NOTICE: DON'T include the file extension in TemplateFileNameInYourTheme.
If you want to use your own rendering function.
[wponw_recent_post_list numberposts=5 post_type=products renderer=YourRenderFunction]
To create an archive page with a page.
You create the new page, and write the below shortcode in the post content.
[wponw_recent_post_list post_type=post exclude_blog_ids=1 affect_wp_query=true]
wp_orver_network
to the /wp-content/plugins/
directorywponw_reset_query
and wponw_post_list
.wponw_recent_post_list
. Please use the wponw_post_list
instead.