Amp page does not validate when you add the topic search engine to the menu
-
I have the orbital theme and when I add the “search engine” of the theme to the menus tells me that the AMP page is not valid, this is because you try to load the search engine in all menus attached photos.
Is there any way to prevent the AMP search engine from loading by adding CSS to the WP for aMP plugin ? Thanks
Pic 1: https://ibb.co/92kq5mM
Pic 2: https://ibb.co/8dP2ryXFailure of the page amp not validated ????
<script>function orbital_expand_navbar() {
var element = document.getElementById(“search-navbar”);
if (element.classList.contains(‘expand-searchform’)) {
element.classList.remove(“expand-searchform”);
return;
}else {
element.classList.add(“expand-searchform”);
document.getElementById(“search-input”).focus();
}
- The topic ‘Amp page does not validate when you add the topic search engine to the menu’ is closed to new replies.