Sidebars Not showing when selected
-
Hi there
Been using your plugin for years and I really appreciate the value you’ve added to the genesis framework.
This is the first time I’ve had this issue with this plugin and it seemed to work before I updated genesis and wordpress.
The issue is when I select the sidebar from the drop down in my edit page admin area it does not show that sidebar on the front end page after saving and refreshing.
Not much else to it, just seems to not be working. I have done a full stop plugins and work from the ground up to see whats causing it, but it still seems to happen
Regards
Craig
-
What child theme are you using?
Genesis Sample child theme, with a custom build.
Have you made any widget area customizations?
I have added some widget areas, but I normally do that. I cant seem to find anything that could be hindering the plugin
Heres a link to my functions.php file if you want to check
https://gist.github.com/thewebattic/8828101
Thanks Craig
Does it not show a sidebar at all? Or do you get the default sidebar instead?
I’m just getting the default sidebar showing instead
You should never use query_posts in your theme:
function dma_change_post_order(){ if ( is_archive() ){ global $wp_query; $args = array_merge( $wp_query->query, array( 'orderby' => 'title','order' => 'ASC' ) ); query_posts( $args ); } } add_action('genesis_before_loop','dma_change_post_order');use pre_get_posts instead.
Try commenting that out & adding the following to your child theme
add_action( 'genesis_after_loop', 'wp_reset_query' );
The topic ‘Sidebars Not showing when selected’ is closed to new replies.