replacing page id for the events widget permalink
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:46:27 +0000 (09:46 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:46:27 +0000 (09:46 -0400)
interior events widget needed the right page id to get the permalink for the gov
events

parts/event-feed.php

index 05291a7..425d81a 100644 (file)
@@ -2,7 +2,7 @@
 switch($GLOBALS['entity_page_slug']){
     case "government":
         $cat = '3';
-        $eventsPage = get_post(200);
+        $eventsPage = get_post(4422);
         break;
     case "chamber-of-commerce":
         $cat = '4';