Clicky

Hide AMP on Posts / Pages

Want to hide AMP on posts/pages? It’s very simple. Just follow the below steps.

Posts

If you want to hide AMP on specific posts, then simply hide it from the meta box.

Edit the post which you want to hide in AMP, then at the right side you will see a meta box which says ‘Show AMP for Current Page?’ select hide and save the post.

Post

Multiple Posts

Add the below code in your functions.php or create a new plugin and add the code in it.

Replace the ‘postid1, postid2, postid3, ….,postidn’ with the post ids of the posts on which you want to disable AMP.

Pages

If you want to disable AMP totally from all pages then simply disable the ‘AMP on Pages’ option from Settings -> General.

AMP on Pages

Few pages

If you want to disable AMP only on few pages then enable the above option, and select ‘Show by default’ in ‘Individual AMP Page (Bulk Edit)’ option which is present in Settings -> ‘Hide AMP Bulk Tools’. After this Go to the page which you want to edit and select hide to hide that page in AMP. Hide AMP bulk tools

Homepage Support

Many pages

If you want to disable AMP on many pages but want to keep few in AMP then reverse the process. Select ‘Hide by default’ and edit the page on which you want to enable AMP and select ‘Show’ in ‘Show AMP for Current Page?’

Homepage

If you want to Disable AMP on Homepage, disable the Homepage support from Settings ->General.

 

AMP Support

Note: Resave the permalinks if you face any issues after following the above steps.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on November 4, 2017

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment