uc
Expert
Friendly Neighbour
Member Likes (0)
Hi there,
I need to customize buddypress social theme home page namely:
1. for intro image to be present for both logged in and logged out
2. Be able to change the intro text for logged in
Thanks
UC

Responses (7)
Support Chimp (joined March 2010) Likes (0)
Hey there.
To get exactly what you want you will either need to code something up, hire a developer of use plugins.
For the main body of the page, you could create a normal page here:
Admin --> Pages --> Admin
Then assign it as the main page under Reading Settings:
Admin --> Settings --> Reading
You have an option there to nominate a page for the front of your site.
For logged in and out content, there is our Membership plugin which might be overkill for you but it is supported:
Or an older plugin which looks rather good:
http://wordpress.org/extend/plugins/logged-in-user-shortcode/
There could be other options for plugins as well.
If you wanted to do your own thing then something like:
It would require more than that unless of course you hardcoded everything which isn't really the best options. You would want to develop it further and make it more dynamic.
Take care.
Member (joined January 2012) Likes (0)
Hi Tim,
The theme already works that way. i.e when not logged in it shows the intro image and intro text and when not logged in it does not show that. In essence I want the opposite. So I am looking to modify the bit of code that is controlling and move it the file/template to the child theme.
I can't seem to locate that.
UC
Support Chimp (joined March 2010) Likes (0)
Ah I see, I read your first post as you wanted to do something custom yourself.
The file is:
/lib/templates/wp-template/top-header.php
Line 12 is the start.
All the header code should be there for the image and message.
Take care.
Member (joined January 2012) Likes (0)
Tim,
The code snippet that controls that is not in top-header.php. Will keep checking other files
uc
Member (joined January 2012) Likes (0)
Hi Tim,
I have been able to make some progress. created another top-header (for logged in member)
Then added some code on header.php for logged in member referencing the new top header.I have all the edit files are in child theme.
hope nothing breaks
Uc
Support Chimp (joined March 2010) Likes (0)
It is the image and text in my screenshot you are wanting to edit?
Are you sorted now with this?
Take care.
Member (joined January 2012) Likes (0)
Yes, it is. The default behavior is when logged in there is header is not there and i was looking for the code snippet that controls that. it is in the header.php. I had to modify it and customized top-header.php so that header is there when logged in as well but with different text.
Thanks
UC
Become a member