badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Bugs in Attitude Pro

#12381

hi Black Window,
We don’t have any issue. It your site is slow due to transient then you may change this code

function attitude_webpageicon() {	
	
	$attitude_webpageicon = '';
	if( ( !$attitude_webpageicon = get_transient( 'attitude_webpageicon' ) ) ) {
		global $attitude_theme_options_settings;
      $options = $attitude_theme_options_settings;

		if ( "0" == $options[ 'disable_webpageicon' ] ) {
			if ( !empty( $options[ 'webpageicon' ] ) ) {
				$attitude_webpageicon .= '<link rel="apple-touch-icon-precomposed" href="'.esc_url( $options[ 'webpageicon' ] ).'" />';
			}
		}
		
	set_transient( 'attitude_webpageicon', $attitude_webpageicon, 86940 );	
	}	
	echo $attitude_webpageicon ;	
}

To

function attitude_webpageicon() {	
	
	$attitude_webpageicon = '';
		global $attitude_theme_options_settings;
      $options = $attitude_theme_options_settings;

		if ( "0" == $options[ 'disable_webpageicon' ] ) {
			if ( !empty( $options[ 'webpageicon' ] ) ) {
				$attitude_webpageicon .= '<link rel="apple-touch-icon-precomposed" href="'.esc_url( $options[ 'webpageicon' ] ).'" />';
			}
		}
	}	
	echo $attitude_webpageicon ;	
}

and go to the theme folder (attitude – pro)-> library -> admin -> theme-options on line no 1919 and remove this code.
delete_transient( 'attitude_webpageicon' );

We recommended not to change the code because if you change the code then while updating to our new version all your customization code will be lost. So better make child theme and first unhook the functions and the edit the code.

http://codex.wordpress.org/Child_Themes
Hope this may help for you.

Thank you!