Skip to content
Public Ticket #944

Penci AMP plugin

Conversation thread

PenciDesign replied

Staff Reply

Hi,

We have plan to make it in the future updates.

Because this feature related with security of the sites, so we want to make it carefully.

Hope you can understand it and sorry for this inconveniencesmile.png

Best Regards,

PenciDesign

Sarimarcus replied

Customer Reply

Oh OK, Can't we have those plugins and theme handled by the update system of Wordpress ?

PenciDesign replied

Staff Reply

Hi,

Thank you for loving our theme.

We fixed all this issues in the latest updates. Please re-download the package "All files and documentation" and update this plugin. All this issues will gone.

Best Regards,

PenciDesign

Sarimarcus started the conversation

Conversation Start

Hello guys !

I decided to activate AMP plugin, and I had 2 main issues :

  • The JS present in footer.php template makes that Google can't validate the AMP version. This is code you should remove :

        <script async>
            function penciTopFunction() {
                document.body.scrollTop = 0;
                document.documentElement.scrollTop = 0;
            }
        </script>

  • Issues with analytics, the file used for tracking isn't included : https://cdn.ampproject.org/v0/amp-analytics-0.1.js  I've set a UA code, but it's still not being included. I've checked the code in includes\\amp-post-template-actions.php  it looks there's some code which should include it, but it's buggy (or I missed an option somewhere).

There's more issues i found out, mostly typos, for example : Google adsemse instead of Google Adsense,   Google Analytics CSS Options when it should be 

 Google Analytics Options...

Thank you for fixing this, and have a look at this plugin, it has great potential


Want to join this conversation or access attachments? Sign in first.