Giter Club home page Giter Club logo

wds-buddypress-project-framework's Introduction

WDS BP Project Framework

The normal method to override BuddyPress templates is to copy the BP template files over to your theme folder. This is not the best way if you ever want to change themes and not have to move files!

This plugin creates a new template stack for BuddyPress. BuddyPress will look into this plugin first for its template files and if the file doesn't exist it will default to the core plugin.

There are also files to place custom javascript and css. Place custom javascript in bp-custom.js and css in bp-custom.css. There are also some files in /inc that are there for code placement convenience. bp-custom.php has some example code that BuddyPress contains that allows easy customization. You can customize any file in templates/buddypress/. These override BuddyPress core plugin templates.

Install BP Project Framework

  1. Like any other WordPress plugin, upload wds-bp-project-framework to your wp-content/plugins directory

  2. Activate from the WordPress Plugins screen.

After activating the plugin you can start adding custom code, css, javascript and edit the markup of the templates. There are currently no settings, although there maybe options in the future.

Using Sass

The WDS BP Project Framework now includes Bourbon, Neat, and Grunt.

Basic knowledge of the command line and the following dependencies are required:

Installation

  1. From the command line, change directories to your new theme directory
cd /your-project/wordpress/wp-content/plugins/wds-bp-project-framework
  1. Install dependencies
npm install && bower install

When NPM and Bower are finished, you are ready to compile Sass using Grunt. Commands are as follows:

Using Grunt

  • Watch Sass files for changes, and compile automatically: grunt watch
  • Compile all styles on demand: grunt styles
  • Compile javascript on demand: grunt javascript
  • Do it all: grunt

wds-buddypress-project-framework's People

Contributors

colorful-tones avatar efuller avatar gregrickaby avatar iwtw-richb avatar modemlooper avatar williamsba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wds-buddypress-project-framework's Issues

Permalinks Broken

I was able to change what I wanted on the template files but the permalinks weren't working. I tried resetting the permalinks to see if that would have an effect but no luck.

Add Settings page

Got the extended settings page added with some core BP internal configurations.

Version 2

Started creating version 2. I re-did the base plugin as if it were generated from the plugin generator so we can get unit test goodies. I want to rethink the plugin to be more of a framework and less of a template override. v2 is in v2 branch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.