From 00f93178adcb0f9b309bdd148e9808be49bd34e0 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 10 May 2018 14:04:45 -0400 Subject: [PATCH] fixing the panel selection --- inc/accesspress-options.php | 2 +- index-parallax.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.17.1