No customizer field to set internal link for jumbotron buttons
-
Thank you for such a beautiful theme!
I am trying to set the jumbotron buttons to use internal links but there is no field to do this in the customizer. I have only “Button 1 – Text”, “Button 1 – External URL” and “Button 2 – Text”, “Button 2 – External URL”.
Examining panel-jumbotron.php, I see there is also supposed to be an option “Button 1 – Internal Link”/”Button 2 – Internal Link”, but there’s just blank space there in the Customizer panel and customizer.js simply shows:
// Jumbotron Button 1 Text wp.customize( 'relia_jumbotron_button_1_text', function( value ) { value.bind( function( to ) { $( 'div.big-hero-buttons a:first-child button' ).text( to ); } ); } ); // Jumbotron Button 1 External URL wp.customize( 'relia_jumbotron_button_1_url', function( value ) { value.bind( function( to ) { $( 'div.big-hero-buttons a:first-child' ).attr( 'href', to ); } ); } ); // Jumbotron Button 2 Text wp.customize( 'relia_jumbotron_button_2_text', function( value ) { value.bind( function( to ) { $( 'div.big-hero-buttons a:last-child button' ).text( to ); } ); } ); // Jumbotron Button 2 External URL wp.customize( 'relia_jumbotron_button_2_url', function( value ) { value.bind( function( to ) { $( 'div.big-hero-buttons a:last-child' ).attr( 'href', to ); } ); } );
How can I fix this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘No customizer field to set internal link for jumbotron buttons’ is closed to new replies.