Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by

I would like to display Google Ads in categories without any questions. In the html-code without any question you will find:

<DIV CLASS="qa-q-list">



Between these DIV-Tags I would like to display the Google-Code. Have you an idea?

Also interisting: noindex tag for categories without any questions!

1 Answer

+1 vote

Use an advanced HTML theme, override function q_list($q_list), and within your version check empty($q_list['qs']) in which case output your Google code, otherwise call through to the default with qa_html_theme_base::q_list($q_list);