Hey guys, My blog recently came into contact with malware/spam. Part of the process of getting rid of it was getting Wordfence installed to try to isolate the problem and delete the code or the file that was corrupt. In doing so, Wordfence found a file that they had said was likely to have been hacked. I deleted the file, and boom the website theme is down. My website currently displays: Fatal error: Call to undefined function of_get_option() in theme/header.php on line 28.
The code for lines 21-30 for header.php are as follows:
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<?php if(of_get_option('favicon') != ''){ ?>
<link rel="icon" href="<?php echo of_get_option('favicon', "" ); ?>" type="image/x-icon" />
<?php } else { ?>
<link rel="icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" type="image/x-icon" />
Any suggestions to get it back to life?
Any help is more than appreciated
-Zach