-
Author
-
May 25, 2014 at 15:01 #18784vhankimParticipant
my single.php in child theme.
—-
<?php
$post = $wp_query->post;if (in_category(‘1′)) {
include(TEMPLATEPATH.’/single1.php’);
} elseif (in_category(‘2′)) {
include(TEMPLATEPATH.’/single2.php’);
} else {
include(TEMPLATEPATH.’/single_default.php’);
}
?>—-
I want to custom sidebar (not extra sidebar) in my post on specific category.
I’ve tried, could not…
I need your advice. Can you help me?May 30, 2014 at 23:21 #19117AbeKeymasterHi, If you need a different sidebar then do the conditionals on the sidebar template: wp-content\themes\sweetdate\sidebar.php
The code above does not make too much sense. Try hiring a developer to help you with customizations
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.May 31, 2014 at 04:32 #19139PatagoniaParticipantMake it easy for yourself:
http://wordpress.org/plugins/content-aware-sidebars/June 10, 2014 at 13:57 #19617NudricaParticipantHi Patagonia
I specific sidebars for each group and the subpages. Im trying Content Aware Sidebars but cant get it to work. It keeps showing the main sidebar
Got that part working? or do anybody solved something similar?
June 10, 2014 at 21:02 #19654PatagoniaParticipantIt worked fine for me, but note that the extra sidebar (on 3 column layouts) is not a regular sidebar and cannot be changed with any plugin or even through Kleo.
@abe, did you fix this for the 1.5 release?Cheers
June 10, 2014 at 22:11 #19656NudricaParticipantI only use one sidebar go these pages so that not the problem. No matter what I do the main sidebar keeps showing up.
I can change it many other places, but on the group pages don’t work.
June 17, 2014 at 14:20 #19989AbeKeymasterHi @Nudrica, the groups page mapped to Buddypress will take the layout you set in Theme options – Buddypress – Groups Layout.
@Patagonia, the other sidebar from the 3 columns page right now can’t be changed but we have that in mind and come with a solutionHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.June 17, 2014 at 14:22 #19990NudricaParticipantHi Abe – its not the layout there is the problem. I need Content aware sidebars to show there because I need a uniq sidebar on each group page.
June 20, 2014 at 15:12 #20382AbeKeymasterCustomizing each group with different sidebar is not possible since the group link is dynamically generated and it is mapped to only one page. I don’t know if you can find a plugin for that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.