Allow Author role to publish one post type and not another

When the post type is registered, http://codex.wordpress.org/Function_Reference/register_post_type one can specify custom ‘capabilities’. eg I have an events post type, with event as a base for the capabilities, so automatically, there is a matching set like the page/post capabilties. Then one can use justin tadlock’s members plugin to assign capabilities to roles. Assign ‘create’ but not … Read more

Allow authors to post only in categories they create in WordPress

This little plugin shows the user role ‘author’ only its own categories & posts. So you can edit it for your own post-type and taxonomy. /* Plugin Name: Show own categories Description: This plugin shows the user role ‘author’ only its own categories & posts Version: 0.1 Author: Soren Wrede License: GPL2 License URI: https://www.gnu.org/licenses/gpl-2.0.html … Read more

Plugins won’t auto-update on IIS

I had the same problem. When auto-updating, certain files would get “locked” somehow stopping the rest of the update process. Are you using Windows cache extension for PHP by any chance? Read the following post: http://ruslany.net/2011/04/wincache-and-wordpress-plugin-upgrade-problem/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)