Skip to content

Commit

Permalink
Merge pull request #38 from lchampel/modification_title_sf2
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 27, 2016
2 parents ea045a6 + 8ad199b commit 3864053
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 3864053

Please sign in to comment.