Forum Replies Created

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

    (@milindmore22)

    Hello @thisterm

    Our analysis of your site data indicates you’re using a premium theme. Unfortunately, we don’t have access to the inner workings of those themes. To gain a more profound understanding and locate the elements you need, we’d have to examine your code.

    The reason your menu and buttons lack IDs is likely due to the theme’s structure. In such cases, we typically use XPath expressions to target specific elements. However, identifying the appropriate XPaths requires inspecting your code.

    Given this situation, I recommend reaching out to AMP experts who specialize in troubleshooting premium theme integrations. They’ll be well-equipped to assist you further.

    Plugin Support Milind More

    (@milindmore22)

    Hello @intered

    Thank you for reaching out, As you are able response the issue, I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    Hello @darrencarlin

    AMP and Custom JavaScript: Understanding the Limitations

    AMP prioritizes speed and security. To achieve this, it restricts the use of custom JavaScript on AMP pages. This means you can’t directly include external scripts using <script> tags.

    Which means you can’t add <script> tag with URL such as example.com/abc.js

    The only scripts allowed are AMP component scripts, which are added by AMP plugin automatically after detecting usage of component.

    You cannot include component script within <amp-script>, A component can’t execute a component script as it will only execute in web worker and DOM will not be affected.

    Learn more about amp-script from documentation

    Why can’t I use custom JavaScript?

    Performance: Unrestricted JavaScript can slow down page loading. AMP components are optimized for speed, ensuring a smooth user experience.

    Security: External scripts could potentially introduce security risks. AMP components follow strict guidelines to maintain a safe environment.
    What are your options?

    Leverage AMP Components: There’s a good chance you can achieve what you need with built-in AMP components. Explore the available components (like amp-img, amp-video, amp-form, amp-consent, amp-script, amp-ad) that offer various functionalities.

    Check Ad Behavior without Consent: For Ads related issues If you’re concerned about ad performance, try removing consent requirements temporarily to see if ads populate. However, remember to reinstate consent for regular operation.

    Consult Your Vendor: If you have specific needs, contact your ad vendor for guidance on how to implement their solution within AMP constraints. They might offer specific instructions.

    Explore Component Documentation: Each AMP component has detailed documentation. Refer to the documentation for the components you’re interested in to understand their usage and potential limitations.

    Look at Component Examples: Many components have code examples showcasing their implementation. These examples can be a valuable resource for learning how to use them effectively.

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    Hello @thisterm

    Absolutely! Here’s how you can add navigation menus and sub-menus with AMP theme support:

    Leverage theme support for AMP with the nav_menu_toggle flag. This allows you to inject custom code snippets specifically for your AMP navigation.

    Within the custom code, you can implement the logic for displaying and handling navigation menus, including sub-menus.

    While the nav_menu_toggle approach is great for custom navigation menus for developers, the AMP Generic Compat plugin simplifies the process by providing a user-friendly interface to enable the toggle feature without needing to write custom code.

    We hope this helps!

    Forum: Plugins
    In reply to: [AMP] Amp problem
    Plugin Support Milind More

    (@milindmore22)

    Hello @georgestdim

    Thank you for reaching out to us, Can you please add more details of the error?

    Forum: Plugins
    In reply to: [AMP] AMP Scan Errors
    Plugin Support Milind More

    (@milindmore22)

    Hello @carmz23

    Thank you for getting back to us, You can also use the AMP validation tool to locate validation issues with the theme or plugin, please check our documentation to learn more about it.

    If your theme or plugin functionalities do not break on the AMP page, then you don’t need to take any action.

    If your theme or plugin functionalities are breaking, please do the following:

    1) Contact your theme/plugin author and ask them to make their product AMP compatible.

    2) Find a Mini plugin or add-on from our website, which resolves particular issues.

    3) Switch to an alternate plugin / theme, you can find on our ecosystem page.

    We hope this helps!

    Forum: Plugins
    In reply to: [AMP] AMP for homepage
    Plugin Support Milind More

    (@milindmore22)

    Hello @donsafo1

    As I mentioned before, the Legacy theme has many limitations, the homepage template is not available with the legacy theme, I will suggest using another theme as Reader theme such as Astra or Neve.

    You can learn more about Reader Mode themes from our documentation or watch the video below

    We hope this helps!

    Forum: Plugins
    In reply to: [AMP] AMP for homepage
    Plugin Support Milind More

    (@milindmore22)

    Hello @donsafo1

    Thank you for reaching out to us, You are using the AMP plugin in Reader Mode with Leagacy theme.

    By default, the Home page in Legacy theme is kept disabled, but you can enable it from backend.

    Open the Home page edit section, check for sidebar settings for AMP settings as shown in the image below and enable it.

    We hope this helps!

    Forum: Plugins
    In reply to: [AMP] AMP Issues
    Plugin Support Milind More

    (@milindmore22)

    Hello @geohartner

    Thanks for reaching out to us! We noticed you’re using the AMP plugin in Reader mode with a Legacy theme on your website. While your AMP page seems valid in our tests, to better assist you, please tell us more about the specific issues you’re encountering.

    Plugin Support Milind More

    (@milindmore22)

    Hello @thisterm

    I came across some discussions on GitHub issue about Lighthouse suggesting preloading too aggressively. It seems like this might be a bug in Lighthouse itself. I hope it gets addressed in a future release (v12.0).

    Plugin Support Milind More

    (@milindmore22)

    Hello @leandro-isola

    I came across some discussions on GitHub issue about Lighthouse suggesting preloading too aggressively. It seems like this might be a bug in Lighthouse itself. I hope it gets addressed in a future release (v12.0).

    Forum: Plugins
    In reply to: [AMP] Media
    Plugin Support Milind More

    (@milindmore22)

    Hello @thisterm

    Thank you for reaching out to us, there can be both benefits and drawbacks to including media in your AMP pages.

    Benefits of including media in AMP:

    Faster load times: AMP pages are designed to load quickly, and including optimized media can contribute to that speed. AMP automatically creates lightweight versions of images, which can significantly improve load times, especially on slower connections.

    Improved user experience: Users generally expect images and videos to be part of the content they consume. Including media in AMP can create a richer and more engaging experience for your visitors.

    Ultimately, the decision of whether to include media in your AMP pages depends on your specific needs and priorities. If you’re unsure, you can test both options and see what works best for your website.

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    @darrencarlin can you please share reference guide to third-party provider or share the code that they asked to include?

    Plugin Support Milind More

    (@milindmore22)

    Hello @darrencarlin

    Thank you for reaching out to us, You don’t need to add the component script manually.

    When AMP plugin detects use of AMP component, it will include the required script for it, Any scripts with no component present will result in validation error, or they will be removed by AMP plugin.

    E.g.: if you use an <amp-script> component in your page AMP, the plugin will detect its usage and include the required script for it.

    We hope this is helpful!

    Plugin Support Milind More

    (@milindmore22)

    Hello @ravijain

    Thank you for reaching out to us, The site scan feature will scan your site and point out plugin and theme that are having validation issues, there might conflict with one of the plugins or your theme.

    We will recommend using health and troubleshooting plugin to debug.

    To narrow down further, could you use the Health Check & Troubleshooting plugin and enable its troubleshooting mode.

    This mode disables active plugins and switches to a default theme safely since it only affects the experience of the logged-in user.

    We hope this helps!

Viewing 15 replies - 1 through 15 (of 4,086 total)