Skip to content

Commit

Permalink
Merge pull request #35 from lchampel/modification_title
Browse files Browse the repository at this point in the history
correction pour prendre titre page wordpress si pas de title seo
  • Loading branch information
juliens authored Jun 16, 2016
2 parents f1df3dd + bdde52b commit ae691f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function getTitle()
}
}

if (isset ($titleSeo) === true) {
if (isset ($titleSeo) === true && !empty($titleSeo)) {
echo $titleSeo;
} else {
the_title();
Expand Down

0 comments on commit ae691f8

Please sign in to comment.