Oops, it seems that I accidentaly used the wrong tag, I used href instead of src. Simple fix:
/** Footer logo */
wp.customize( 'mytheme_footer_logo', function( value ) {
value.bind( function( to ) {
var footer = $( '.footerlogo img' );
footer.attr( 'src', to );
} );
} );
Related Posts:
- theme path in javascript file
- Add a dropdown to theme customizer
- Why doesn’t default WordPress page view use force_balance_tags?
- Theme Customizer : how to create multiple-level panel
- Allow Shortcode in Theme Customizer
- Editing the custom background CSS
- Is the theme customizer slowing down my site?
- Trigger Customizer saving process with Javascript only
- How do I make my wordpress page more friendly for mobile viewers?
- How do I get a parent theme modification from a child theme?
- Changing the entire control choices using wp.customize with JavaScript
- How to Change CSS Variable value in Theme Customizer Live Preview
- “Display Site Title and Tagline” checkbox not working?
- How to set page template on front using starter content?
- WordPress Customizer Control with React
- How to configure wordpress to work with Vuejs with SSR and without hashbang
- How to hook CSS file according to theme selection in the customizer section
- How i can get widgets areas working in customizer?
- How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?
- Where is definied the theme location for the main menu in a WordPress template?
- How to correctly add JQuery in a WP theme?
- using wordpress without javascript
- How to disable automatic colors in the Twenty Twenty theme?
- WordPress not registering Theme Customization Section
- WP_Customize_Color_Control omitting # symbol
- get_option in header.php not returning value from customizer
- Internal error 500 accessing Theme > Customize
- Edit footer via customizer
- Folder name for a pro version of a WordPress.org theme?
- Theme Javascript.php Overwritten Nightly [closed]
- Customizer: save setting/control content to post/page
- Is accessing theme and using customizer GPL distribution?
- How to enqueue javascript for WP Customize options sidebar?
- Theme Customizer not loading JS for live preview
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- Theme Customizer not displaying saved values in wp_head (CSS)
- Random white space before doctype
- How can I wrap all blog posts image with
- How to set Post meta-box defaults based on the choices made by user in Customizer?
- Alignment Problem [closed]
- Customizer: get_preview_url() inside customize_save_after hook
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- Some doubts about WordPress handle the horizontal main menu visualization
- Let user to upload multiple time
- How to copy page/post from one theme to another?
- How to change listing type permlink?
- Customizer API Multi Sections in single Panel
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- How do I remove header/page-title image in farvis theme? [closed]
- How to show some of category in wordpress
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Customizer Image-Picker Preview Not Working
- Correct was to customise theme using get_theme_mod in scripts
- Using Customizer value in an external PHP file inside a theme
- Flexslider not working for my custom theme WordPress
- “No Data Received” error in Chrome every time i try to update the theme functions file
- Why the slideshow is not shown in my theme?
- Standard Way To Do Custom Work Within A Page?
- Using wp_enqueue_script with social media buttons?
- How to convert that page to a wordpress template? [closed]
- What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]
- How to make a multilingual wordpress site to be translated one-to-one without much effort and without using translate?
- How to show associated fields if checkbox is checked in customize widget screen using wp_customize?
- Dynamic nav menu with icons [closed]
- WP Customizer get control value on change
- Execute javscript when theme customizer loads (autosave issue)
- How do I remove a pre-existing customizer setting?
- The the_post_thumbnail without srcset?
- after_setup_theme always runs
- What WP folder can I use to write files to?
- Why I can’t add a CSS style in this WordPress theme?
- new theme permissions don’t allow me to edit
- How to get custom image size for image uploaded in Customizer
- wordpress custom theme import and export options for sample data [closed]
- Some translations do not work in my template class
- qTranslate with my own theme and settings
- How can my theme allow users to take advantage of advanced html tags in posts
- how to get the post attachement image in full size?
- Custom theme: How to call archive-post.php for viewing blog posts
- How to transfer one domain to another domain without losing theme options (customizer)?
- Thesis -style Navigation
- How to allow certain PHP functions when using sanitize_callback in the word press customizer
- White screen when attaching css to function.php
- How to allow users to create their own website within my domain? [closed]
- Avada Child Theme Development
- Create theme for mobile phones and tablets only?
- How to create a WP theme that use BootStrap? [closed]
- Theme Checker Text Domain
- Why front-page.php doesn’t show content of file instead shows loop
- Why does wp_customizer default values do not apply when theme is installed for the first time?
- Ajax Comment Upvotes – Votes don’t always register
- How Do I Create a WordPress Demo Site with Limited Admin Access
- Are paginated comments required for publishing Themes?
- How can I fix my theme header for my CSS stylesheet?
- Custom theme vs theme customization?
- WordPress Customizer Help with FontAwesome Icon
- php file child theme directory not overriding parent theme php file [duplicate]
- can’t add EVENT LISTENER to a element
- How to create an Info Box on WordPress [closed]