Publish author posts only with editor approval?

Add the following code to your functions.php: function allow_contributor_uploads() { $contributor = get_role(‘contributor’); $contributor->add_cap(‘upload_files’); } if ( current_user_can(‘contributor’) && !current_user_can(‘upload_files’) ) { add_action(‘admin_init’, ‘allow_contributor_uploads’); } This will add the upload_files capability to the Contributor role. It only needs to run once; just login to admin as a user with the Contributor role. After it successfully … Read more

Plugins not showing in dashboard->plugins section

Download the plugin as a zip, extract and manually upload the folder that immediately parents all the .php files (i.e not a folder that has another folder as its child) into you plugin folder. Sometimes dev’s can zip things within an extra folder, which confuses wordpress.

Removing the “Your backup folder MIGHT be visible to the public” Message Generated by the WP-DBManager Plugin

gear-solid**: Looking in the Source Code… Here’s the function from WP-DBManager Plugin that generates that error: function dbmanager_admin_notices() { $backup_options = get_option(‘dbmanager_options’); if(!@file_exists($backup_options[‘path’].’/.htaccess’)) { echo ‘<div class=”error” style=”text-align: center;”><p style=”color: red; font-size: 14px; font-weight: bold;”>’.__(‘Your backup folder MIGHT be visible to the public’, ‘wp-postratings’).'</p><p>’.sprintf(__(‘To correct this issue, move the <strong>.htaccess</strong> file from <strong>wp-content/plugins/wp-dbmanager</strong> to <strong>%s</strong>’, … Read more

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