Change IDs to suit dev site
authorLaury GvR <laury@gaslightmedia.com>
Tue, 28 Jun 2016 13:10:56 +0000 (09:10 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 28 Jun 2016 13:10:56 +0000 (09:10 -0400)
functions.php
parts/interactive-map.php

index 83dd35b..623a96b 100644 (file)
@@ -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();
index d9d8bf9..367ddeb 100644 (file)
@@ -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) {