July 23, 2014 at 6:03 am
#12381
Theme Horse Support Team
Keymaster
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!