From: Laury GvR Date: Tue, 21 Aug 2018 20:15:16 +0000 (-0400) Subject: Map uses hardcoded page IDs instead of slugs X-Git-Tag: v1.0.0^2~42 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e68491346d216753a0fb09b53c444fa266abaa9d;p=WP-Themes%2Fvisitalpena2018.git Map uses hardcoded page IDs instead of slugs --- diff --git a/parts/header-meta.php b/parts/header-meta.php index 07e7269..0f1320d 100644 --- a/parts/header-meta.php +++ b/parts/header-meta.php @@ -2,7 +2,7 @@ <?php wp_title(); ?> - + diff --git a/parts/map-section.php b/parts/map-section.php index 35192be..9209bc1 100644 --- a/parts/map-section.php +++ b/parts/map-section.php @@ -4,13 +4,30 @@
$page, + 'id' => $page, 'post_type' => 'page', 'post_status' => 'publish', 'numberposts' => 1