• I’ve tried to figure this out and cannot seem to, but is there a simple bit of code one could place to add a “VIEW NON-AMP VERSION” link within a post, like just below the featured image or just after post text has finished?

    It seems like you should be able to add to the content.php file within the AMP Plugin to do this, but I can’t for the life of me figure out what I would need the code to be.

    And I’m aware of the footer link switch, I just want to add one that is more visible within each individual post.

    Any help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We have hooks available using which you can add it as per your requirement. Please follow this tutorial to implement it https://ampforwp.com/tutorials/article/hooks-in-ampforwp/.

    Thread Starter kellex

    (@kellex)

    Ok, this is a good resource. I’m no developer, but I’ll take a look and give it a shot. Thank you.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Were you able to implement the hooks you required? Let us know back if you need our assistance? We will help you resolve the issue and mark this topic as resolved.

    Thread Starter kellex

    (@kellex)

    Hi Ahmed – I was not able to get it working. I’m not developer and mostly just dabble in this stuff when I have a few minutes. I think this is over my head after attempting to use the hooks a few times.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add “View Non-Amp” version link within post’ is closed to new replies.