Multiple Sidebars in Netleier
This support request was posted in Netelier by chrismacho
- chrismacho August 20, 2013 at 6:27 am
I’m wondering how I can go about implementing multiple sidebars with a plugin like this one: http://wordpress.org/plugins/dynamics-sidebars/ — The Nice Themes Sidebars seem to be overriding anything that this plugin is doing. Any help is much appreciated!
Cheers.
Juanfra Aldasoro August 20, 2013 at 2:39 pmHi Chris,
Thanks for writing. How is that you’re doing the integration?
Best,
Juan.chrismacho August 20, 2013 at 3:23 pmHey there Juan.
Oh, I forgot to mention: This website is heavy on PAGES not POSTS.
I installed that plugin but the only sidebar that will appear on a page template is “Primary”.Thanks.
Juanfra Aldasoro August 20, 2013 at 4:05 pmThen maybe the plugin is not being able to create the sidebars?
Our themes create sidebars by using the WordPress functions, nothing strange that can override the plugin functionality. You can find the code over /netelier/includes/sidebars.php
Have you tried asking the plugin author if it’s working ok?
Best,
Juan.chrismacho August 20, 2013 at 4:19 pmHi Juan,
Yeah I’m not sure what to say. I don’t know much about php. I do html/css/js — It’s the second plugin I’ve tried with the same result. I can try contacting the plugin author as well… The only sidebar that will appear on any page is ‘Primary’ — Does it have anything to do with the argument here:“
Thanks for the help. Cheers.
chrismacho August 20, 2013 at 4:19 pmHi Juan,
Yeah I’m not sure what to say. I don’t know much about php. I do html/css/js — It’s the second plugin I’ve tried with the same result. I can try contacting the plugin author as well… The only sidebar that will appear on any page is ‘Primary’ — Does it have anything to do with the argument here:Thanks for the help. Cheers.
chrismacho August 20, 2013 at 4:20 pmSorry – the code isn’t posting:
if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Primary' ) ) : endif;
Juanfra Aldasoro August 20, 2013 at 4:24 pmHi Chris,
I’m not sure If we’re getting the whole message. Would you please send me your site details over support@nicethemes.com, and what are the two plugins you’ve had problems with.
Best,
Juan.Juanfra Aldasoro August 20, 2013 at 4:27 pmThanks Chris,
That’s the basic code in order to call a sidebar. It’s totally free of any kind of errors and I’m sure it can’t be causing any compatibility problems with any type of plugin.
That’s why I’ve encouraged you to contact the plugin author on my first interaction.
Best,
Juan.Juanfra Aldasoro August 21, 2013 at 3:54 pmHi Chris,
Did you get any feedback from the plugin author?
Best,
Juan.chrismacho August 21, 2013 at 9:21 pmHi Juan,
Thanks for following up. Nothing yet… I’ll let you know when.Juanfra Aldasoro August 21, 2013 at 9:23 pmHi Chris,
Thanks, please keep me updated.
Have a nice day,
Juan.chrismacho August 21, 2013 at 10:47 pmHey Juan,
I’ve been literally grasping at straws and I figured something out. If I change the code in sidebar.php
FROM
`if ( !function_exists( ‘dynamic_sidebar’ ) || !dynamic_sidebar( ‘Primary’ ) ) : endif;`TO
`if ( !function_exists( ‘dynamic_sidebar’ ) || !dynamic_sidebar( ‘Home’ ) ) : endif;`The multiple sidebars plugin will work. I happen to notice that the “Primary” sidebar was always being displayed. I wanted to see if that was controlling it and well, everything is working now. It doesn’t really make sense WHY it’s working now but it is. Seems like now it would just default to the “Home” sidebar but that’s not the case.
Juanfra Aldasoro August 21, 2013 at 11:37 pmHi Chris,
Awesome, I’m happy to hear that you’ve find a solution. However, as you’ve said it doesn’t really make sense why it’s working now 🙂
Please let me know if I can be of any further assistance.
Have a nice day,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.