Posts Tagged ‘WordPress’

Capabilities set for Custom Post Type

Sunday, June 10th, 2012

Special capabilities for custom post type

custom post type capabilities

You configured custom post type at your WordPress managed site. You did it with special plugin or manually. It works good. But what to do, if it uses standard WordPress posts permissions, e.g. ‘edit_posts’, but you need to separate access for standard and custom posts for authors and editors? Does WordPress offer a decision?
Yes. Custom post type may have custom capabilities set defined and it could be fully different from the standard post capabilities set.
What variants do you have?
1st, – use plugin which can manage not just custom post types, but custom capabilities set for those custom post types too. Good example is Custom Post Types UI WordPress plugin. I used it myself long time at my personal Russian language site FiNovel.com. Inspite of little quant of “Works” reviews at WordPress plugins repository page, I confirm – it works.

Read the rest of this entry

User Role Editor 3.6.2 is published

Wednesday, May 23rd, 2012

User Role Editor

User Role Editor


User Role Editor WordPress plugin version 3.6.2 is published at May 23rd, 2012. Hindi translation was added. Thanks to Outshine Solutions. Translations for these languages still wait updates: Finnish, Japanese, Belorussian, Brasilian Portuguese, Chinese, German, Hungarian, Polish.
Former and new translators are welcome!
[nothankyou]

Thanks You Counter Button 1.8.2 is published

Tuesday, May 22nd, 2012

Thanks You Counter Button

Thanks You Counter Button

Thanks You Counter Button WordPress plugin version 1.8.2 is published May, 22nd, 2012.
This version includes:
– CSS update for compatibility with WordPress 3.4;
– JavaScript code update: 1) Reset counter bug (IP-addresses list was not cleard properly after getting AJAX answer) was fixed. 2) More universal button HTML elements selection is used. Previous one didn’t work if buttons numeration was started for some reason not from 1.
[nothankyou]

Plugins Language Switcher 1.4 is published

Tuesday, May 22nd, 2012

Plugins Language Switcher

Plugins Language Switcher


Plugins Language Switcher WordPress plugin version 1.4 is published May, 22nd, 2012.
I extended plugin’s users base. While administrators only used this plugin earlier, any registered user with ‘edit_posts’ capability can use “Plugins language switcher” now. Starting from version 1.4, look for “Plugins language switcher” menu item under “Tools” submenu.
[nothankyou]

edit_plugins WordPress user capability

Sunday, May 6th, 2012

edit_plugins WordPress user capabilty

edit_plugins capabilty

This capability is self-explained and self-documented. It does that what it has in its name, really. If user has edit_plugins capability, he get access to the “Editor” menu item at the “Plugins” submenu of administrator back-end system menu. Of course, user should have “activate_plugins” capability too, as without such capability he could not access top level “Plugins” menu item. That is correct for single-site WordPress installation only.
For multi-site WordPress configuration:
1st, you should have super-admin privileges in order to be capable edit installed plugins files,

Read the rest of this entry

edit_files WordPress user capability

Friday, April 27th, 2012

edit_files is deprecated WordPress user capability

deprecated capability

edit_files WordPress user capability introduced into WordPress since version 2.0 is not used anymore. It is added into current WordPress database schema for backward compatibility purpose with old themes and plugins, but no one line of WordPress core code uses this capability to take real decision about user’s permissions, allow or prohibit some operation.
Thus, I classified edit_files capability as deprecated and show it at User Role Editor plugin similar way as other deprecated capabilities like ‘level_1’, ‘level_2′, etc., that is hidden by default.
To see deprecated capabilities list at User Role Editor turn on “Show deprecated capabilities’ checkbox at the top of role editor form.

Limit Comments moderation, part 2

Sunday, April 22nd, 2012

Limit comments moderation part 2

Limit comments moderation 2

We have discussed couple of tricks to limit comments moderation in this post already and know how to hide comments moderation links and commands from user. In this post we will see:
– how to show comments to the user with ‘Author’ role from his posts only;
– how to exclude unneeded views from ‘Comments’ page, left just ‘Approved’ for example.

Read the rest of this entry