require get_template_directory() . ‘path/to-my/file.php’ BREAKS customize > themes functionality

thanks again @Rup for sparking the path to this answer! rendering out directly from the required file was at least part of the problem. i believe the other part was not rendering from inside a function as well as not hooking all of that functionality into an action in the target file. the problem vanishes … Read more

CSS properties in textarea in the Customizer

As it happens, I was literally just doing some stuff with the customizer. You can use the following class to get what you need.. WP_Customize_Code_Editor_Control I’ll include it in the control ready to go. $wp_customize->add_control( new WP_Customize_Code_Editor_Control( $wp_customize, ‘favorite_html’, array( ‘label’ => ‘Theme CSS’, ‘description’ => ”, ‘code_type’ => ‘text/css’, ‘section’ => ‘section_id’, ‘settings’ => … Read more

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