Linux 软件免费装
Banner图

Shortcode Directives

开发者 Michael Uno
miunosoft
更新时间 2020年1月9日 17:00
捐献地址: 去捐款
PHP版本: 5.2.4 及以上
WordPress版本: 5.3.2
版权: GPLv2 or later
版权网址: 版权信息

标签

posts shortcodes comments shortcode tool tools command commands directive directives

下载

1.0.0

详情介绍:

Quickly manage posts/comments in front-end with command-like-shortcodes Say, you find a comment that should be hidden or deleted on your site. Usually, you click on the Edit link of the comment and manage it back-end. What if you could delete/hide it by commenting on it? This plugin lets you manage posts and comments with command-like-shortcodes. In this case, you reply to the comment you want to hide by typing [$comment hold]. Bulk actions on certain posts/comments If you want to bulk-delte comments that belong to a certain post, comment on the post by typing [$comment delete]. If you have a hierarchical post type and want to add the same tag to all direct children of a certain post plus the post itself, then comment on the post by typing [$tag mytag --to="siblings,self"]. Like this, a bit complex operations can be achived with the shortcode directives. Getting Started To experience what this plugin does, follow these steps. 1. After activating the plugin, pick a test post which has been published already. 2. Go to the page of the post in front-end. 3. Submit a comment to the post with the shortcode [$post_status private]. Now it should be hidden for normal site visitors.
  1. To revert the change, submit a comment to the post with the shortcode [$post_status publish].
It should be visible to normal site visitors. By default, the plugin enables the features for the buil-in post and page post types. If you like to support different post types, go to Dashboard -> Tools -> Shortcode Directives. There, you can pick which post types to have the ability of shortcode directives. For usage details, please see the Other Notes seciton. You should have grapsed the idea of how this plugin works by now. Hope you find it useful! Supported Languages

安装:

  1. Upload shortcode-directives.php and other files compressed in the zip folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Dashboard -> Tools -> Shortcode Directives.
  4. Configure the options by enabling post types to support.

屏幕截图:

  • **Some Image**
  • **Another Image**

更新日志:

1.0.0