Normally the code configured in code window will not be inserted on AMP pages. There is a setting under Misc/Insertion to enable insertion also on AMP pages. However, this would insert the same code also on AMP pages which may work for image banners but not for AdSense which needs different code. The solution is to separate the codes with [ADINSERTER AMP] separator – the code above the separator will be inserted on normal pages, the code below the separator will be inserted on AMP pages. This separator can be used also for Header and Footer code.
To get code for Auto ads log in to your AdSense account and navigate to My Ads > Auto ads. Auto Ads can be enabled globally for all sites in your account or only for some of them using the group option. Once you choose Auto ads you choose which ad formats you’d like to show across your entire site. These will be your “global preferences” for Auto ads. You can select from a range of ad formats.
AMP pages need different code for ads. Each Ad Inserter code block can be easily configured to insert different codes on AMP pages – you can use use built-in AdSense code generator to generate code for AMP AdSense code (check also AdSense guide to creating AMP-compatible ad code). Of course, to create AMP pages you also need AMP plugin. The following plugins have been tested with Ad Inserter:
Pretty much the place for WordPress how-tos these days. If you want to know how to do it in a simple, easy-to-understand, step-by-step way, WPBeginner probably has an article on it. Depending on the problem, their recommended solution may be a plugin to get the job done, while others may be a dive into your PHP files. Either way, when you have an issue, WPBeginner is a great place to see if there’s a solution. And if you can’t find it there…well, you may have just broken the internet.
Newspaper is the best-selling news WordPress theme, and it is built to help you tell your stories with the use of typography, dynamism, and professional design. This modern look is the perfect solution for various industry websites. From travel to fashion and everything in between, Newspaper brings beauty and unique designs combined with quality performance and stability to any type of blog.
Furthermore, the Newspaper comes with many header and footer options, Flex Block elements for more versatility, endless Big Grid combinations to highlight pages or categories, and comprehensive documentation. Also, the theme integrates clean coding, great design, fast page-loading speed, and is AMP ready. Lastly, the Newspaper is WooCommerce compatible and Google AdSense ready, supporting responsive and mobile friendly ads. It uses the best SEO practices and is user-friendly.
The placement of the ad code does not reflect the position of the ads therefore you can use any suitable automatic insertion for all pages. Here we’ll put code into page Footer. Add the following script in the Footer code block, use [ADINSERTER AMP] separator (the code above the separator will be inserted on normal pages, the code below the separator will be inserted on AMP pages), and enable footer code (button with green dot next to PHP button).
WordPress' plugin architecture allows users to extend the features and functionality of a website or blog. As of March 2017, WordPress has over 55,286 plugins available, each of which offers custom functions and features enabling users to tailor their sites to their specific needs. These customizations range from search engine optimization, to client portals used to display private information to logged in users, to content management systems, to content displaying features, such as the addition of widgets and navigation bars. Not all available plugins are always abreast with the upgrades and as a result they may not function properly or may not function at all. Most plugins are available through WordPress themselves, either via downloading them and installing the files manually via FTP or through the WordPress dashboard. However, many third parties offer plugins through their own websites, many of which are paid packages.