Support » Fixing WordPress » Footer.php not being called.

  • I’ve tried numerous searches and haven’t had any luck finding a solution. I’m currently trying to get my footer.php to call correctly from my index.php file, but nothing I seem to do fixes it. I’m trying to launch it tonight for a client to see in the morning and when tying up the last bit of code, this problem arose.

    Here’s the code I’m using to call the footer.php from my index.php file:

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Here’s the footer code at the moment (just for testing):

    Testing footer.
    <?php wp_footer(); ?>

    And on a side note, in case it makes a difference, I have wordpress installed in a subdirectory, “wordpress”, and I’m using the .htaccess file to redirect the domain to that directory. Here’s the code for my .htaccess file (replaced domain with “DOMAINNAME”):

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?$
    RewriteRule ^(/)?$ wordpress [L]

    Thanks in advance for any help provided!

  • The topic ‘Footer.php not being called.’ is closed to new replies.