invalid_element:
-
Hi there,
I’m trying to introduce an AMP component “<amp-sidebar>” but I keep receiving the same error -> invalid_element: <amp-sidebar>.
It seems that the AMP plugin does not add the sidebar script on the <head> tag, I have already added it:
<script async custom-element=”amp-sidebar” src=”https://cdn.ampproject.org/v0/amp-sidebar-0.1.js”></script>and still getting the same error so the the validation is removing the “<amp-sidebar>” and not being displayed.
I have added the “<amp-sidebar>” on the content of a page and also on a theme to include it on the “<header></header>”, I have tried both separately but always same error, it seems the validation does not allow this.
Could anyone help please? or there is a way I can avoid validating the tag “<amp-sidebar>”?
Thank youuuu, have a great day.
Daniel.
- The topic ‘invalid_element:’ is closed to new replies.