How to develop a community feature in the dashboard for multiauthor site

What I do for almost every site with multiple authors: Create a separate blog for meta discussions, for example meta.example.com. Use P2 as theme. Install Authenticator to allow access for members only. Install something like Inform about Content, so the members get an email whenever something new was posted. I probably wouldn’t do that for … Read more

What is the correct way to check if WP_Filesystem can write to a directory without aking for username / password?

This is what i ended up using /** * check if the path is writable. To make the check . * * @param string $path * @return boolean */ public static function is_writable( $path ) { global $wp_filesystem; include_once ABSPATH . ‘wp-admin/includes/file.php’; // If for some reason the include doesn’t work as expected just return … Read more

Restrict access and display for categories

Yes :). The following will effect all queries for posts on the front-end including ‘secondary loops’ (e.g. post lists on the side) but it won’t effect custom post types. So this may not be exactly what you’re after, but the principle is the same: add_action(‘pre_get_posts’,’wpse72569_maybe_filter_out_category’); function wpse72569_maybe_filter_out_category( $query ){ //Don’t touch the admin if( is_admin() … Read more