Tag Info

New answers tagged

0

I am not confident your guess at "being included instead" is accurate. The inclusion of core file is hardcoded in wp-settings.php pretty hard, it would be extremely challenging to subvert under normal circumstances. I have trouble imaging scenario in which functions.php of the theme will be loaded, but add_action() will be unavailable. This simply shouldn't ...


1

This is right. You can use Wordpress in exactly the same way as you were using your OLD CMS. Wordpress is being used by Top newspapers / magazines and websites and they've editors / authors and bloggers and ofcourse they have groups & roles. CNN, Mashabale, TechCrunch, etc are all based on Wordpress. There are Free and Premium both type of plugins to ...


0

I've had this problem because I host a few Wordpress sites on a few servers. Apache should own everything because Wordpress creates folders and files as it runs. If you want the user to make changes to Wordpress files then add the user to the group apache and change the permissions to 775.


0

Just because I added the question here, I found it ... So ... easy... so irritating... but I hope this answer will help anyone else with this issue quicker! changed 'hierarchical' => true to 'hierarchical' => false for the custom post type!


1

This is treading very close to being off-topic as it asks specifically about a particular plugin, but the answer is quite generic: You can remove the capabilities you don't need. function remove_cap_wpse_186316(){ remove_cap( 'yourwoorole', 'yourwoocap' ); remove_cap( 'yourwoorole', 'yourwoocap1' ); } add_action( 'admin_init', ...


0

The fellow above was correct, however the string MUST be above: require_once(ABSPATH . 'wp-settings.php'); This is located within wp-config.php :)


0

You need to forward the http:// to https:// to avoid infinite loop. if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';


0

First, choose one wordpress role your writer'll have : author, contributor, editor... or a custom role. then customize your chosen role with capacities in your functions.php theme file : if ( ! function_exists( 'writer_set_roles' ) ): function writer_set_roles() { global $wp_roles; // post / page editing ...


0

Ok, As it's front-end... I might: Set up the folder on the server so that WordPress can read/write (775 or 755 ordinarily works depending on how your server is configured in terms of user/group permissions). Allow a user on the front end to see the files or choose which file to delete Upon choosing the file, pass the parameter to an intermediary PHP ...



Top 50 recent answers are included