From: Laury GvR Date: Fri, 19 Feb 2016 21:41:13 +0000 (-0500) Subject: Remove the reservation redirection X-Git-Tag: v1.0.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=ecd8807d78e94b0c7ca2429a6bcf2254face4789;p=WP-Themes%2Fpicturedrocksinn.git Remove the reservation redirection --- diff --git a/functions.php b/functions.php index e60129d..0c189b6 100755 --- a/functions.php +++ b/functions.php @@ -47,10 +47,10 @@ function glm_page_menu($parent = 0, $class = '') $childs = get_pages('child_of=' . $page->ID); $pageUrl = get_permalink($page->ID); $targetCheck = ""; - if ($page->ID == 20) { - $pageUrl = "http://www.booking.com/hotel/us/days-inn-munising.html?aid=389181;label=metagha-link-mapresultsUS-hotel-509425_dev-desktop_los-1_room-0_lang-en_curr-USD;sid=66fec06c0d0367b2df3d172f9eab90ca;dcid=12;checkin=2016-02-28;checkout=2016-02-29;dist=0;room1=A%2CA;sb_price_type=total;srfid=745e6a3182486f4762ee8af26b7a1216db300661X1;type=total;ucfs=1&"; - $targetCheck = 'target="_blank" '; - } +// if ($page->ID == 20) { +// $pageUrl = "http://www.booking.com/hotel/us/days-inn-munising.html?aid=389181;label=metagha-link-mapresultsUS-hotel-509425_dev-desktop_los-1_room-0_lang-en_curr-USD;sid=66fec06c0d0367b2df3d172f9eab90ca;dcid=12;checkin=2016-02-28;checkout=2016-02-29;dist=0;room1=A%2CA;sb_price_type=total;srfid=745e6a3182486f4762ee8af26b7a1216db300661X1;type=total;ucfs=1&"; +// $targetCheck = 'target="_blank" '; +// } if (count($childs) > 0) { echo '
  • '."\n";