From: Anthony Talarico Date: Thu, 10 May 2018 18:04:45 +0000 (-0400) Subject: fixing the panel selection X-Git-Tag: v1.0.0^2~32 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=00f93178adcb0f9b309bdd148e9808be49bd34e0;p=WP-Themes%2Flaurium.git fixing the panel selection --- diff --git a/inc/accesspress-options.php b/inc/accesspress-options.php index 0d79ea6..d21a172 100644 --- a/inc/accesspress-options.php +++ b/inc/accesspress-options.php @@ -81,7 +81,7 @@ function optionsframework_options() { $query = new WP_Query($args); // Pull all the pages into an array $options_pages = array(); - $options_pages_obj = $query; + $options_pages_obj = $query->posts; $options_pages[''] = 'Select a page:'; foreach ($options_pages_obj as $page) { $options_pages[$page->ID] = $page->post_title; diff --git a/index-parallax.php b/index-parallax.php index 3f627e8..2d0116f 100644 --- a/index-parallax.php +++ b/index-parallax.php @@ -37,7 +37,6 @@ 'glm-panel', - 'cat' => 'panel', 'posts_per_page' => -1 ); $count_service = 0;