projects
/
WP-Themes
/
baragacounty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95b39d
)
replacing page id for the events widget permalink
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:46:27 +0000
(09:46 -0400)
committer
Anthony 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
patch
|
blob
|
history
diff --git
a/parts/event-feed.php
b/parts/event-feed.php
index
05291a7
..
425d81a
100644
(file)
--- a/
parts/event-feed.php
+++ b/
parts/event-feed.php
@@
-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';