WordPress.org

Ready to get started?Download WordPress

Forums

Footer Disappeared (4 posts)

  1. mszaida
    Member
    Posted 1 year ago #

    I tried to add a facebook like code to the body of the footer.php. IT ended up getting rid of all of my footer one and bottom footer , subscription buttons, etc..
    I erased the code and the footers are still not there. Please help. This disaster happened through the help of a bluehost rep and he went on break and left me hanging.

    this is what my footer.php looks like

    <?php
    
       $type = yiw_get_option( 'footer_type', 'normal' );
                        if( strpos($type, "big") !== false )
                            get_template_part('footer','big');
    
                    ?>
    
                    <!-- START FOOTER -->
                     <?php <div id="copyright" class="group">
                        <div class="inner group">
                            <?php if( $type == 'normal' || $type == 'big-normal' ) : ?>
                            <div class="left">
                                <?php yiw_convertTags( yiw_addp( stripslashes( __( yiw_get_option( 'copyright_text_left', 'Copyright <a href="%site_url%"><strong>%name_site%</strong></a> 2010' ), 'yiw' ) ) ) ) ?>
                            </div>
                            <div class="right">
                                <?php yiw_convertTags(yiw_addp( stripslashes( __( yiw_get_option( 'copyright_text_right', 'Powered by <a href="http://www.yourinspirationweb.com/en"><strong>Your Inspiration Web</strong></a>' ), 'yiw' )  ) ) ) ?>
                            </div>
                            <?php elseif( $type == 'centered' || $type == 'big-centered' ) : ?>
                            <div class="center">
                                <?php yiw_convertTags( yiw_addp( stripslashes( __( yiw_get_option( 'footer_text_centered' ), 'yiw' ) ) ) ) ?>
                            </div>
                        <?php endif ?>
                        </div>
                    </div>
                    <!-- END FOOTER -->
                </div>
                <!-- END WRAPPER -->
            </div>
            <!-- END SHADOW WRAPPER -->     
    
        <?php wp_footer(); ?>
    text
        </body>
    </html>

    [please mark any posted code according to forum guidelines - as it is, the above code is already corrupted by the forum parser]

  2. Ted Rubin
    Member
    Posted 1 year ago #

    Try adding this after the first </div> break

    As to getting the footer back to where it was, If this was a theme that you purchased recopy the footer PHP code into the WordPress Editor screen in the Admin panel.

  3. mszaida
    Member
    Posted 1 year ago #

    You are so nice, thanks for responding. It is a bought theme. Do I go into themes and get the footer.php code? And if so, where do i find it on that page?

    REgards,

    Zee

  4. mszaida
    Member
    Posted 1 year ago #

    you are the best i found the footer and i copied it. thanks so much. it worked.

Topic Closed

This topic has been closed to new replies.

About this Topic