From: Laury GvR Date: Tue, 9 Feb 2016 20:55:37 +0000 (-0500) Subject: Replacing deprecated get_page with get_post X-Git-Tag: v1.1.5^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cc22234893d4810c1f1b10a6483e2fd40ae60271;p=WP-Themes%2Fmountpleasantwow.git Replacing deprecated get_page with get_post --- diff --git a/footer.php b/footer.php index 458f472..0d3ba57 100644 --- a/footer.php +++ b/footer.php @@ -17,7 +17,7 @@ Twitter YouTube Instagram - + Blog diff --git a/front-page.php b/front-page.php index 28349ec..20969d9 100644 --- a/front-page.php +++ b/front-page.php @@ -18,7 +18,7 @@

MICHIGAN’S ANSWER TO GREAT GOLF

Whether you’re looking for classic layouts, championship challenges, or a weekend oasis of golf, Michigan’s Central Swing has it all. With 11 amazing courses and 11 relaxing retreats, Michigan’s Central Swing is the destination every golfer is looking for.

- + more info... @@ -39,3 +39,6 @@
+ + + diff --git a/functions.php b/functions.php index d421303..f742f00 100644 --- a/functions.php +++ b/functions.php @@ -335,7 +335,7 @@ function glm_side_menu() { global $post; $parents = get_post_ancestors($post->ID); $id = ($parents) ? $parents[count($parents)-1]: $post->ID; - $parent = get_page( $id ); + $parent = get_post( $id ); if ($id == 0) { $ID = $post->ID; } else { diff --git a/header.php b/header.php index 7af0740..aaf8999 100644 --- a/header.php +++ b/header.php @@ -27,7 +27,7 @@ Note 2: 'Nb cols' parameter for Bootstrap only. Twitter YouTube Instagram - + Blog @@ -39,7 +39,7 @@ Note 2: 'Nb cols' parameter for Bootstrap only.