From 4ee37f2b432b6532341a405a246a321bcc0b62dd Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 28 Jun 2016 09:10:56 -0400 Subject: [PATCH] Change IDs to suit dev site --- functions.php | 6 +++--- parts/interactive-map.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 83dd35b..623a96b 100644 --- a/functions.php +++ b/functions.php @@ -2,9 +2,9 @@ require_once 'lib/menu-walker.php'; require_once 'lib/navigation.php'; -DEFINE("TOURS_PAGE_ID", 8); -DEFINE("TOURS_GROUP",49); -DEFINE("FRONT_GROUP",50); +DEFINE("REGIONS_PAGE_ID", 100); +DEFINE("REGIONS_GROUP",468); +DEFINE("FRONT_GROUP",470); $ancestorId = null; $includePages = array(); diff --git a/parts/interactive-map.php b/parts/interactive-map.php index d9d8bf9..367ddeb 100644 --- a/parts/interactive-map.php +++ b/parts/interactive-map.php @@ -3,7 +3,7 @@ // Custom variables used by the jQuery for the interactive map wp_register_script('wp_vars_for_vmap',get_stylesheet_directory_uri().'/js/vmap/dist/jquery.vmap.js'); -$blocks = fetch_all_glm_blocks(TOURS_GROUP); +$blocks = fetch_all_glm_blocks(REGIONS_GROUP); //$new_wp_query = new WP_Query(); //$all_wp_pages = $new_wp_query->query(array('post_type' => 'page', 'post_parent' => $toursPageID)); foreach ($blocks as $block) { -- 2.17.1