0

I´d like to list all categories (links) a post is in, like when I use "the_category()", but need to exclude the current category.

Ex: Post name is "Bob Marley´s songs", published in the categories "Bob marley", "Reggae Songs" and "Best Songs Ever". When I´m inside a category, I wnat to show only the other two categories links.

Anyboby? Thanks in advance.

2
  • Take a look at this solution by Peter Goosen for the same question. – ldrrzkn Mar 28 '19 at 15:26
  • Already tried it, but does notthing (loads notinhg). Maybe i´m using it wrong. Inserted it in single.php but does not work. – Omniatom Mar 28 '19 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.