Please Read First
Troubleshooting Tips
Frequently Asked Questions
Before Posting Please Disable Wp Super Cache Plugin
When Posting Please Include Your URL.
Search Forum Using Google Search Box Above
Forum Video

Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    0

    Default Socrates Site Title not being overwritten by the Yoast Wordpress SEO Plugin

    Hi,

    I am using the Yoast Wordpress SEO Plugin Version 1.2.3 with Socrates version 3.03 and the Site Title and Meta Tags in Socrates are not being overwritten by the Yoast Wordpress SEO Plugin.

    One solution is to select "Force rewrite titles" in the Title Settings of the Yoast Wordpress SEO Plugin but this is a bad solution because it will increase the page load time. The other solution for WordPress SEO to be able to modify the page titles (which does not increase the page load time) is to edit the Socrates header.php template so the title section of the header.php file should look like this: <title><?php wp_title(''); ?></title>

    To do this, do I just remove:

    <title><?php $metaSettings = get_option("metaSettings"); if(is_home()) { if($metaSettings['sitetitle'] and $metaSettings['sitetitle'] != '') {echo $metaSettings['sitetitle'];} else {bloginfo('name'); }} else { the_title(); }?></title> , from the header.php file and replace it with <title><?php wp_title(''); ?></title>

    Thanks in advance for your help!

  2. #2
    Join Date
    Jun 2010
    Location
    Maine
    Posts
    7,496
    Rep Power
    12

    Default

    Yes, just replace that whole piece of code with the shorter title.

  3. #3
    Join Date
    Jun 2012
    Posts
    7
    Rep Power
    0

    Default

    Dan,

    Thank you!

Similar Threads

  1. Default Site Title
    By Janek in forum Official Support 3.0
    Replies: 3
    Last Post: 03-18-2012, 07:23 PM
  2. Very useful wordpress plugin
    By Cary in forum Plugins
    Replies: 2
    Last Post: 11-23-2011, 11:01 AM
  3. Change title desc using google font plugin
    By livelife in forum Graphics and Design
    Replies: 2
    Last Post: 03-30-2011, 09:50 PM
  4. Site Title Query
    By Supamac in forum General Chat
    Replies: 2
    Last Post: 07-19-2010, 10:40 AM
  5. Best Wordpress SEO plugin
    By ajoy77.dutta in forum Plugins
    Replies: 1
    Last Post: 07-09-2010, 12:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •