Hello Thanks for creating the plugin. I am using 2 adsense codes in every post at my website. The question plugin creates posts for every question and answer. So when there is a question and answer, i am having 4 adsense codes. And actually there is a big gap because of the adsense code as well. I would like to continue keeping my ads in my posts but in question i want just 1 ad. can you have a look at it pls
To resolve this issue, you can add the following code to the style.css file:
.single-dwqa-question .adsbygoogle {
display: none !important;
}
.single-dwqa-question .dwqa-content ins {
display: none !important;
}
.single-dwqa-question .dwqa-container {
margin-left: 40px;
}
Hope this helps !
Hi , thanks for your help but it just works for container. It removes all the google ads !! I would like to display at least 2 google ads. Isnt that possible?
Now i have your code but as you see there is no adsense π
Our DW Q&A does not support the position to display the google ads. Well, you only possible remove all the Ads in the Q&A page. you can tell me the position that you want to display the google ads section for further checking.
Ok I ve added your code and it removed all the ads but now I ll have decrease in the income π
Anyway thanks for your help, for further investigation:
-I display two ads in every post. One is before content, the other is after. But when I have a question I have 2 ads which is not a problem. When I answer the question I have 4 ads totaly because it behaves as a new post. So when I will have 3 answers, I am going to have 6 ads which will end up being banned from adsense… I just one to display 2 ads one is before content and the other is after even if I have 4-5 answers… I hope to hear an update or a solution for that. Thanks in advance….
It’s been 3 years, and I see that they have not solved the problem yet. Do you have a solution so that several adsense blocks do not appear? Like tgrl123, I just want 2 blocks to be shown (above and at the end of the article). With the previous code, I do not have ads on this my website. Thank you.
Yes, at the moment, the plugin get the single.php/ page.php file of your site and if you allow the ads show on the single page, the Ads will show in the single question.
In your case, you can add the following code to the style.css file:
.single-dwqa-question ins.adsbygoogle {
display: none !important;
}
Please login or Register to submit your answer