SlideShare a Scribd company logo
1 of 35
Theming BuddyPress
or, How to become history’s awesomest person

WordCamp Phoenix
January 29 2011

Boone B Gorges
@boone
boonebgorges.com
Who is Boone?
Who is Boone?
Who is Boone?

•   Philosopher
Who is Boone?

•   Philosopher

•   Wisconsinite
Who is Boone?

•   Philosopher

•   Wisconsinite

•   Punctual
Who is Boone?

•   Philosopher

•   Wisconsinite

•   Punctual

•   BuddyPress committing developer
Who is Boone?

•   Philosopher

•   Wisconsinite

•   Punctual

•   BuddyPress committing developer
BuddyPress is gonna getcha
BuddyPress is gonna getcha

  • Friends
BuddyPress is gonna getcha

  • Friends
  • Groups
BuddyPress is gonna getcha

  • Friends
  • Groups
  • Private Messages
BuddyPress is gonna getcha

  • Friends
  • Groups
  • Private Messages
  • Forums
BuddyPress is gonna getcha

  • Friends
  • Groups
  • Private Messages
  • Forums
  • Activity Streams
BuddyPress is gonna getcha

  • Friends
  • Groups
  • Private Messages
  • Forums
  • Activity Streams
  • Profiles
Must avoid


                   Text




             http://www.flickr.com/photos/andidigress/4471100232/
BuddyPress is WordPress


BuddyPress themes are
WordPress themes
BuddyPress is WordPress
(plus some cool stuff)

BuddyPress themes are
WordPress themes
(plus some extra templates)
Look familiar?
404.php          index.php
archive.php      links.php
attachment.php   page.php
comments.php     search.php
footer.php       sidebar.php
functions.php    single.php
header.php       style.css
Look familiar?
404.php          index.php
activity/        links.php
archive.php      members/
attachment.php   page.php
blogs/           registration/
comments.php     search.php
footer.php       sidebar.php
forums/          single.php
functions.php    style.css
groups/
header.php
Look familiar?
404.php          index.php
activity/        links.php
archive.php      members/
attachment.php   page.php
blogs/           registration/
comments.php     search.php
footer.php       sidebar.php
forums/          single.php
functions.php    style.css
groups/
header.php
wp-content/themes/[your-bp-theme]/groups
create.php
groups-loop.php
index.php
single/
wp-content/themes/[your-bp-theme]/groups
create.php
groups-loop.php
index.php
single/      activity.php
             admin.php
             forum/
             forum.php
             group-header.php
             home.php
             members.php
             plugins.php
             request-membership.php
             send-invites.php
wp-content/themes/[your-bp-theme]/groups
create.php
groups-loop.php
index.php
single/      activity.php
             admin.php
             forum/                 edit.php
             forum.php              topic.php
             group-header.php
             home.php
             members.php
             plugins.php
             request-membership.php
             send-invites.php
So how do I get started?

1. BuddyPress Template Pack
2. bp-default child theme
3. From scratch
1. BuddyPress Template Pack
http://wordpress.org/extend/plugins/bp-template-pack/
A plugin that adds the necessary
template files to your existing theme
1. BuddyPress Template Pack
http://wordpress.org/extend/plugins/bp-template-pack/
A plugin that adds the necessary
template files to your existing theme

                                    activity/
                                    blogs/
                                    forums/
                                    groups/
                                    members/
                                    registration/
2. bp-default child theme
http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/


   • Declare the parent theme in style.css
        /*
        Theme Name: BP Cha-Ching!
        Template: bp-default
        Tags: buddypress
        */

   • Import the parent theme’s stylesheet
        /* Inherit the default theme styles */
        @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/
        default.css );

        /* Inherit the default theme adminbar styles */
        @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/
        adminbar.css );

   • Override the templates you want to replace
2. bp-default child theme
http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/



activity/                activity-loop.php
footer.php               index.php
header.php
index.php
members/                 single/                    activity.php
                                                    home.php
                                                    profile.php



Directory structure matters!
2. bp-default child theme
http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/




 Some examples:
• buddypress.org
• CUNY Academic Commons
• BP Tricks
3. From scratch
Like mom used to make




http://codex.buddypress.org/developer-docs/custom-buddypress-loops/
3. From scratch
Like mom used to make


Know your template tags

bp-activity/bp-activity-templatetags.php
bp-blogs/bp-blogs-templatetags.php
bp-core/bp-core-templatetags.php
bp-forums/bp-forums-templatetags.php
etc
How do I know?

• Use the BuddyPress Template Pack when...
 • you already have a WP theme, and want to add BP
    functionality
• Build a child theme of bp-default when...
 • you want to maximize upgradability
• Build a theme from scratch when...
 • you only need a few BP features, and maybe you
    don’t want it to look like BP at all
Большое срасибо!

Boone B Gorges
@boone
boonebgorges.com

More Related Content

What's hot

Win friends and influence people with BuddyPress
Win friends and influence people with BuddyPressWin friends and influence people with BuddyPress
Win friends and influence people with BuddyPressShelley Keith, MSIQ
 
Extending BuddyPress – WordCamp Milano 2011 [italian]
Extending BuddyPress – WordCamp Milano 2011 [italian]Extending BuddyPress – WordCamp Milano 2011 [italian]
Extending BuddyPress – WordCamp Milano 2011 [italian]Francesco Laffi
 
BuddyPress - Harrisburg WordPress Users Group Meetup June 2014
BuddyPress - Harrisburg WordPress Users Group Meetup June 2014BuddyPress - Harrisburg WordPress Users Group Meetup June 2014
BuddyPress - Harrisburg WordPress Users Group Meetup June 2014Timothy F McKenna
 
Cms Workshop Long
Cms Workshop LongCms Workshop Long
Cms Workshop Longemily
 
Blogging for family historians
Blogging for family historiansBlogging for family historians
Blogging for family historianshalsted1
 
Social Media Marketing for the Lean Startup
Social Media Marketing for the Lean StartupSocial Media Marketing for the Lean Startup
Social Media Marketing for the Lean StartupEric Krock
 
Cms & wordpress theme development 2011
Cms & wordpress theme development 2011Cms & wordpress theme development 2011
Cms & wordpress theme development 2011Dave Wallace
 
Jakiro,Tcp,Aik Hong, Sim, blogger
Jakiro,Tcp,Aik Hong, Sim, bloggerJakiro,Tcp,Aik Hong, Sim, blogger
Jakiro,Tcp,Aik Hong, Sim, bloggerDivine Jakiro
 
New Search Strategies
New Search StrategiesNew Search Strategies
New Search Strategiesnotess
 
Charisma Productions Network - Tutorial: Google for Webmasters
Charisma Productions Network - Tutorial: Google for WebmastersCharisma Productions Network - Tutorial: Google for Webmasters
Charisma Productions Network - Tutorial: Google for WebmastersBetty Andrews
 
GRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for Webmasters
GRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for WebmastersGRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for Webmasters
GRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for WebmastersEdysur Construcciones
 
Search Engine Optimization Tools - Tutorial: Google for Webmaster
Search Engine Optimization Tools - Tutorial: Google for WebmasterSearch Engine Optimization Tools - Tutorial: Google for Webmaster
Search Engine Optimization Tools - Tutorial: Google for WebmasterPraveen Sudarsan
 
Introduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentIntroduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentSitdhibong Laokok
 
WordPress Theme Development
WordPress Theme DevelopmentWordPress Theme Development
WordPress Theme DevelopmentWisdmLabs
 

What's hot (16)

Win friends and influence people with BuddyPress
Win friends and influence people with BuddyPressWin friends and influence people with BuddyPress
Win friends and influence people with BuddyPress
 
Extending BuddyPress – WordCamp Milano 2011 [italian]
Extending BuddyPress – WordCamp Milano 2011 [italian]Extending BuddyPress – WordCamp Milano 2011 [italian]
Extending BuddyPress – WordCamp Milano 2011 [italian]
 
BuddyPress - Harrisburg WordPress Users Group Meetup June 2014
BuddyPress - Harrisburg WordPress Users Group Meetup June 2014BuddyPress - Harrisburg WordPress Users Group Meetup June 2014
BuddyPress - Harrisburg WordPress Users Group Meetup June 2014
 
Cms Workshop Long
Cms Workshop LongCms Workshop Long
Cms Workshop Long
 
Blogging for family historians
Blogging for family historiansBlogging for family historians
Blogging for family historians
 
Social Media Marketing for the Lean Startup
Social Media Marketing for the Lean StartupSocial Media Marketing for the Lean Startup
Social Media Marketing for the Lean Startup
 
Cms & wordpress theme development 2011
Cms & wordpress theme development 2011Cms & wordpress theme development 2011
Cms & wordpress theme development 2011
 
Jakiro,Tcp,Aik Hong, Sim, blogger
Jakiro,Tcp,Aik Hong, Sim, bloggerJakiro,Tcp,Aik Hong, Sim, blogger
Jakiro,Tcp,Aik Hong, Sim, blogger
 
New Search Strategies
New Search StrategiesNew Search Strategies
New Search Strategies
 
Charisma Productions Network - Tutorial: Google for Webmasters
Charisma Productions Network - Tutorial: Google for WebmastersCharisma Productions Network - Tutorial: Google for Webmasters
Charisma Productions Network - Tutorial: Google for Webmasters
 
GRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for Webmasters
GRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for WebmastersGRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for Webmasters
GRUPO CONSTRUCTOR MIAHUATLAN - Tutorial: Google for Webmasters
 
Search Engine Optimization Tools - Tutorial: Google for Webmaster
Search Engine Optimization Tools - Tutorial: Google for WebmasterSearch Engine Optimization Tools - Tutorial: Google for Webmaster
Search Engine Optimization Tools - Tutorial: Google for Webmaster
 
Wordpress as a CMS
Wordpress as a CMSWordpress as a CMS
Wordpress as a CMS
 
Introduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentIntroduction to WordPress Theme Development
Introduction to WordPress Theme Development
 
The Genius of Wordpress - notes
The Genius of Wordpress - notesThe Genius of Wordpress - notes
The Genius of Wordpress - notes
 
WordPress Theme Development
WordPress Theme DevelopmentWordPress Theme Development
WordPress Theme Development
 

Similar to Theming for BuddyPress

BuddyPress Child Themes
BuddyPress Child ThemesBuddyPress Child Themes
BuddyPress Child ThemesRon Rennick
 
WordPress for Libraries PreConference Workshop
WordPress for Libraries PreConference WorkshopWordPress for Libraries PreConference Workshop
WordPress for Libraries PreConference WorkshopPolly Farrington
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojolightshire
 
bbPress - Plugin Development Done Right
bbPress - Plugin Development Done RightbbPress - Plugin Development Done Right
bbPress - Plugin Development Done Rightpippinsplugins
 
WordPress Essentials for Beginners - YES Montreal December 2014
WordPress Essentials for Beginners - YES Montreal December 2014WordPress Essentials for Beginners - YES Montreal December 2014
WordPress Essentials for Beginners - YES Montreal December 2014Kathryn Presner
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25New Tricks
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With WordpressCharly Leetham
 
A Beginner’s Guide to Wordpress - WordCamp Toronto 2011
A Beginner’s Guide to Wordpress - WordCamp Toronto 2011A Beginner’s Guide to Wordpress - WordCamp Toronto 2011
A Beginner’s Guide to Wordpress - WordCamp Toronto 2011Kathryn Presner
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Pluginssuperann
 
Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.Jacob Martella
 
Theme Wrangling 101
Theme Wrangling 101Theme Wrangling 101
Theme Wrangling 101mikeyarce
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4David Bisset
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate WorkshopThe Toolbox, Inc.
 
A Beginner's Guide to Wordpress - WordCamp Montreal 2011
A Beginner's Guide to Wordpress - WordCamp Montreal 2011A Beginner's Guide to Wordpress - WordCamp Montreal 2011
A Beginner's Guide to Wordpress - WordCamp Montreal 2011Kathryn Presner
 
What Is WordPress and Why Should I Use It? - Workshop April 2015
What Is WordPress and Why Should I Use It? - Workshop April 2015What Is WordPress and Why Should I Use It? - Workshop April 2015
What Is WordPress and Why Should I Use It? - Workshop April 2015BobWP.com
 
2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-Themes2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-ThemesLightSpeed
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme developmenthenri_makembe
 
Intro To WordPress Themes
Intro To WordPress ThemesIntro To WordPress Themes
Intro To WordPress Themesdamonsharp
 

Similar to Theming for BuddyPress (20)

WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
BuddyPress Child Themes
BuddyPress Child ThemesBuddyPress Child Themes
BuddyPress Child Themes
 
BuddyPress OCWC 2010
BuddyPress OCWC 2010BuddyPress OCWC 2010
BuddyPress OCWC 2010
 
WordPress for Libraries PreConference Workshop
WordPress for Libraries PreConference WorkshopWordPress for Libraries PreConference Workshop
WordPress for Libraries PreConference Workshop
 
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
 
bbPress - Plugin Development Done Right
bbPress - Plugin Development Done RightbbPress - Plugin Development Done Right
bbPress - Plugin Development Done Right
 
WordPress Essentials for Beginners - YES Montreal December 2014
WordPress Essentials for Beginners - YES Montreal December 2014WordPress Essentials for Beginners - YES Montreal December 2014
WordPress Essentials for Beginners - YES Montreal December 2014
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With Wordpress
 
A Beginner’s Guide to Wordpress - WordCamp Toronto 2011
A Beginner’s Guide to Wordpress - WordCamp Toronto 2011A Beginner’s Guide to Wordpress - WordCamp Toronto 2011
A Beginner’s Guide to Wordpress - WordCamp Toronto 2011
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.
 
Theme Wrangling 101
Theme Wrangling 101Theme Wrangling 101
Theme Wrangling 101
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
A Beginner's Guide to Wordpress - WordCamp Montreal 2011
A Beginner's Guide to Wordpress - WordCamp Montreal 2011A Beginner's Guide to Wordpress - WordCamp Montreal 2011
A Beginner's Guide to Wordpress - WordCamp Montreal 2011
 
What Is WordPress and Why Should I Use It? - Workshop April 2015
What Is WordPress and Why Should I Use It? - Workshop April 2015What Is WordPress and Why Should I Use It? - Workshop April 2015
What Is WordPress and Why Should I Use It? - Workshop April 2015
 
2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-Themes2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-Themes
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme development
 
Intro To WordPress Themes
Intro To WordPress ThemesIntro To WordPress Themes
Intro To WordPress Themes
 

Recently uploaded

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 

Theming for BuddyPress

  • 1. Theming BuddyPress or, How to become history’s awesomest person WordCamp Phoenix January 29 2011 Boone B Gorges @boone boonebgorges.com
  • 4. Who is Boone? • Philosopher
  • 5. Who is Boone? • Philosopher • Wisconsinite
  • 6. Who is Boone? • Philosopher • Wisconsinite • Punctual
  • 7. Who is Boone? • Philosopher • Wisconsinite • Punctual • BuddyPress committing developer
  • 8. Who is Boone? • Philosopher • Wisconsinite • Punctual • BuddyPress committing developer
  • 10. BuddyPress is gonna getcha • Friends
  • 11. BuddyPress is gonna getcha • Friends • Groups
  • 12. BuddyPress is gonna getcha • Friends • Groups • Private Messages
  • 13. BuddyPress is gonna getcha • Friends • Groups • Private Messages • Forums
  • 14. BuddyPress is gonna getcha • Friends • Groups • Private Messages • Forums • Activity Streams
  • 15. BuddyPress is gonna getcha • Friends • Groups • Private Messages • Forums • Activity Streams • Profiles
  • 16.
  • 17. Must avoid Text http://www.flickr.com/photos/andidigress/4471100232/
  • 18. BuddyPress is WordPress BuddyPress themes are WordPress themes
  • 19. BuddyPress is WordPress (plus some cool stuff) BuddyPress themes are WordPress themes (plus some extra templates)
  • 20. Look familiar? 404.php index.php archive.php links.php attachment.php page.php comments.php search.php footer.php sidebar.php functions.php single.php header.php style.css
  • 21. Look familiar? 404.php index.php activity/ links.php archive.php members/ attachment.php page.php blogs/ registration/ comments.php search.php footer.php sidebar.php forums/ single.php functions.php style.css groups/ header.php
  • 22. Look familiar? 404.php index.php activity/ links.php archive.php members/ attachment.php page.php blogs/ registration/ comments.php search.php footer.php sidebar.php forums/ single.php functions.php style.css groups/ header.php
  • 24. wp-content/themes/[your-bp-theme]/groups create.php groups-loop.php index.php single/ activity.php admin.php forum/ forum.php group-header.php home.php members.php plugins.php request-membership.php send-invites.php
  • 25. wp-content/themes/[your-bp-theme]/groups create.php groups-loop.php index.php single/ activity.php admin.php forum/ edit.php forum.php topic.php group-header.php home.php members.php plugins.php request-membership.php send-invites.php
  • 26. So how do I get started? 1. BuddyPress Template Pack 2. bp-default child theme 3. From scratch
  • 27. 1. BuddyPress Template Pack http://wordpress.org/extend/plugins/bp-template-pack/ A plugin that adds the necessary template files to your existing theme
  • 28. 1. BuddyPress Template Pack http://wordpress.org/extend/plugins/bp-template-pack/ A plugin that adds the necessary template files to your existing theme activity/ blogs/ forums/ groups/ members/ registration/
  • 29. 2. bp-default child theme http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ • Declare the parent theme in style.css /* Theme Name: BP Cha-Ching! Template: bp-default Tags: buddypress */ • Import the parent theme’s stylesheet /* Inherit the default theme styles */ @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/ default.css ); /* Inherit the default theme adminbar styles */ @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/ adminbar.css ); • Override the templates you want to replace
  • 30. 2. bp-default child theme http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ activity/ activity-loop.php footer.php index.php header.php index.php members/ single/ activity.php home.php profile.php Directory structure matters!
  • 31. 2. bp-default child theme http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ Some examples: • buddypress.org • CUNY Academic Commons • BP Tricks
  • 32. 3. From scratch Like mom used to make http://codex.buddypress.org/developer-docs/custom-buddypress-loops/
  • 33. 3. From scratch Like mom used to make Know your template tags bp-activity/bp-activity-templatetags.php bp-blogs/bp-blogs-templatetags.php bp-core/bp-core-templatetags.php bp-forums/bp-forums-templatetags.php etc
  • 34. How do I know? • Use the BuddyPress Template Pack when... • you already have a WP theme, and want to add BP functionality • Build a child theme of bp-default when... • you want to maximize upgradability • Build a theme from scratch when... • you only need a few BP features, and maybe you don’t want it to look like BP at all
  • 35. Большое срасибо! Boone B Gorges @boone boonebgorges.com

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n