Support » Fixing WordPress » Deleted some of footer.php without backup

  • I wasnt thinking earlier today and deleted some stuff out of my footer.php file. I am using Greyzed Theme

    <!– begin widgetized footer –>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer Middle’) ) : ?>
    <H4 class=”footerwidget”>Hello</H4>
    $links = wp_list_bookmarks(‘title_li=&categorize=0&sort_column=menu_order&echo=0’);
    $bookmarks = explode(”, $links);
    $links = $bookmarks;
    $link_n = count($links) – 1;
    for ($i=0;$i<$link_n;$i++):
    if ($i<$link_n/2):
    $left = $left.”.$links[$i].”;
    elseif ($i>=$link_n/2):
    $right = $right.”.$links[$i].”;
    <ul class=”left_blogroll”>
    <?php echo $left;?>

    <ul class=”right_blogroll”>
    <?php echo $right;?>

    <?php endif; ?>

    <!– end widgetized footer –>

    What Im trying to do is Change the “Hello” to something else in <H4 class=”footerwidget”>Hello</H4> .
    I deleted some stuff in there but I do not remember what it was. Now if I change the “Hello” to something else it doesnt take effect on my website.

    Would anyone know if you can go back to the original footer.php file. Or would anyone happen to know some code I could add so I may change the “Hello” and also add other stuff under the “Hello”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Or could someone install the grezyed theme via wordpress and copy then paste here the code I deleted? This would be very much appreciated, thank you.



    Forum Moderator

    Just download a new copy of the theme to your local computer — then copy the footer.php code. BTW, as you’ll see here it appears that the theme has not been updated for quite a while so that may be problematic as well.

    Thanks WPyogi, I have did what you suggested after I made this post which was copy the footer.php code. Did not resolve my problem, and I did just notice about a hour ago theme is not supported anymore. So Im thinking you are correct was my final assessment as well that the theme is no longer supported. Oh well losing two days of straight work is better then losing a weeks worth!
    Thanks again

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deleted some of footer.php without backup’ is closed to new replies.