Trouble adding advertisements to articles.

Posted in: Newspaper
Post count: 1

I use a plugin called AdRotate that will generate PHP lines for ads. I had it running successfully on my theme before Newspaper. I’ve tried using the Theme Panel to add the PHP line to the Ad slots on “Article Top Ad”. I cannot find the PHP file that builds the articles, or else I would add it directly to the top of the content on there.

Can anyone tell me what file I should insert the line into? Or why the Ad section in the Theme Panel is not displaying it on the articles?

Thanks!

Post count: 20688

Hi,

The theme ad spots will work with Adrotate shortcodes
https://ajdg.solutions/manuals/adrotate-manuals/
http://www.wpbeginner.com/plugins/how-to-manage-ads-in-wordpress-with-adrotate-plugin/
https://ajdg.solutions/manuals/adrotate-manuals/show-adverts-on-your-site/
PHP code will have to be added directly in the post template files if you choose that implementation. The post template files are located in the main theme folder
https://www.screencast.com/t/sE9JU9U2NJUt
You could edit these files depending on the post template used, and insert the PHP code directly in them, if needed.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.