• Resolved BklynChik

    (@bklynchik)


    Hi, I’m new to WordPress and need some assistance. I’m receiving an error in the footer AND my dashboard is no longer displayed when I navigate to my pages. (It used to be visible on the upper-right hand corner but is now gone. However, I can get to it if I click on an “edit” link of a post.”

    The footer error is:

    Parse error: syntax error, unexpected T_STRING in /home/a7743772/public_html/dev/wp-content/themes/twentyten/footer.php on line 35

    There’s two things I did before I started receiving the error and not seeing the Dashboard. I altered the footer code in the editor and I uninstalled bbPress. I’m thinking the issue lies in the former. Would someone be able to take a look at the code and let me know where I went wrong? I don’t know PHP at all, so I was just trying to alter the footer to show that it’s run by a group and not WP. I don’t know if this also affected the Dashboard.

    Thank you in advance for your help!

    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content
    * after. Calls sidebar-footer.php for bottom widgets.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */
    ?>
    </div><!– #main –>

    <div id=”footer” role=”contentinfo”>
    <div id=”colophon”>

    <?php
    /* A sidebar in the footer? Yep. You can can customize
    * your footer with four columns of widgets.
    */
    get_sidebar( ‘footer’ );
    ?>

    <div id=”site-info”>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
    <?php bloginfo( ‘name’ ); ?>

    </div><!– #site-info –>

    <div id=”site-generator”>

    ” title=”<?php esc_attr_e( ‘The MMS Parents’ Portal’); ?>”><?php

    printf( __( ‘Proudly powered by Parents’)); ?>
    </div><!– #site-generator –>

    </div><!– #colophon –>
    </div><!– #footer –>

    </div><!– #wrapper –>

    <?php
    /* Always have wp_footer() just before the closing </body>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to reference JavaScript files.
    */

    wp_footer();
    ?>
    </body>
    </html>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Try uploading a fresh copy of footer.php from a fresh download of twentyten.

    Also, if you want to modify twentyten templates, consider creating a child theme of twentyten.

    Thread Starter BklynChik

    (@bklynchik)

    Thank you for your response, I really appreciate it!

    I actually figured out the problem (it would have driven me nuts to not know what happened so I kept at it, though I did have the file replacement on my mind too! LOL).

    The issue was the apostrophe after the word “Parents'”. That one little mark caused the php errors and also made the dashboard disappear. SMH. Thanks again though!

    Moderator t-p

    (@t-p)

    Glad to hear that ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Footer error and Dashboard issue’ is closed to new replies.