Changed PHP in Theme now get Blank Page
-
***This is the first time I have ever worked on a website. I have been setting up “casuallyemployed.com” for the past week and my vocabulary for website design is limited.***
Following the instructions under “CREATE A CUSTOM DEFAULT AVATAR” (little more than halfway down the page) here.
http://codex.ww.wp.xz.cn/How_to_Use_Gravatars_in_WordPress
I altered the PHP for “Avatar” in my Comicpress theme.I “DID” hit “RETURN” after the last caracter on the page before pasting this…
<?php
add_filter( ‘avatar_defaults’, ‘new_default_avatar’ );function new_default_avatar ( $avatar_defaults ) {
http://www.casuallyemployed.com/wp-content/uploads/2012/07/Clive-gif-adaptive4.gif
$new_avatar_url = get_bloginfo( ‘template_directory’ ) . ‘/images/new_default_avatar.png’;
Casually Employed
$avatar_defaults[$new_avatar_url] = ‘Your New Default Avatar’;
return $avatar_defaults;
}
?>After saving the chsnges, I now have a blank page on my site and I cannot access my WordPress Dashboard so I can correct this issue.
I need to know where I can view my “Avatar php” file so I can correct my mistake.
Thank you so much.
Bill Murphy
casuallyemployed.com
The topic ‘Changed PHP in Theme now get Blank Page’ is closed to new replies.