Accedi via pannello di controllo o FTP al file theme-modules.php che si trova nella cartella wp-content/themes/itheme2/ e cambia questo codice:
Codice PHP:
/**
* Footer Text Left Function
* @return string
*/
function themify_footer_text_left(){
$data = themify_get_data();
return '<p><textarea class="widthfull" rows="4" name="setting-footer_text_left">'.$data['setting-footer_text_left'].'</textarea></p>';
}
/**
* Footer Text Right Function
* @param array $data
* @return string
*/
function themify_footer_text_right(){
$data = themify_get_data();
return '<p><textarea class="widthfull" rows="4" name="setting-footer_text_right">'.$data['setting-footer_text_right'].'</textarea></p>';
}
Con questo:
Codice PHP:
if(!function_exists('themify_footer_text_left')){
/**
* Footer Text Left Function
* @return string
*/
function themify_footer_text_left(){
$data = themify_get_data();
return '<p><textarea class="widthfull" rows="4" name="setting-footer_text_left">'.$data['setting-footer_text_left'].'</textarea></p>';
}
}
if(!function_exists('themify_footer_text_right')){
/**
* Footer Text Right Function
* @param array $data
* @return string
*/
function themify_footer_text_right(){
$data = themify_get_data();
return '<p><textarea class="widthfull" rows="4" name="setting-footer_text_right">'.$data['setting-footer_text_right'].'</textarea></p>';
}
}
Questo codice si trova intorno alla riga 95.