Why my first new WP_Customize_Image_Control doesn’t work

The second argument for WP_Customize_Image_Control is the ID of the control. You’ve given the same id to both image controls, ‘Agmor Bootstrap’. Give them unique IDs and both should appear. Using the name of the setting is a simple option: new WP_Customize_Image_Control($wp_customize, ‘header_logo’, array( new WP_Customize_Image_Control($wp_customize, ‘header_background’, array(

Location of customizer Menu panel core code

The logic to dynamically add new sections is pretty straightforward with the JS API (and will be even more so in the upcoming 4.9 release). For dynamically adding new nav menu sections, see the relevant logic in wp.customize.Menus.NewMenuControl.prototype.submit. Another example you can refer to is in the Customize Posts plugin which adds sections dynamically for … Read more

How to implement Selective Refresh within posts?

Yes, it is possible. In fact, look at the Customize Posts plugin where selective refresh of partials for title, content, excerpt, featured image, etc is implemented. You’ll note that it depends on the settings for posts being registered dynamically along with the partials for each post. The setting ID must be variable and contain a … Read more

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