Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Skupe Social button #53428
    Fuchur
    Member

    Found it

    in /inc/customizer-includes/catchbase-customizer-social-icons.php

    Changed the following:

    	if( $option == 'Email' ){
    			$wp_customize->add_setting( 'catchbase_theme_options['. $lower_case_option .'_link]', array(
    					'capability'		=> 'edit_theme_options',
    					'sanitize_callback' => 'sanitize_email',
    				) );
    		}
    		else if( $option == 'Skype' ){
    			$wp_customize->add_setting( 'catchbase_theme_options['. $lower_case_option .'_link]', array(
    					'capability'		=> 'edit_theme_options',
    				) );
    		}
    		else {
    			$wp_customize->add_setting( 'catchbase_theme_options['. $lower_case_option .'_link]', array(
    					'capability'		=> 'edit_theme_options',
    					'sanitize_callback' => 'esc_url_raw',
    				) );
    in reply to: Skupe Social button #53427
    Fuchur
    Member

    Aha, the joys of caching where you dont expect it 😉

    However still one minor issue is that my code now generates:
    skype:http://username?call

    Quick hint where i should eliminate the http?

    Great to hear it will be part of an update!

    Thanks Frank

Viewing 2 posts - 1 through 2 (of 2 total)