Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Old Version fixes and change logs (http://forum.bytesforall.com/forumdisplay.php?f=37)
-   -   PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title (http://forum.bytesforall.com/showthread.php?t=14816)

juggledad Jul 4, 2011 05:24 AM

PATCH 367-05: Site Title appended after the 'WordPress SEO by Yoast' title
 
1 Attachment(s)
This BUGFIX is only needed if you are using the 'WordPress SEO by Yoast' plugin

Using the 'WordPress SEO by Yoast' plugin, will cause the WordPress 'Site Title' to be added to titles generated by the plugin in the <title>...</title> element (this will show up as the window title)

To fix this issue,
1) Download the attached file.
2) unzip it on your computer
3) FTP it to the 'atahualpa/functions' folder on your host, replacing the copy that is there.

Attachment 1446

--------------------------------------------------------------
The following is the change that was made to the code:
--------------------------------------------------------------
bfa_meta_tage.php lines 11-15 were changed from
HTML Code:

        // if "All-In-One_SEO" Plugin (http://semperfiwebdesign.com) is installed
        if(class_exists('All_in_One_SEO_Pack') OR

        // if "WpSEO" Plugin (http://www.wpseo.de/) is installed
        class_exists('wpSEO') OR

to
HTML Code:

        // if "All-In-One_SEO" Plugin (http://semperfiwebdesign.com) is installed
        if(class_exists('All_in_One_SEO_Pack'))
        { ?> <title><?php wp_title(''); ?></title> <?php }
       
        // if "WpSEO" Plugin (http://www.wpseo.de/) is installed
        elseif (class_exists('wpSEO') OR



All times are GMT -6. The time now is 11:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.