• Resolved Bill Murphy

    (@bill-murphy)


    ***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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Bill Murphy

    (@bill-murphy)

    ***Update***

    I’ve found the broken text in my FTP site. My problem is now I cannot change the text to correct this. It is just a static page. If this is the solution to my problem I still need to know how to alter an FTP page.

    Thank you to anyone that can help.

    Thread Starter Bill Murphy

    (@bill-murphy)

    RESOLVED.

    I thought I was signed in with my Host provider while viewing the FTP page. Once I signed in I was able to manually correct the text.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changed PHP in Theme now get Blank Page’ is closed to new replies.