how to change background color of my all post

Add this code to your themes functions.php function post_color_get_meta( $value ) { global $post; $field = get_post_meta( $post->ID, $value, true ); if ( ! empty( $field ) ) { return is_array( $field ) ? stripslashes_deep( $field ) : stripslashes( wp_kses_decode_entities( $field ) ); } else { return false; } } function post_color_add_meta_box() { add_meta_box( ‘post_color-post-color’, … Read more

background changed after WordPress update

What version did you update to? The following has only been tested in 4.7.3 (and I never use custom backgrounds in the customizer, so I’m not sure what previous version of WP did there). In the customizer, when you set the custom background image, there should be an “Image Size” dropdown. You probably have “Original … Read more

How to Disable Color Options?

In TwentyTen’s functions.php the custom background is added in twentyten_setup() which is called on the action ‘after_setup_theme’. So, in your child theme, the following should remove the option completely: // Higher priority to work after TwentyTen add_action( ‘after_setup_theme’, ‘wpse12934_remove_custom_background’, 20 ); function wpse12934_remove_custom_background() { remove_custom_background(); }