marcodeltongo / thematic

Automatically exported from code.google.com/p/thematic
0 stars 0 forks source link

1.0.2 <title> tag is empty on home page #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
on the home page there is nothing in the title tag.  on other pages the site 
name is missing. :(

Original issue reported on code.google.com by helgathe...@gmail.com on 1 Jul 2012 at 2:34

GoogleCodeExporter commented 9 years ago
i've traced the problem down to this part of thematic_wptitle()

if ( is_feed() || thematic_seo() )
        return $wp_doctitle;

but thematic_seo() returns TRUE if no SEO plugin exists.... so the check should 
be:

if ( is_feed() || !thematic_seo() )
        return $wp_doctitle;

i should verify the other places in header-extensions are using thematic_seo 
correctly.

Original comment by helgathe...@gmail.com on 1 Jul 2012 at 2:58

Attachments:

GoogleCodeExporter commented 9 years ago
tweaked patch.... just to reduce nested IF statements

Original comment by helgathe...@gmail.com on 1 Jul 2012 at 3:08

Attachments:

GoogleCodeExporter commented 9 years ago
i just discovered how to make branches!  so i made a branch for this.  

Original comment by helgathe...@gmail.com on 2 Jul 2012 at 3:30

GoogleCodeExporter commented 9 years ago
additionally, wp_title apparently has no support for custom taxonomies? need to 
check on cpts too

Original comment by helgathe...@gmail.com on 3 Jul 2012 at 1:24