Theme development woes
Hey there guys,
I’ve been following Buddypress’ progress over the last few months and with the new theme development strategies in BP 1.8+ I’m finding it very difficult to develop my own theme.
All the documentation on the BP Codex seems to either be outdated, or extremely vague and gives no guidance onto how to develop your own theme.
The current way I’ve been developing is starting out with Eddie Machado’s bones and adding php files based on the Template Hierarchy, then calling Buddypress functions within the documents. As an example:
<?php $ud = get_userdata( bp_displayed_user_id() ); ?> <div id="wrapper-main" class = "cf"> <div id="profilesidebar"> <?php bp_core_fetch_avatar( array( 'item_id' => $ud->ID,'type'=>'full','width'=>450,'height'=>450 ) ); ?> <?php echo $ud->user_login; ?> </div>
Is this the correct way to go about developing a theme? and if not, where am I going wrong?
- The topic ‘Theme development woes’ is closed to new replies.