BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Use Member page as template
Tagged: member page, page template
- This topic has 9 replies, 3 contibutors, and was last updated 9 years, 7 months ago by Paul.
Question
February 7, 2015 at 2:42 pm #35572@style960Is it possible to use the member page as a custom page template? I thought this would be as simple as copying buddypress>members>single>member-header.php. Maybe not?
Thanks,
Paul.Answers
February 7, 2015 at 2:57 pm #35576@alyssa-buddyboss
AlyssaParticipant@style960 you can insert the member loop on any page. But copying the template just doesn’t seem to be the thing you want to do. What are you trying to do BTW?
February 7, 2015 at 3:06 pm #35583@style960@tjchester I want pages to have the base layout as the single member page. Except I’ll add my own menu in the template to replace Profile, Notifications, Messages etc. Don’t want the user name either.
February 8, 2015 at 9:45 am #35608@alyssa-buddyboss
AlyssaParticipant@style960 I would not recommend that. The members pages are a complex compilation of several components and many more functions. You would be better off reproducing the layout via a custom page template and use custom CSS styling to make it appear similar to the members profile pages.
February 9, 2015 at 4:31 am #35647@style960@tjchester Yeah I’ve come to the same conclusion!
February 9, 2015 at 8:50 am #35677@alyssa-buddyboss
AlyssaParticipant🙂 I’ll leave this open in case you have more questions or need to bounce an idea.
March 30, 2015 at 4:38 am #38209@haimedid you manage to built a template? I want to do basically the same thing. I placed some code in the page to get the nice vertical and horizontal tabs (as on bp-member) on one of my non-bp pages but on mobile I want to get rid of the margin and padding settings that are default on page template. My conclusion was also to built a new template from scratch but if you have already done so… 🙂
regards
March 30, 2015 at 1:56 pm #38244@style960@haime I didn’t end up trying this no, I might revisit it at some point, I’m not sure at the moment to be honest.
March 31, 2015 at 2:59 am #38276@haime@style960 I managed to replicate most of the member page with the following code in a normal wordpress page (inserted in text mode!), maybe something you can do also
<div id="buddypress"> <div id="item-nav"> <div id="object-nav" class="item-list-tabs no-ajax"> <ul> <li id="clubinfo-algemeen-li"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/">Algemeen</a></li> <li id="clubinfo-bestuur-li" class="curent selected"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/bestuur/">Bestuur</a></li> <li id="clubinfo-lidmaatschap-li"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/lidmaatschap">Lid worden</a></li> <li id="clubinfo-lessen-li"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/lessen">Lessen</a></li> <li id="clubinfo-documenten-li"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/documenten">Documenten</a></li> <li id="clubinfo-links-li"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/links">Links</a></li> <li id="clubinfo-sponsor-li"><a id="clubinfo-activity" href="http://www.dewaaghalsjes.nl/club-informatie/sponsors">Sponsors</a></li> </ul> </div> </div><!-- #item-nav --> <div id="item-body"> <div id="subnav" class="item-list-tabs no-ajax"> <ul> <li id="bestuur-list" class="selected"><a href="http://www.dewaaghalsjes.nl/club-informatie/bestuur/">Bestuur</a></li> <li id="commisies-list"><a href="http://www.dewaaghalsjes.nl/club-informatie/bestuur/comissies">Comissies</a></li> </ul> </div> [bc_member name="mona" fields="rol,email,telefoon,info"] [bc_member name="barbara" fields="rol,email,telefoon,info"] [bc_member name="godelieve" fields="rol,email,telefoon,info"] [bc_member name="suiterwaal" fields="rol,email,telefoon,info"] [bc_member name="remco" fields="rol,email,telefoon,info"] </div><!-- #item-body --> </div><!-- #buddypress -->
My next step is to separate this code into a template (to circumvent the article wrapper)
March 31, 2015 at 4:50 pm #38332
- The question ‘Use Member page as template’ is closed to new replies.