• My adminn bar at top is missing? The footer is also missing. I may have changed the code on footer.php? The edit button on bottom of pages/posts are there. So I can do edit and update.

    Also the code on footer.php is there right before the </body> tag ?
    <?php wp_footer(); ?>
    lascrucespartyshack.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello goodsuccess,

    yes, it has probably something to do with changing the footer.php code. Can you copy paste the code from that file here?

    Thread Starter goodsuccess

    (@goodsuccess)

    Here it is…
    <!– Footer –>
    <footer id=”footer”>

    <?php sds_footer_sidebar(Simple Shop); ?>

    <section class=”copyright-area <?php echo ( is_active_sidebar( ‘copyright-area-sidebar’ ) ) ? ‘widgets’ : ‘no-widgets’; ?>”>
    <?php sds_copyright_area_sidebar(); ?>
    </section>

    <section class=”copyright”>
    <p class=”copyright-message”>
    <?php sds_copyright( ” ); ?>
    </p>
    </section>
    </footer>

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

    The footer looks fine except one thing:

    <?php sds_footer_sidebar(Simple Shop); ?>

    Simple Shop is not a PHP variable, nor a string. Try this instead:

    <?php sds_footer_sidebar('Simple Shop'); ?>

    I added quotes (‘ ‘) around the words Simple Shop so it becomes a PHP string, a valid data type.

    Thread Starter goodsuccess

    (@goodsuccess)

    Yea…that was it. I may have changed it and forgot the ” between Simple Shop! Thanks for the help Rastislav.

    Glad to hear that. 🙂 Have a nice day.

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

The topic ‘admin bar missing from theme.’ is closed to new replies.