-
Author
-
May 17, 2017 at 20:26 #161764LindaK816Participant
Hi there – so I created a custom sidebar called BLOG-sidebar and added it to my BLOG page but it is not showing up at: http://www.treyburn-test.org/blog/
Your expertise is always greatly appreciated : )
Thank you!
LindaK
May 18, 2017 at 23:46 #162029LauraModeratorHello, can you share access so i can check it out? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 1, 2017 at 21:02 #163257LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 5, 2017 at 17:50 #163424RaduModeratorHi,
Just log in via FTP to your site in wp-content/themes/kleo-child/ and create a file named sidebar.php and paste the next code in it
COPY CODE<?php /** * The Sidebar containing the main widget area * * @package WordPress * @subpackage Kleo * @since Kleo 1.0 */ ?> <?php $sidebar_classes = apply_filters( 'kleo_sidebar_classes', '' ); $sidebar_name = apply_filters( 'kleo_sidebar_name', '0' ); ?> <?php if( $_SERVER['REQUEST_URI'] == '/blog/') { get_sidebar('nice-bar'); } ?> <div class="sidebar sidebar-main <?php echo $sidebar_classes; ?>"> <div class="inner-content widgets-container"> <?php if( $_SERVER['REQUEST_URI'] == '/blog/') { get_sidebar('BLOG-sidebar'); } ?> </div><!--end inner-content--> </div><!--end sidebar--> <div class="sidebar sidebar-main <?php echo $sidebar_classes; ?>"> <div class="inner-content widgets-container"> <?php generated_dynamic_sidebar( $sidebar_name );?> </div><!--end inner-content--> </div><!--end sidebar-->
NOTE : Child theme needs to be installed and activated.
Let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 6, 2017 at 00:00 #163476LindaK816ParticipantHello Radu, OK I did what you said above but when I activated the child theme, my website’s layout was all different. I imagine that both the Kleo and Kleo child themes cannot be active at the same time? Thanks, Linda
June 7, 2017 at 18:02 #163653RaduModeratorHi,
The Kleo Child theme has separate theme options, so if you made changes in Child theme options they are used only when activate the theme, and the same principle for Kleo theme ( Parent theme ).
You can export theme settings from parent theme and import them to child theme then the site should look the same
You can save the theme options by navigating to : Wp-admin->theme options -> import/export -> download data file and also can be imported in same way after activating Kleo Child theme by choosing importing option.
Then apply the code to functions.php file
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 19, 2018 at 21:57 #192372LindaK816ParticipantHi Radu,
Are the widgets and sidebars also saved when you export the theme settings?
Thank you,
LindaMarch 20, 2018 at 16:38 #192450RaduModeratorNo, they are handled by the wordpress, you can take a look here : http://www.wpbeginner.com/plugins/how-to-importexport-widget-settings-in-wordpress/
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 21, 2018 at 15:04 #192576LindaK816ParticipantThank you SO much – I am checking that out right now : )
Linda
March 21, 2018 at 16:50 #192596LindaK816ParticipantHi Radu,
The plugin worked great – thanks for pointing that out to me! Also you can close the ticket. I’m not sure if you added the php code above (I never did) but for some reason when I went into my BLOG page today, I was able to select my custom blog-sidebar : )
Thanks again,
LindaMarch 21, 2018 at 18:30 #192620RaduModeratorHi
Great
Have a nice week
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.