-
Author
Tagged: multi theme, jonradio, genesis, primary sidebar, main sidebar
-
February 7, 2015 at 03:19 #45038mitchcanParticipant
Uh oh. I love your theme, but I have come across a problem on day 1. Can you help me?
I bought Kleo primarily to use on our BuddyPress pages. I use a Genesis framwework and Altitude theme as our main theme. In testing, prior to buying Kleo, we were able to use JonRadio Multiple Themes perfectly to have Altitude as our main theme, and other themes on the BP pages.
But after buying Kleo, I can’t use the Primary Sidebar as Kleo names theirs Main Sidebar, and when Kleo is not active as the Primary Theme, this sidebar does not show up in my widgets page. I can get Kleo as the Theme for my BP pages fine, and When Kleo is set as Primary theme, I can add widgets to ‘Main Sidebar’ and they show on the BP pages. But once I move Altitude back to Primary, while the Kleo theme still shows on the BP pages, the sidebar is empty of widgets.
What can I do to make this work?
Thanks in advance for your help.
February 7, 2015 at 03:38 #45040sharmstrModeratorI’m not going to pretend to know much about this, but if its a matter of ‘primary’ vs ‘main’, you can copy the kleo_widgets_init function to your functions.php file and name it primary.
COPY CODEfunction kleo_widgets_init() { register_sidebar( array( 'name' => __( 'Main Sidebar', 'kleo_framework' ), 'id' => 'sidebar-1', 'description' => __( 'Default sidebar', 'kleo_framework' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => 'Footer column 1', 'id' => 'footer-1', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', )); register_sidebar(array( 'name' => 'Footer column 2', 'id' => 'footer-2', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', )); register_sidebar(array( 'name' => 'Footer column 3', 'id' => 'footer-3', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', )); register_sidebar(array( 'name' => 'Footer column 4', 'id' => 'footer-4', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', )); register_sidebar(array( 'name' => 'Extra - for 3 columns pages', 'id' => 'extra', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', )); register_sidebar(array( 'name' => 'Shop sidebar', 'id' => 'shop-1', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', )); }
After that function call, all references to that side bar (at least as far as Kleo is concerned) is ‘sidebar-1’.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 7, 2015 at 07:33 #45049mitchcanParticipantSweetness. So I got this added to functions and then just needed some trial and error to get a widget area activated in Kleo that I could use in Altitude – and so when Altitude was ‘in use as current theme’ I was still able to add widgets to that Kleo initiated area.
I’ll need to go through it again so I have more trial and less error, but so far so good.
Thanks @sharmstr for a timely reply and good info.
February 7, 2015 at 13:10 #45067sharmstrModeratorNo problem. Lucky guess 🙂
I’d really like to learn more about your setup sometime. Sounds really cool.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 10, 2015 at 09:57 #45362mitchcanParticipantJust circling back around on this… been busy reading dozens (hundreds?!) of posts, trying to get up to speed on everything this theme can do.
Related: Either there are like five of you named @sharmstr or you are a *very* busy person. 🙂 Many (most?) of the topics that I noted for follow-up/use with answers were yours. Nice.
Anyhoo, about your comment on the set up, I have been a Genesis user since like Revolution 2, circa 2009, so that’s really all I know, and this Kleo theme was the very first non-Genesis theme I’ve ever purchased. (Now, I’m feeling all guilty cheating on Brian). 🙂 So everything I’ve done with all of the sites has been Genesis. But I wanted something BP focused and loved the Kleo look for BP, so I needed to figure out a way to implement.
That’s where the jonradio multi-theme plugin came in. Works great so far. I’ll likely try and keep the Genesis framework for everything except BP and Woo pages. The other plugin of *significant* importance in making all this work is Plugin Organizer. I do not think any of this would be possible without it because of the way theme and plugin conflicts always popup. Truly amazing plugin.
There’s the big picture of the setup, and some of the why and how we do it.
Thanks for all your efforts around here. Pretty impressive contributions to the community.
Mitch
February 10, 2015 at 12:31 #45379sharmstrModeratorThank you, Mitch. Well, my background is Kleo. I started with WP about 15 months ago and purchased a different BP focused theme to start. I hated it so put everything on the back burner for awhile. Then Kleo came out and I’ve been hooked ever since. Honestly, answering questions is how I learned most of this stuff. Thanks again.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.