New folder and file permissions are not correct
Adding these two lines to the wp-config.php file solved the problem: define(‘FS_CHMOD_FILE’, 0644); define(‘FS_CHMOD_DIR’, 0755);
Adding these two lines to the wp-config.php file solved the problem: define(‘FS_CHMOD_FILE’, 0644); define(‘FS_CHMOD_DIR’, 0755);
Although not a question for this place (perhaps try over at StackOverflow https://stackoverflow.com/ ), you could try checking the referring page (although that can be spoofed) setting a cookie on WP and looking for it on the other site (although the 2nd site may not be able to read the first site’s cookie). (added) Domain … Read more
try this: <?php //first check if its the category in question if ($cat == ‘1’) { //then if the user is logged in show the content if (is_user_logged_in()){ the_content(); }else{ //if not show the excerpt the_excerpt(); } }else{ // and if its not the category show the content the_content(); } ?> Update Judging by your … Read more
When you say developer, I immediately assume you mean someone trying to add content to the site? There is a WordPress app that you can add your site to, and add Posts, pages, view stats, etc.
WP doesn’t have a built-in way to restrict permissions this granularly. You can either install plugins, or not. For settings, it depends on where the plugin surfaces its settings. For example, if the settings are under the “Settings” menu, then by default only users with role “administrator” will be able to access and adjust them. … Read more
give my plugin a try User Specific Content
I decided against the idea. Answered my question for clarity.
Before the start of your loop on single.php, add this code to check the current post against the fifth most recent post date. If the current post is more recent than fifth, show the post, and if older, show a message that has to do with being loggedin/a member. global $post; $tmp_post = $post; // … Read more
I actually have a plugin that does just that, it adds a category dropdown to the user profile edit: Only user who can manage_options (admin) can see that field. and once the user is logged in to post he sees this: Update Its now in the plugin repository http://wordpress.org/extend/plugins/author-category/ enjoy.
thank you guys I went thru many forums and other details of the post where i came to conclution to create a simple plugin and will work as below the algo is divided in different sections signup when user x is getting registered there will be a category that is created in the name as … Read more