Skip to content

Template Directory Structure

Hugo - hnla edited this page May 24, 2016 · 1 revision

#Templates Directory Structure

The new templates/template-packs will introduce an updated directory structure with new folders to maintain partial or template include parts and to maintain Sass stylesheets.

Stage 1 of this process introduces /common/ a second level level directory living in a named template/template-pack theme under the primary /buddypress/ parent, this will be further sub-divided to hold directories for specific BP items such as filters, dir search, nav. A new directory under the theme root is created to hold our Sass styleshets /sass/.

The template structure of this hierarchy is initially committed as:

bp-templates/
 bp-nouveau/
  buddypress/
   activity/
   assets/
   blogs/
   common/
    filters/
    nav/
    search/
   groups/
   members/
  css/
  js/
  languages/
  sass/
Clone this wiki locally