• 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)
  • Thread Starter Hungrynow

    (@hungrynow)

    Now the fields are there but only posts are shown in the dropdown, not pages. Perhaps they were hidden until I had made a post? I wanted both buttons to link to internal pages so I have just put the full URL of the pages in the External URL field.

    Having the same issue: pages aren’t being shown in the dropdown menu to select where to button links to.

    [BUMP]

    Theme Author smartcat

    (@smartcat)

    thanks for posting,

    adding this to the issues list so we can investigate and fix.
    https://github.com/smartcatdev/relia-free/issues/9

    best regards

    I have the same issue only able to link to the blog post topic, which once selected I am unable to remove, the link is now permanently set to the blog post topic.

    Additionally when entering an external URL – works fine until you come out of the customise function, the URL seems to disappear and reverts back to the blog post topic.

    Can you please let me know how I can get around the problem.

    Great theme though – can’t wait until you fix the issue

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.