Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Amit Paul

    (@paulamit)

    Hi @procarmanuals

    Thank you for reaching out!

    Yes, it’s possible to disable EmbedPress functionality on AMP pages using custom code. You can achieve this by utilizing the appropriate hook along with your AMP plugin’s conditional tag to detect when a page is being served as AMP.

    By adding a custom function with the correct hook and conditional tag, you can prevent EmbedPress from loading its resources on AMP pages.

    Please note that we don’t provide or support this kinda custom code implementation. If you choose to proceed, we recommend consulting a developer for assistance.

    Let us know if you have any other questions!
    Best regards,

    Thread Starter proguid

    (@procarmanuals)

    Can you provide options on how to possibly disable your plugin?
    I will pass this information to the creators of the AMP plugin.

    Plugin Support AR Rasel

    (@arrasel403)

    Hi @procarmanuals

    Hope you are doing well. Please use the below code where the AMP plugin is loading.

    remove_shortcode( 'embedpress' );
    remove_shortcode( 'embedpress_pdf' );
    remove_shortcode( 'embedpress_doc' );

    Hope this will help you. Let us know if you need any other help.

    Thanks and have a good day!

    Plugin Support AR Rasel

    (@arrasel403)

    Hi @procarmanuals ,

    Hope you are doing well. I just wanted to follow up and check if the code I shared was helpful.

    Let me know if you have any questions or need any further assistance.

    Thanks!

    Thread Starter proguid

    (@procarmanuals)

    I can’t give you an answer yet.
    The provided codes were forwarded by the creator of the AMP plugin. They promised to provide an update on the issue later.
    As soon as I get a reply and the codes work, I will update this thread.

    Thread Starter proguid

    (@procarmanuals)

    Status update:
    Still no response on the issue of excluding EmbedPress from amp pages. Very long response time.

    Plugin Support AR Rasel

    (@arrasel403)

    Hi @procarmanuals

    Hope you are doing well.

    Let us know if you have any update for the above issue. We are waiting for your update.

    Thanks!

    Thread Starter proguid

    (@procarmanuals)

    I didn’t get an answer from the author of the AMP plugin and decided to give up AMP pages altogether.
    The problem was not solved, the plugin is still not compatible with AMP and causes problems in google console.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.