• Resolved Tony

    (@alpha2009)


    Using your womnderful plugin ‘The SEO Framework’the following meta data is published automatically with each webpage header

    <meta property=”og:locale” content=”en_US” />

    Is there a way to delete that line. I know I could change the repsective value in the WordPress Admin panel language setting to the needed ‘de-DE’ but I don’t want to change it here

    Thanks for checking into my problem
    Best, Tony

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Tony,

    Preferably, you should set the correct language for the site in the WordPress general settings. This helps browsers and other platforms choose the right typesets for display, helping with auto-translate features, etc.

    Introduced in WordPress v4.7, each registered user can choose an installed language as their display-language for the WordPress interface, without affecting the site’s language.

    Nevertheless, if you wish to clear this meta tag, then you must do so programmatically. This snippet will do (where do I place filters?):

    add_filter( 'the_seo_framework_oglocale_output', '__return_empty_string' );
    
    Thread Starter Tony

    (@alpha2009)

    Thank you so much! I really appreciate your support!

    Best, Tony

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Delete og:locale possible?’ is closed to new replies.