Hey @aidanashby – thank you for your message. You can exclude posts using the post id. This will deactivate the encoding on those specific pages.
Simply activate the advanced settings for that and you will see the text field.
Since our plugin should not break the site, it would be great if you can share some more details on how the issue looks like. Alternatively, feel free to share some steps so that I can reproduce the issue.
Our goal is to keep the plugin compatible with every website setup and therefore, we believe that this might be a bug.
Thanks already a lot!
If you have further questions, feel free to let me know.
Thread Starter
Aidan
(@aidanashby)
Excluding every post by post ID is unrealistic for sites with many posts.
The AMP pages that Email Encoder is injecting invalid AMP code into is AMP for WP – Accelerated Mobile Pages by Ahmed Kaludi, Mohammed Kaludi. It may be producing the code in other areas of the AMP page but what Google Search Console has picked up on is the email share setting that appears at the bottom of the AMP page in a floating box.
@aidanashby – got it – Google also doesn’t render the site for grabbing the meta description. Therefore I believe it shows up wrong. What I will do: I’ll launch with our next version a filter that lets you manipulate the outcome of the is_post_excluded function. This way, you can simply hook into it and filter it based on your needs.
Once it is done, I will provide you here some sample code as well.
Hi @aidanashby – I just wanted to inform you that we now launched our newest version, which also addresses your request regarding the filterable post-exludes.
We now have a new filter available called eeb/validate/is_post_excluded – It allows you to filter wether a post should be protected or not.
You can find further information here: https://ironikus.com/docs/knowledge-base/filter-excluded-posts-list/
If you need anything else, feel free to reach out again!