I am trying to get DW QA work on my theme. I have run into a problem and I don’t know how to resolve this.
I need to know if I have to define an if condition on this page for example http://designwall.com/question-tag/dw-question-answer/
What condition do I need to use e.g. if ( this page ) { do this;}
Please help!
1 Answers
Hi Guru,
Please try to use this code:
if(is_tax( 'dwqa-question_tag', 'dw-question-answer' )) { do this };
Replace ‘dw-question-answer’ with your tag name
Thanks @ Jackie Lord
This solved the problem! 🙂
Best regards
Please login or Register to submit your answer