On my single.php, I have the category(s) up top, but the same three categories keep appearing on every post – “MUSIC | MOVIES | NEWS” – I have tried several different php code variations and nothing is working. The following code is what I have and seems to give me what I want, EXCEPT it repeats the same 3 categories in every post.
<h1 class="section"><?php the_category(' |') ?></h1>
I have been working on this problem for awhile and feel like there is a very simple solution but I cannot get it work no matter what I try. I am not a programmer and have read all the docs and searched and read every other question pertaining – please any help would MUCH appreciated.
Thanks in advance,
- The topic ‘Same category titles on every single post page – please help’ is closed to new replies.