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

Any Posts Widget

描述

Any Posts Widget provides a light widget allow user choose any posts to display quickly, easily drag and drop ordering.

Documentation

See the FAQ tab for documentation on custom templates, hooks, common issues, and more.

More Information

屏幕截图

  • Widget options
  • Example with Twenty Sixteen theme

安装

  1. Download and extract the zip archive
  2. Upload any-posts-widget folder to /wp-content/plugins/
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add the APW: Any Posts widget to a sidebar and configure the options

常见问题

Installation Instructions
  1. Download and extract the zip archive
  2. Upload any-posts-widget folder to /wp-content/plugins/
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add the APW: Any Posts widget to a sidebar and configure the options
Filters
  • apw_posts_widget_query_args (array):
    Allows changing the posts query arguments

  • apw_list_posts_open (string):
    Allows changing the open tag of posts list.

  • apw_list_posts_close (string):
    Allows changing the close tag of posts list.

Template

Template files can be found within the templates/ directory. Copy any template file(s) to your-theme/any-posts-widget/ directory (with same structure) to override it.

评价

阅读所有1条评价

贡献者及开发者

「Any Posts Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Any Posts Widget」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Added: Remove post button.
  • Added: apw_posts_widget_query_args filter hook.
  • Improved: Auto focus on post select field when add post.
  • Fixed: Wrong posts order.

1.0.0

  • First release.