I
I
iminby2017-09-08 10:27:19
PHP
iminby, 2017-09-08 10:27:19

How to hide text in specific Woocommerce category?

Tell me what function to hide the text in a certain category...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2017-09-08
@Eridani

I don’t know about your WP, but it’s possible in the most primitive way - before displaying the text, put the current page address into the variable, if not equal to the desired one, then display it.
By this analogy, apparently, somehow you can get the ID of the current category, and also exclude it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question