I just bought this plugin and am trying to add adsense to the site.
You can see that the adsense is working on these two pages, and you can see exactly where I want the ad to be.
The problem I’m having is that I don’t know which file/template to modify in order to get the ad to show up in the same place on the question page.
So, for example, you can see the adsense is missing from this page:
Can you please tell me what file I need to modify to add my adsense code to this page?
At the moment, the plugin uses the
single.php file of the theme. If you want to edit the file for the single question page, you can create a new .php file(eg:
custom-single-question.php) and copy the file of the single paste into the
custom-single-question.php file and customize it.
Also, to the plugin work with the new file you need open the
Template.php file and find the line 685 and replace the
single.php with your new file.
Please login or Register to submit your answer
replied 7 years ago
If you still face their issue, you can send me username & password of your site for further checking.