Support Forum
OG, yea. I remember our developer changing those to Jetpack... thanks, I'll get that corrected.
``````````````````````````````
Followed your instructions. We now have this:
function my_canonical_exclude( $canonical ) {
global $post;
if ( $post->ID == 11974 ) $canonical = false;
return $canonical;
}
add_filter( 'wpseo_canonical', 'my_canonical_exclude' );
add_action('sph_forum_startup', 'do_my_title_filter');
function do_my_title_filter() {
remove_filter('wp_title', 'sp_setup_browser_title', 99, 3); # want it to run last
add_filter('wp_title', 'sp_setup_browser_title', 16, 3); # want it to run last
}
?>
Still no titles. (I did clear my cache, etc.)
Would you like FTP access?
what do you mean no titles?? I see unique titles on forum pages now... its only the topic title but that is what you have it set to be on forum - components - seo...
seems working fine now...
Visit Cruise Talk Central and Mr Papa's World
Are we looking at the same site?
-- Home Page - No Title http://screencast.com/t/oX4b58di
-- Topic Index - No Title http://screencast.com/t/mcS9zU1b
However, If I drill-down to the post level, there *is* a title:
-- http://screencast.com/t/Vi4y8eqge
Are you saying it is acceptable to *not* display titles in the first two examples?
did you look at your seo options like I said????
you are explicitly excluding page name and forum name from the title... so if you are on main forum page (group view) or a specific forum page (forum view), you wont get a title... you do get a title on the topic view because you are including the topic title...
Visit Cruise Talk Central and Mr Papa's World
Np.. Happy to help... Worthwhile for me to as wp seo has just changed the priority of their title hook... Hence the change from 10 to 16...
This title filtering is a moving target as plugins and themes are constantly changing it to remain told dog...
Visit Cruise Talk Central and Mr Papa's World
So, this morning our Moz report showed 1,700+ pages 'missing titles' ...
Please see: http://www.growth trac dot com/marriage-forums/resolving-conflict/continual-friction/
** broke up the url because Google has a habit of indexing these.
Note the title text is displaying in the upper left.
Same with our home page : http://www.growth trac dot com/marriage-forums/
Trust me: I have changed nothing since our last chat.
What is my next step? Thanks Steve.
EDIT
Correction: Our developer has made changes since then, however he has not made changes to the forums.
sorry, but something changed... no recent genesis updates either... according to wp seo change log, no updates near this area either...
genesis title at top is here: https://simple-press.com/suppo.....e/#p129907
I would re-verify all the changes from this thread and make sure they are still good... I do note you are running our default wp theme... we have always recommended making your own theme in case you updated our theme where you would lose all your customizations...
Visit Cruise Talk Central and Mr Papa's World
Resolved.
Both of the functions we added previously to spFunctions weren't there (see below).
So, wondering if we did an update that over-wrote the file?
Thanks, Steve
Jim
````````````````````````````````
function my_canonical_exclude( $canonical ) {
global $post;
if ( $post->ID == 11974 ) $canonical = false;
return $canonical;
}
add_filter( 'wpseo_canonical', 'my_canonical_exclude' );
add_action('sph_forum_startup', 'do_my_title_filter');
function do_my_title_filter() {
remove_filter('wp_title', 'sp_setup_browser_title', 99, 3); # want it to run last
add_filter('wp_title', 'sp_setup_browser_title', 16, 3); # want it to run last
}
````````````````````````````````
?>
Which is exactly actuly what I said and why we say create your own theme for changes... Incidentally, there are no auto upgrades... They have to be manually initiated...
So you need to remake your changes....
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)