Comment problem almost resolved.. Weird "2" showing.. (3 posts)

  1. hairface
    Posted 6 years ago #


    Okay, so here is my problem.. I modified a theme I found for a company's blog I have been working with, where there was a problem with the commentcounter, showing the same number of comments (2) on all posts (the total number), and after some research I replaced the theme-creators code with the original code from a standard WP-theme, and it's all good, EXCEPT there is a weird number "2" showing right after the comments link.. I have searched through all of the pages, but can't find where it comes from.. If it would have been an unclosed tag or something, like <h2.. then it should say "h2" as text, not just 2?

    Help plz? Looks weird..


  2. hairface
    Posted 6 years ago #

  3. hairface
    Posted 6 years ago #

    Ah, fixed it.. How do you delete entries here?
    I knew it was something stupid I had missed, like calling for

    <?php comments_number(); ?> twice, haha.....

Topic Closed

This topic has been closed to new replies.

About this Topic