WordPress.org

Ready to get started?Download WordPress

Forums

Comments Not Showing After Clicking (4 posts)

  1. xmatter
    Member
    Posted 2 years ago #

    I am using the latest version of WP and the "comments" link below each post does not doing anything after being clicked. Here is a snippet from my index.php:

    div class="postmetadata">
    <?php if( function_exists('the_tags') )
    the_tags(__('Tags: '), ', ', '');?>
    <?php _e('Category:') ?> <?php the_category(', ') ?>  | 
    <?php comments_popup_link(__('Comment'), __('1 Comment'), __('% Comments')); ?>
    <?php edit_post_link(__('Edit'), ' |  ', ''); ?>
    </div>

    Any thoughts?

  2. esmi
    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. xmatter
    Member
    Posted 2 years ago #

    i do not have any plugins installed and it still occurs. It appears it must have something to do with my custom theme. Before the latest WP update, the comments would appear and were clickable. So i am assuming something must have changed on how WP handles comments. The 2011 theme works fine.

    I have 5 php files:
    index
    header
    sidebar
    footer
    functions

    and 1 css file. I have pasted my code in previous post. Can anyone tell from the index.php above what is going on? Again, it worked fine in previous versions of WP. Thanks!

  4. xmatter
    Member
    Posted 2 years ago #

    here is a copy of my index.php file:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Again, i think the last WP update may have toyed with how the comments interact.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.