Archive for April, 2013

Mode rewrite, quick fix | No Comments | April 26th, 2013

open .htaccess file and paste this code on top.

<FilesMatch “.*\.(htm|html|php)$”>
SetHandler application/x-httpd-php5
</FilesMatch>

wordpress | No Comments | April 22nd, 2013

Add this code to Functions.php file in theme folder.

$subRole = get_role( ’subscriber’ );
$subRole->add_cap( ’read_private_posts’ );
$subRole->add_cap( ’read_private_pages’ );

 

and make post or page in Private mode.