Tagged: seo
-
AuthorPosts
-
December 3, 2015 at 8:54 pm #546640
Hi,
I’ve been having problem getting Enfold to work with an SEO plugin (The SEO Framework) . The problem being that my home page title does not match the og:title. The plugin author suggests the following:The theme you’re using is using outdated standards and is doing it wrong. Inform your theme author about this issue. Give the theme author this link: https://codex.wordpress.org/Title_Tag And give the theme author these pieces of code:
//* functions.php add_theme_support( 'title-tag' );
//* header.php if ( ! function_exists( '_wp_render_title_tag' ) ) { //* Below WordPress 4.1 compatibility function theme_slug_render_title() { /** * Please, don't add any parameters to the wp_title function, except the empty one provided. Don't 'beautify' the title: It's bad for SEO. * Don't add anything else between the title tag. No blogname, nothing. */ ?><title><?php wp_title(''); ?></title><?php } add_action( 'wp_head', 'theme_slug_render_title' ); }
What are your thoughts on this?
December 3, 2015 at 9:08 pm #546646Hey Barnez1!
I have added the issue to our git, so we can include that fix maybe as an upcoming update.
Thanks a lot for letting us know, we actually can consider update that, but in no case it is outdated, as WordPress is still using the title tag, as we using it.Have you considered any other plugin, like Yoast SEO?
Thanks a lo
Regards,
BasilisDecember 3, 2015 at 9:19 pm #546650Hi Basillis,
Thanks for getting back so quickly and for considering this for a future update. I’ve been with Yoast SEO for years, but their recent updates have been unpredictable over the last 18 months and hence I’m looking to change.
Cheers,
BarnezDecember 7, 2015 at 5:03 am #547754Hi!
The theme has its own filter for situation like this and its called “avf_title_tag”. You can use that to modify the title according to your needs. Example: https://kriesi.at/support/topic/duplicated-titles-w-yoast-seo-plugin/#post-367661
Regards,
IsmaelDecember 7, 2015 at 1:37 pm #547961Hi,
Thanks for picking back up on this Ismael. As it happens the SEO plugin developer.has created a filter to resolve the issue, but it’s great to know that Enfold also has this covered. Keep up the great work, and excellent support!
Regards,
Barnez -
AuthorPosts
- The topic ‘SEO issue: My home page title is different from the og:title’ is closed to new replies.