Twenty Eleven theme, how to change style to a specific “format”

Targeting the whole page First, ensure that you’re calling body_class() inside of the HTML <body> tag: <body <?php body_class(); ?> Then, you can take advantage of the post format-specific classes output by body_class() to style according to your needs. Single blog posts use the class single-post-format-{format} body.single-format-aside {} Archive index pages for a post format … Read more

Can’t Auto-Update, but permissions are good?

If you’re pretty sure about that the file owner of wordpress folder is as same as that one who runs apache. (use ps aux|grep ‘httpd’ or ps aux|grep ‘apache’) Here is a lousy solution for you: function force_use_direct_fs($method,$args){ if($method != ‘direct’) $method = ‘direct’; return $method; } add_filter(‘filesystem_method’,’force_use_direct_fs’,10,2); Why Would WordPress Request FTP Credentials wp-admin/includes/file.php … Read more

User registration add user ID?

You can’t add the ID at registration because there is no ID until after the user has registered. (See a possible way around this near the bottom). You could tack on the ID after the registration with the user_register hook. function add_ID_wpse_99390($a) { global $wpdb; $user = new WP_User($a); $wpdb->query(“UPDATE {$wpdb->users} SET user_login = CONCAT(user_login,’_’,ID) … Read more

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