Support » Fixing WordPress » Strange link problem with categories and comments
9 years, 1 month ago
The categories and comments of a post are placed under my post title. The category must link to the category page and the comments must link to the comments page. I use <?php the_category(‘, ‘) ?> to display the category of a post and <?php comments_popup_link(‘Geen reacties’, ‘1 reactie’, ‘% reacties’); ?> to display the comments.
It works fine but not for the first post on a page, the second and third are working. Same thing for the title of the last post under “Recente artikelen” in the sidebar.
You can see it yourself at http://www.nextfacts.nl. Does someone know how this could happen?
When I look at the source code of my website http://www.nextfacts.nl is the generated source correct. So I dont understand why the category and comment of the first post on a page dont get a link.
Someone that can help me with this strange problem?