WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Missing Footer and everything else below comments (4 posts)

  1. kmarshall
    Member
    Posted 2 years ago #

    Hello, I cannot for the life of me figure out why my footer is missing along with everything else below the comments section. When looking at the page.php, everything after

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div id="post-<?php the_ID(); ?>" class="post">
    
    </div> 
    
    <a name="comment"><div class="spacer_1"</div></a>
    <div id="comments"><?php comments_template(); ?></div>
    		<?php endwhile;?>
    	<?php endif; ?>

    does not execute. Namely the "<?php comments_template(); ?>" call.

    I've actually deleted everything below the code above and it works fine but still no footer as well as a google search box and Facebook Like button. It is just not there. So the "<?php get_footer();?>" never gets called.

    If I delete out

    <div id="comments"><?php comments_template(); ?></div>

    Everything is fine except no commenting. This wasn't always like this. I've tried uninstalling the "comment avatars" plugin as well as the "wp-thread-comment" plugin to no avail. When looking at the source code of a web page it just stops after executing the wp-thread-comment plugin. After uninstalling that as well as the comment avatars it still stops. It's like it never exits the comments_template() function. I have never modified the comment-template.php file or the comments_template() function. I even copied over another comment-template.php file over from another wordpress install and same deal. I've since restored the original php file.

    Any help would be greatly appreciated. My site is: http://www.seizetheday-monterey.com

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

  3. kmarshall
    Member
    Posted 2 years ago #

    Hi esmi,

    Thank you for such a quick reply. I actually just renamed the plugins folder in the wp-content folder on my server to pluginssss so WP couldn't find it (instead of uninstalling all of them) and the issue still persisted but it did give me a strange error where my footer was suppose to be

    Fatal error: Call to undefined function show_manual_subscription_form() in comment.php

    I went into comment.php and deleted the call:

    <?php show_manual_subscription_form(); ?>

    And now all is good. Thanks for stearing me in the right direction. Funny think how that error wasn't showing up until I renamed my plugin folder. I've been trying to figure this thing out for 3+ hours now. Thanks.

    Kevin

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic