It seems that it doesn’t work for me (some conflict, perhaps)
-
Dear Marcin,
I’m trying to add some filters like
add_filter( 'og_og_locale', '__return_false'); add_filter( 'og_og_type', '__return_false');
or
change title for the home pageadd_filter('og_og_title_meta', 'my_og_og_title_meta'); function my_og_og_title_meta($title) { if ( is_home() ) { return '<meta property="og:title" content="WordPress Title" />'; } return $title; }
but it constantly returns
<meta property="og:title" content="Home" /> <meta property="og:type" content="article" /> <meta property="og:locale" content="ru_RU" />
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘It seems that it doesn’t work for me (some conflict, perhaps)’ is closed to new replies.