• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.


  1. tonmo

    Implementing AMP

    Ok, I think I have figured this out for pages... but could use a little help. 1) create AMP pages per google instructions: https://www.ampproject.org/docs/get_started/create 2) in the xenforo PAGE_CONTAINER template, add the following above </head>: <xen:if is="{$contentTemplate} ==...
  2. OperaManiac

    XF 1.5 How to fetch URL of current XenForo page for a meta tag?

    I am trying to add this code to the header in page_container template: <link rel="amphtml" href="https://mercury.postlight.com/amp?url=CURRENTURL"> Google told me that this PHP code would get me the current URL: <?php echo 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?> If...
  3. Hoffi

    Duplicate AMP Power...

    Di you plan to implement AMP in the next Version? Accelerate Mobile Pages is a really interesting approach to power up the websites, https://www.ampproject.org/
  4. thumped

    Implement AMP Project framework