Support » Fixing WordPress » Remove Parent Category Links off Post.

  • Okay so I did a bit of research on the subject and while I found many posts about similar I didn’t find anything that could solve my exact problem.

    What I want to do is simple, but I cannot for the life of me find a decent post on it anywhere.

    All I wish to do is remove the parent categories from <?php the_category(', ') ?> in my post info, the below image should show what I mean.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I was wondering the same thing the other day. I ended up just making the links myself in a sidebar widget. I couldn’t find a way to actually remove them from that tag.

    It’s a lot easier with a sidebar or navigation bar as the links are fixed. With the post it’s a variable thing… I could theoretically use custom fields but that’s just annoying and (should be) unnecessary.

    Oh I’m sorry, I get what you mean. I’ll look around and see if I can figure it out.

    Haha thanks! Not sure if you’ll find much though, I’ve been searching for a couple of days now. Well at least I have the option of custom fields, obviously not the best solution by any means. I’ll keep looking too, hopefully somone will find a good viable solution. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Parent Category Links off Post.’ is closed to new replies.