• Resolved kellex

    (@kellex)


    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.

    Any help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @kellex

    AMP plugin does add Mobile Switcher link in the footer, (screenshot)

    You can modify it’s text using <a href="https://amp-wp.org/reference/hook/amp_mobile_version_switcher_link_text/" rel="noopener" target="_blank">amp_mobile_version_switcher_link_text</a> filter.

    It will be visible only in reader mode and transitional mode, You can check the source code here

    Please provide your site URL so we can assist you better.

    Thread Starter kellex

    (@kellex)

    Right, I’m aware of the the footer switcher, but I really want to add something within each post to make it more obvious and easier for readers to be able to make the switch.

    Here’s the site.

    Plugin Support Milind More

    (@milindmore22)

    Hello @kellex

    It seems you are using another plugin AMP for WP, I will recommend asking the same question in their support forums.

    Thread Starter kellex

    (@kellex)

    Oh whoops, thought this was the right one. My apologies. Can you delete this thread? I don’t see the option.

    • This reply was modified 5 years, 2 months ago by kellex.
Viewing 4 replies - 1 through 4 (of 4 total)

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