Update:
We’ve learned that this issue may be theme related, not plugin related. In our case, we’re using Avada. The affected Avada file is:
/wp-content/themes/avada/templates/author-info.php
Specifically, Line 45:
( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) && Avada()->settings->get( 'disable_rich_snippet_author' ) ) ? '<span class="fn">' . esc_attr( $author_name ) . '</span>' : esc_attr( $author_name )
We need to find a way to add “notranslate” to <span class="fn"> to obtain: <span class="fn notranslate">
The above file helps define the metadata contained inside our blog posts.
Have you dealt with this before? Is there a JS code you can share to accomplish the above?
Thank you!
Plugin Author
edo888
(@edo888)
Hi,
You should be able to create a child theme and simply add it manually, so future updates do not revert the change. You can consult your theme developer for details.
If that is not an option you can do it via javascript, something like:
jQuery('span.fn').addClass('notranslate');
Thanks! 🙂
