From: Laury GvR Date: Tue, 28 Jun 2016 13:10:56 +0000 (-0400) Subject: Change IDs to suit dev site X-Git-Tag: v1.0.0^2~135 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4ee37f2b432b6532341a405a246a321bcc0b62dd;p=WP-Themes%2Ffrancejourneys.git Change IDs to suit dev site --- 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) {