WordPress site not working
-
I have broken my website to the point that I can’t even get into the Dashboard of my site. https://www.lisakellyonline.com
Nothing is happening and I don’t know where to go to fix it. I have a backup for my site from yesterday luckily but I’m confused on how I can upload it since I can’t even get in there. From instructions to fix a plug in I added a code into the PHP functions file in my themes code area. This is what it said:?Posted 2 years ago #???Here is the code that worked for me:?/** Exclude DiggDigg from specific pages */
function eo_exclude_digg_digg() {
if(is_page(array(1, 2, 3, 4))) {
remove_filter(‘the_excerpt’, ‘dd_hook_wp_content’);
remove_filter(‘the_content’, ‘dd_hook_wp_content’);
}
}
add_action(‘template_redirect’, ‘eo_exclude_digg_digg’);?…where 1, 2, 3, 4 are the ids of the pages you want to exclude DiggDigg from.?More details here: Exclude DiggDigg From Specific Pages ??FightBackNetworks
Member?Posted 2 years ago #???Thanks Eugen. That works great.?Just in case it wasn’t clear to some people, Eugen’s code goes in the functions.php file in your theme folder. Make sure you back it up and have FTP access to your blog if you’re not experienced with PHP.Now my site doesn’t work at all. Please help!
- The topic ‘WordPress site not working’ is closed to new replies.