WordPress.org

Ready to get started?Download WordPress

Forums

Deleted some of footer.php without backup (4 posts)

  1. BigRingRob
    Member
    Posted 1 year ago #

    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>
    <?php
    $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].'';
    endif;
    endfor;
    ?>
    <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".

  2. BigRingRob
    Member
    Posted 1 year ago #

    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.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Just download a new copy of the theme to your local computer -- then copy the footer.php code. BTW, as you'll see here http://wordpress.org/extend/themes/greyzed it appears that the theme has not been updated for quite a while so that may be problematic as well.

  4. BigRingRob
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.