1. Home
  2. How To
  3. How to add View non AMP and other things in Header

How to add View non AMP and other things in Header

I am making this tutorial to show how to add View non-AMP and other things in Header.

So, let’s dig into it.

First, create a Custom plugin, you can just copy this code as well.

[amp-gist id=”505e1f3bf59c34e7c6b3eb5a47195c37″]

After creating a custom plugin, add the code in the header using the hook.

You can copy this code as well(only if you are using Design 2)

Note: Don’t forget to change the hook name if you are using a different design. You can check the hooks name here: Hooks in Header

You can add other things like text, images etc., as well.

Isn’t it easy? you can do it while having your morning coffee as well.

If you have any queries regarding this feel free to ask.

And don’t forget to leave the feedback if it helps you. 🙂


Updated on July 26, 2017

Was this article helpful?

Related Articles

Add A Comment