Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Moving sidebar in Buddypress default theme from the right to the left

@flixya4gabby

Participant

@karmatosed. I saw your work at WPMUDEV; I mean how you helped a guy to resolve his buddypress sidebar issue. I was following the tutor but at a point I got hooked up. I thought of joining WPMUDEV immediately and ask you this question, but then again, I am not well equipped financially at the moment. Please if you help me solve this issue out, I will not forget about it so easily. Thanks. Now this is what I have done. FIrstly I added this code in my childtheme functions.php file.

register_sidebars( 1,
array(
'id' => 'leftsidebar',
'name' => 'Christlike-sidebar',
'before_widget' => '<div id="%1$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widgettitle">',
'after_title' => '</h3>'
)
);

Then I saved it and refreshed my browser in my widgets administration panel. Guess what the sidebar did appear. So I added some widgets into it and saved it. Then I created a new sidebar with a notepad in my child theme and named it Christlike-sidebar.php. Then I added this code into it.

<div id="leftsidebar">
</div>

I learnt from numerous tutorials I read online that you have to add a code to your index.php file to enable the sidebar to appear in my site. I obeyed promptly and added this code:

immediately below

I saved everything and refreshed my browser. Damn… nothing appeared. I have read and read and read, searched out for how to do this on Google, Bing, and Yahoo but all my efforts have yielded nothing. Please help me out.

Again, if there is any developer that knows how best I can achieve this, please help me out. Thanks alot to you all.

Gabriel.

Skip to toolbar