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

amp

  1. Recep Baltaş

    Duplicate AMP Support

    We are about to enter 2018 and I think it is time that XenForo adds Accelerated Mobile Pages (AMP) support.
  2. 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} ==...
  3. 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...
  4. 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/
  5. thumped

    Implement AMP Project framework

    https://www.ampproject.org/