HTML inside Customizer

I’ve had a look inside of the theme you’ve mentioned that does this. It seems like the code below (inside the zerif_customizer.js) file is what is making this button. jQuery(‘.preview-notice’).append(‘<a class=”zerif-upgrade-to-pro-button” href=”http://themeisle.com/themes/zerif-pro-one-page-wordpress-theme/” class=”button” target=”_blank”>{pro}</a>’.replace(‘{pro}’,zerifLiteCustomizerObject.pro)); This can be found in the themes js file. They’ve then hooked this file onto the customizer in the functions.php file … Read more

Return value of get_background_color

To add custom background support in your theme you need to register the default custom background support. Example:- add_action(‘after_setup_theme’, function(){ add_theme_support( ‘custom-background’, array( ‘default-color’ => ‘black’ //Default color )); }); Now you will see a new section Background Image in customizer and in Color you will see a new option Background color Once you will … Read more

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