Viewing 7 replies - 1 through 7 (of 7 total)
  • Check your footer.php theme file and make sure you see this bit of code just before your closing </body> tag:

    <?php wp_footer(); ?>

    Without that hook the admin bar doesn’t appear.

    Thread Starter MaFt

    (@maft)

    Yup, that’s all present and correct. The admin bar worked fine until I moved the folder. Nothing else has changed with the templates or any of the code.

    MaFt

    Thread Starter MaFt

    (@maft)

    just a thought, where is the wp_footer() function declared? I wonder if I need to amend that slightly to look for the ‘site’ folder (where wordpress is installed)?

    MaFt

    Thread Starter MaFt

    (@maft)

    OK, this is now solved though totally accidentally!

    I was having issues getting into other folders on my server owing to permalink setup in .htaccess. This guide showed me to change the .htaccess from ‘RewriteRule . /site/index.php [L]’ to ‘RewriteRule ./ /site/index.php [L]’ to get access back to my folders on the server.

    Having done this the admin bar now shows up! Strange…

    Thread Starter MaFt

    (@maft)

    Glad you got it fixed. If you would please mark this thread as “resolved” (drop-down menu in the right column) it would be appreciated. Helps everyone keep better track of whose issues are still outstanding. Thanks!

    Thread Starter MaFt

    (@maft)

    thanks, i was looking for someway to say it was resolved!

    MaFt

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Moved wordpress flder and now no Admin Bar’ is closed to new replies.