Skip to:
Content
Pages
Categories
Search
Top
Bottom

Theme authors take note: Templates and Loops are not just for the Member Theme!

  • Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    See Andy\’s series of how to articles on templates and the loop for each content type. Also please take note that these templates can be used in *any* wp theme, including the bp home theme. Their use is demonstrated in the Member Theme but they can be used anywhere in any theme.

    http://codex.buddypress.org/developer-docs/custom-buddypress-loops/

    The fun can really begin now.

    • Group themes for wp blogs.
    • Easy to build widgets for just about any content related to BP. The Member, Group, Activity and Recent Blog Posts widgets are just loops with a fancy widget wrapper and back end output control.

    You get the idea. Take a look at the docs and the code for each content type’s template and the lovely template tags. These things are generally located in /buddypress/bp-[content type]/bp-[content type]-templatetags.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme designers should be able to customize the output as well as look and feel of their themes with this loop documentation. It’ll be nice to see what people come up with.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    This will pretty much allow for unlimited access to any BuddyPress data from any other part of your site in a very straight forward and easy way.

    Outstanding work and great write-ups too!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.