What code to write to display a certain content in widget area

Joined
May 31, 2022
Messages
3
Reaction score
0
on my wordpress site in a widget area i want one of the blocks to appear ONLY IF a certain category page is reviewed.
What code i must write and in what file?
lets say the category name is xxyy. So the code should do like : ONLY IF category xxy is on, then display this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top