Yoast SEO site name appears twice when using Warp 6

Written by Jonathan on . Posted in Programming 3 Comments

Warp 6 head.php details

Yoast SEO is a phenomenal plugin for WordPress. It is an SEO tool that can rewrite your site page titles on the fly (in addition to a smattering of other SEO goodies). However, when using the Warp Framework, the Yoast SEO site name may output twice in your page title. This is a result of the Warp framework outputting the site name before it outputs wp_title(); To get rid of the first instance of the site name in your page title you need to alter the following  file:

\wp-content\themes\dryer\warp\systems\wordpress\layouts\head.php at line 6:

1
<?php bloginfo('name'); ?><?php wp_title(); ?>

Remove the first php element so that it doesn’t output the blog name. As such, line 6 of head.php now reads:

1
<?php wp_title(); ?>

That’s it! Hope it helps

Trackback from your site.

Comments (3)

  • Blue Llama

    |

    Brilliant! Thank you. This was driving me a bit mad. Nice, SEO friendly page titles now in place! Thanks Jonathan.

    Reply

  • Miltos

    |

    Thank you so much! Exact solution, perfect description!

    Reply

  • Jesse Stilwell

    |

    Thank you so much. This was driving me insane on a number of my sites.

    Reply

Leave a comment