This Is How To Get AMP On Your Wordpress Site In 5 Minutes

Posted: Apr 24 2016, 9:26am CDT | by , Updated: Apr 24 2016, 9:55am CDT, in News | Technology News

 
This is How to Get AMP on Your Wordpress Site in 5 Minutes
AMP Example

Don't Miss: This How to find Fingerlings in Stock

With Google featuring AMP pages inside Google News, there is more need than ever to adopt AMP. Here is how to get your Wordpress site AMPlified in 5 minutes.

Google has launched the Accelerated Mobile Pages Project (AMP) in October of last year. In February the AMP enabled pages started to be featured in the mobile search results on Google. As reported, this week the Google added the AMP carousel in Google News as well.

If you have not implemented AMP yet, you can get it up and running on Wordpress in less than 5 minutes. First find the free AMP plugin by Wordpress maker Auttomatic and install it. You are actually done. All your posts are now AMPlified. You can see the AMP version appending /amp/ at the end of the url of the a post (example). Out of the box the AMP plugin is generating AMP pages that are not displaying the logo, featured image, and also don't show any of your advertising.

Auttomatic provides some code snippets to ad the featured image and display the site logo on an AMP page on GitHub. The code needs to be placed in the functions.php file in the theme folder of your active Wordpress theme.

I have extended the code snippets provided with some lines adding a Google Adsense ad at the end of a post. AMP supports about 20 ad networks. You can find the implementation details for each of these on the AMP Project site. AMP pages do not accept any Javascript code. The ad units are implemented as tags (amp-ad) that are processed by the AMP engine to display ads.

This is it. You got now AMP implemented with your logo, featured images and ads.

You can find the complete code to add to functions.php here. Please remember to edit the url of the logo, the data-ad-client and the data-ad-slot in the ad unit.

See also the recent report on how to build a news site with Wordpress for under $50.

Wordpress AMP - featured image, ad and logo

AMP Ad

Holiday Gift Guides and Deals

Get your Holiday gifting inspired by Best Toy Gifts with High STEM Value and the Top 10 toy gifts under $10 if you are on budget. The most popular Holiday 2017 toy list include Fingerlings, Crate Creatures and more. Don't miss the new Holiday deals on Amazon Devices, including $29.99 Fire tablet.

This story may contain affiliate links.

This free App Solves You Holiday Shopping Problem


Download the free Tracker app now to get in-stock alerts on Fingerling, Luvabella, SNES Classic and more.

Latest News

Comments

The Author

<a href="/latest_stories/all/all/2" rel="author">Luigi Lugmayr</a>
Luigi Lugmayr () is the founding chief Editor of I4U News and brings over 15 years experience in the technology field to the ever evolving and exciting world of gadgets. He started I4U News back in 2000 and evolved it into vibrant technology magazine.
Luigi can be contacted directly at ml@i4u.com.

 

 

Advertisement

comments powered by Disqus