Jump to content
Sign in to follow this  
rlechliter

When adding BuddyPress, Features disappear

Recommended Posts

rlechliter

I have it set so that the Features only appear on the homepage, which works fine until I install BuddyPress. As soon as I do that, the Features disappear, even though I can still see it listed in the Source Code. Home page is: http://www.lifestyleandcharity.com/

Share this post


Link to post
Share on other sites
bryan-hadaway

Are you adding the official BuddyPress or perhaps a certain plugin? Thanks, Bryan

Share this post


Link to post
Share on other sites
rlechliter

I added BuddyPress (by The BuddyPress Community) and Buddypress Template Pack (by apeatling)

Share this post


Link to post
Share on other sites
bryan-hadaway

You are using the very latest version of PlatformPro?: http://www.pagelines.com/launchpad/member.php It could be a WordPress 3.1 compatibility issue. I haven't seen it before. Are you getting any error messages? Let me mark for developer review for some insight. Thanks, Bryan

Share this post


Link to post
Share on other sites
rlechliter

Yes, I am on Pagelines Pro 1.3.1 and the issue is still happening. I have tried recreating the Featured box, but it still won't show up. It is strange because the code is in the source but just not showing up on the actual page. There are no errors.

Share this post


Link to post
Share on other sites
rlechliter

I played around a little more with it and noticed this Custom Code was disabling the Featured Box and sidebars:

.home #sidebar_secondary{display:none}; #sidebar_secondary{display:inline} #sidebar_primary{display:none}; .home #sidebar_primary{display:inline} #feature{display:none}; .home #feature{display:inline}
After I removed it, the Features shows up, but on all pages. It seems that my option to "Hide on Posts Pages" actually hides on only my homepage, which is why that CSS Custom Code was originally added. Does anyone know how to fix this? That should resolve the issue, as I want my Features and Primary Sidebar ONLY on my homepage, and just the Secondary Sidebar ONLY on all pages other than the homepage.

Share this post


Link to post
Share on other sites
Sourena

The solutions are pretty easy: 1. Use the "Feature Page" template only on the homepage not on every page. 2. Use "Widget Logic" plugin to display certain widgets only on the homepage.


alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
Sourena

By the way, are you sure you installed the "Buddypress Template Pack" correctly? You need to copy some folders from the pack to your theme's folder.


alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
rlechliter

Could you provide more direction on solutions 1/2? I'm not clear about those options. Also, I reinstalled the Buddypress Template Pack, so that has been fixed. Also, the solution still does not explain why the code is reversed when it comes to the "hide on post pages" option, which is what I would like to use.

Share this post


Link to post
Share on other sites
bryan-hadaway

1. Have you set a static front page via Settings > Reading? Then you could just set the "Home" page (you would need to create in Pages) as the static front page and then when editing it set it as a feature page from the template dropdown option. 2. Here you go: http://wordpress.org/extend/plugins/widget-logic/ Thanks, Bryan

Share this post


Link to post
Share on other sites
rlechliter

Unfortunately, I need a dynamic page displaying my most recent posts. I know I keep bringing it up, but is there no solution to fixing the "Hide on Posts Pages" function not working?

Share this post


Link to post
Share on other sites
bryan-hadaway

Marking for developer review, they should be able to get to the bottom of this. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns

Yes since your home page is actually your main blog page this "Hide on Posts Pages" is going to hide it there. Where is your feature section located in the template setup? You should place it on the posts page template but this will also show it on category and single pages too so for this solution we could add a conditional through hooks something like this in your functions.php file so that the page load time is faster instead of hiding with CSS: ` add_action('pagelines_before_feature', 'condition_open'); function condition_open(){ ?> <?php if (is_home()) { ?> <?php } add_action('pagelines_after_feature', 'condition_close'); function condition_close(){ ?> <?php } ?> <?php } `

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×