From: Laury GvR Date: Wed, 6 Feb 2019 00:59:05 +0000 (-0500) Subject: Use numeric category references instead of slugs X-Git-Tag: v1.0.0^2~108^2~23 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=214babd5fa9382a13221b4eae536056921a666c6;p=WP-Themes%2Fuptravel.git Use numeric category references instead of slugs --- diff --git a/sections/interior-page.php b/sections/interior-page.php index 0d9c339..ea77553 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -53,10 +53,10 @@ ID], 'Water') !== false ){ $debugMsg[] = "I'm a waterfall page"; - $memberCategory = 'waterfalls'; + $memberCategory = '25'; // L: 3, dev70: 25 } else if(strpos($countyChildren[$post->ID], 'Light') !== false ){ $debugMsg[] = "I'm a lighthouse page"; - $memberCategory = 'lighthouses'; + $memberCategory = '21'; // L: 4, ddev70: 21 } else { $debugMsg[] = "I'm neither waterfall nor a light house"; } @@ -95,8 +95,8 @@
ID)) { ?>