开发者 |
Michael Uno
miunosoft |
---|---|
更新时间 | 2020年1月9日 17:00 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 5.3.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[$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.
[$post_status publish]
.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
shortcode-directives.php
and other files compressed in the zip folder to the /wp-content/plugins/
directory.