Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Widget Logic for AMP posts

$
0
0

Replies: 0

Is there a variable that can be used with Widget Logic to identify AMP versions of a post/page. What I want to do is have a widget only display on AMP pages (ex. show nothing on http://mydomain.com/post-title, show it on http://mydomain.com/post-title/amp).

Anything like “is_amp” or something? This would be in conjunction with the free “AMP” plugin by Automattic.


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>