Guru
asked 10 years ago

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
Jackie Lord
answered 10 years ago

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

Guru
replied 10 years ago

Thanks @ Jackie Lord

This solved the problem! 🙂

Best regards

Powered by DW Question & Answer Pro