Save file.
[Resolved] Avanue theme: Sidebar being pushed down, forum not there either
-
Hi,
I have just installed everything I needed to get the Buddypress working but no matter how hard I try it’s not coming up. I am using this theme: http://themeforest.net/item/avenue-a-wordpress-magazine-theme/289114
This is my index.php file : http://pastebin.com/p2yAP19Z
My site is : Applarynx.com fyiIf you need admin access to my site that’s fine, I just need to get this going soon for my new site that I just put up!
Thanks guys
-
Have you used the template pack for BuddyPress? You need to either use that or make your theme a child theme of BuddyPress default. This is because the theme you are using is not a BuddyPress compatible theme from what I can see.
I added the files, but the alignment doesn’t seem to want to work for me. I tried copying what I need to copy and no go!
Help is much appreciated @karmatosed@workingman just so we can align the structure in one go, please post the codes for header.php, page.php, sidebar.php and footer.php as well.
Footer: http://pastebin.com/xADvMKaz
Header: http://pastebin.com/gsEAmsKH
Page: http://pastebin.com/quKdw4z1
Sidebar: http://pastebin.com/D2kGkkjU
Thanks @mercime for the help, I very much appreciate it.Should be fun getting this going!
@workingman Based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.
If you’ve revised any of the BP template files transferred to your avenue theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
A. COPY your theme’s header.php and Save As > header-buddypress.php
Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
``B. COPY your theme’s sidebar.php file and Save As > sidebar-buddypress.php
Open up sidebar-buddypress.php and at the TOP of the file, before all other code, add the following:
``
Then at the very BOTTOM of the same file, below all other code, add the following
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save file.
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/avenue/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.
Thanks so much for the help, my site looks great now! check it out when you have the time: applarynx.com I really appreciate your time.
@workingman you’re welcome. Marking this topic as resolved
- The topic ‘[Resolved] Avanue theme: Sidebar being pushed down, forum not there either’ is closed to new replies.