Hey, we take the locale from your wp installation language and pass it on to meta property.
May I ask why you would want to remove it?
Thread Starter
yassen
(@yassenalshaar)
I bought a News Paper Theme, and after two weeks of preparing the site, I was surprised that the Arabic language did not support writing from right to left. I made many adjustments so that the site could not appear from right to left.
I am afraid of reading the search engines that the site is in the English language, while the site is now showing visitors in Arabic from right to left and the manager’s Dashboard in English from left to right.
Thank you
I understand 🙂
We have a filter for that:
// Disable og:locale
add_filter( 'the_seo_framework_oglocale_output', '__return_empty_string' );
Alternatively, you can specify a language:
// Set og:locale to "ar_AR" (Arabic)
add_filter( 'the_seo_framework_oglocale_output', function( $locale ) {
return 'ar_AR';
} );
I recommend adding those filters to your child theme’s functions.php
file.
Thread Starter
yassen
(@yassenalshaar)
thank you very much
it works well
million stars