Forum Support

Shape 5
March 28, 2024, 12:23:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Yoast SEO Plugin Doesn't work  (Read 1122 times)
elliottben
Jr. Member
**
Offline Offline

Posts: 39



« on: January 23, 2014, 01:02:23 PM »

I'm using Yoast SEO to change my site's title tags, but no matter what they come up as 'page name' [on] 'site name'
http://triadtestsite.com/first-ohio/contact-us

I found the file where this is happening: /wp-content/themes/s5_paradigm_shift/vertex/cms_core_functions.php

But I'm not sure how to fix it. I changed themes and the titles displayed correctly, so I think this is an issue with the Shape5 theme.

Please check and let me know how to get custom page titles to show up.

Thanks
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: January 24, 2014, 09:20:28 AM »

I am working on a patch that I hope to have finished this week and I will see what I can do about restoring the "default" WP head meta for it.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
elliottben
Jr. Member
**
Offline Offline

Posts: 39



« Reply #2 on: January 24, 2014, 10:00:56 AM »

Thanks. Please let me know if you find a solution for this.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: January 27, 2014, 08:57:35 AM »

I will post to the Wordpress FAQ as soon as the patch is ready.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
elliottben
Jr. Member
**
Offline Offline

Posts: 39



« Reply #4 on: February 07, 2014, 11:14:49 AM »

Hi Tristan,

Have you made any progress on this? We're getting close to going live with the site and this SEO issue is one of the last items holding us back.

Thanks,
Elliott
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 on: February 07, 2014, 04:16:49 PM »

I still haven't sorted out what needs to be changed to improve that compatibility, but the function that defines the header meta is s5_head_call() in /vertex/cms_core_functions.php.

If you figure out a good way to make it work, post it back here, and I'll include it in the next framework update.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
elliottben
Jr. Member
**
Offline Offline

Posts: 39



« Reply #6 on: February 13, 2014, 04:46:23 PM »

Ok. I fixed it. Here is the fix for other people who are having this issue:

- Open file /wp-content/themes/s5_paradigm_shift/index.php
- Add the line
Code:
<title><?php wp_title(''); ?></title>
directly beneath the head tag

- Open the file  /wp-content/themes/s5_paradigm_shift/vertex/cms_core_functions.php
- In the function s5_head_call comment out the part that is adding the title tag:
Code:
/*
$header_html = '<title>';
if(strlen(get_post_meta($post->ID, '_s5_outer_title', true) >= 2)){
$header_html .= get_post_meta($post->ID, '_s5_outer_title', true).' on ';}
elseif(is_home() && strlen(s5_get_option('xml_s5_blog_heading')) >= 2){
$header_html .= s5_get_option('xml_s5_blog_heading').' on ';}
else{$header_html .= the_title('',' on ',false);}
$header_html .= get_bloginfo('title');
$header_html .= '</title>';
*/

remove the period from the next line so that the variable $header_html starts fresh:
Code:
$header_html .= '<meta http-equiv="Content-Type" content="text/html; ';
to
Code:
$header_html = '<meta http-equiv="Content-Type" content="text/html; ';

Save files and you're done.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #7 on: February 14, 2014, 02:23:29 PM »

Thanks!  I'll make the changes to the framework.  I'll have to alter the process so it doesn't require an edit to the index, but I think I've already got an idea. 
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.