having a weird problem with the_category
-
Hai everyone,
I hope you can help me. I have a problem with my categories.
After some research I understand this:<?php the_category ( __( ', ', '' ) ) ?>
should give me the categories the post is posted in, seperated by a comma. Most posts have only 1 category, but some have 2.
What it does now (with the posts that have 2 categories) is show me the name of one category and then that name links to the other. So there must be something going horribly wrong.
Any tips on what could be the problem??Here you can see an example:
https://www.omniafausta.com/wordpress/dooreten/
it shows the category ‘eigen projecten’ and if you click that, you go to ‘boeken’.
I want it to show ‘categorie: boeken, eigen projecten’some extra info:
I am making my own theme based on Tweaker3, with quite a bit of added stuff.Thanks for any help!
- The topic ‘having a weird problem with the_category’ is closed to new replies.