该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WordPress Latest Posts by Ahsan

描述

This plugin allows you to display an unordered list of post (or custom post type) links (with title, featured image and exceprt) to a specific author (or multiple authors), category (or multiple categories) and tag (or multiple tags). It can be called either with a shortcode or from within a theme file.

To call it with a shortcode, use [latest] below are the attributes you can use with this shortcode:

* Authors:
[latest author=”username or multiple usernames separated by comma”]
* Category:
[latest category=”category name or names separated by comma”]
* Tag:
[latest tag=”tag name or names separated by comma”]
* Post Type:
[latest post_type=”post type name”]
* Show Posts:
[latest show=”number of posts to show”]
* Show Excerpt:
[latest excerpt=”true (default is false)”]
* Show Thumbnail:
[latest thumbnail=”true (default is false)”]

To call it from within a theme template, you have to wrap it in this PHP function: <?php echo do_shortcode('your shortcode goes here'); ?>

安装

  1. Upload the wordpress-latest-posts-by-ahsan folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Place [latest] in your posts or <?php echo do_shortcode([latest]); ?> in your templates

常见问题

No questions yet

Really, none so far.

评价

此插件暂无评价。

贡献者及开发者

“WordPress Latest Posts by Ahsan” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • First version, no changes yet.