From: Anthony Talarico Date: Thu, 28 Jun 2018 13:34:43 +0000 (-0400) Subject: adding dashes to page names with spaces X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d28b193a825f8e55c383ba24684dd59bf01cd088;p=WP-Themes%2Fhospitalitymentality.git adding dashes to page names with spaces --- diff --git a/header.php b/header.php index 1b1b946..bf97991 100644 --- a/header.php +++ b/header.php @@ -26,7 +26,7 @@ post_title); + $page = strtolower(str_replace(" ","-",$post->post_title)); ?> data-page="">