braginteractive / materialwp

Material Design WordPress Theme
https://materialwp.com
Other
461 stars 123 forks source link

page title is double #24

Closed UncleDan closed 9 years ago

UncleDan commented 9 years ago

Using materialwp on my new site http://www.danielelolli.it/ I see the blog title and subtitle twice in the page title (on the browser tab). My problem or a little bug? Any fix?

HoshinoTouko commented 9 years ago

I have the same problem. I install SEO Ultimate and the problem solved

braginteractive commented 9 years ago

This should be fixed if you pull the latest files down.

UncleDan commented 9 years ago

I just re-installed the theme with files freshly downloaded from the Github repo (rel. 0.0.4, commit b50d345a78) but the bug seems still there.

image

braginteractive commented 9 years ago

Look in your header.php file and make sure you do not have a title tag listed. WordPress takes care of this now.

Also, are you using any type of SEO plugin?

UncleDan commented 9 years ago

First: thank you for your patience. image image

braginteractive commented 9 years ago

The title is probably cached then unless something is setting the title.

UncleDan commented 9 years ago

I think the problem is the dot in line 53 of file extras.php, but I do not know either if the function is used for something else or how to upload the correction ti Github. temp

braginteractive commented 9 years ago

Try the latest extras.php file now. It shouldn't be using that title section unless the user is using WP 4.1 or less

UncleDan commented 9 years ago

Perfect, thanks.