Git Product home page Git Product logo

bootstrapwp-twitter-bootstrap-for-wordpress's Introduction

BootstrapWP - Bootstrap Theme for WordPress

image

Bootstrap is a responsive front-end toolkit from Twitter designed to kickstart web development, complete with core HTML, CSS, and JS for grids, type, forms, navigation, and many more components. Now you can use it with WordPress as a solid base to build custom themes quickly and easily.

Download the most-up-to-date theme files: Download .zip file Follow the development: WIP Branch on Github

Demo

You can view a demo of this WordPress theme running the latest development branch code at: http://bootstrapwp.rachelbaker.me/

View the theme style guide at: http://bootstrapwp.rachelbaker.me/style-guide/

View the javascript guide at: http://bootstrapwp.rachelbaker.me/javascript-guide/

Usage

Download the BootstrapWP theme, and install on a WordPress local or development site.

This is meant to be a base theme for WordPress custom theme development. A knowledge of WordPress theme development practices as well as understanding of HTML, CSS/LESS, jQuery and PHP are required.

Important! To safely retain the ability to update the less files with future versions of Bootstrap or BootstrapWP, add all custom edits/changes inside the less/bswp-custom.less file.

Getting Started

  1. Create a page that uses the template Hero Homepage Template, then under Settings->Reading set your site to use a static front page selecting your new page.

  2. Add content to the three "Home" widget areas under Appearances->Widgets.

  3. Create a menu under Appearances->Menus and assign it be your site's Main Menu.

Bug tracker

Report theme bugs https://github.com/rachelbaker/bootstrapwp-Twitter-Bootstrap-for-WordPress/issues

##v.90 of BootstrapWP - Release September 9, 2012

Release Highlights:

  1. Updated to Bootstrap 2.1 scripts and styles
  2. Fixed Custom Walker Menu PHP error
  3. Fixed Automatic Thumbnail PHP errors
  4. Cleaned up unnecessary theme files

Archive.php

  • Replaced conditional for the_post_thumbnail() with bootstrapwp_autoset_featured_img().

Author.php

  • Replaced conditional for the_post_thumbnail() with bootstrapwp_autoset_featured_img().

Class-bootstrapwp-walker-nav_menu.php

  • Extending Walker_Nav_Menu to modify class assigned to submenu ul element.

Footer.php

  • Cleaned up ending div tags

Functions.php

  • Fixed bootstrapwp_autoset_featured_img() function to return if there is no image set, clearing debug errors.
  • Removed the post hooks for bootstrap_autoset_featured_img() function to clear debug errors.
  • Added bootstrapwp_post_thumbnail_check() function to check if the post displayed in the loop has a post thumbnail already.
  • Removed Custom Walker class from file and replaced with external include call for file 'includes/class-bootstrap_walker_nav_menu.php'.

Header.php

  • Updated responsive navbar wrapping to use the button element
  • Removed wp-list-pages fallback for custom menu
  • Removed div elements for content-wrapper and container at end of file

Index.php

  • Removed unnecessary double loop for page title.

Page.php

  • Removed '' element wrapping around page title.

Page-blog.php

  • Replaced conditional for the_post_thumbnail() with bootstrapwp_autoset_featured_img().

Docs Folder

  • Removed entire 'docs' folder to clean up theme files.

IMG Folder

  • Removed sub-folder 'example-sites' to clean up theme files.
  • Removed sub-folder 'examples' to clean up theme files.
  • Updated with new images and icons from Bootstrap 2.1

Copyright and license

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.

Thanks to the Original Twitter Bootstrap Authors

Mark Otto

Jacob Thornton

bootstrapwp-twitter-bootstrap-for-wordpress's People

Contributors

adamnbowen avatar caniszczyk avatar cheeaun avatar daniel-liuzzi avatar dhs avatar diazemiliano avatar fat avatar fsimmons avatar igorbozato avatar karthikv avatar matthewpennell avatar mdo avatar mikevalstar avatar nickveys avatar petercoles avatar pthrasher avatar rachelbaker avatar rafbm avatar rondiver avatar sankage avatar soffes avatar tigraine avatar tw2113 avatar weslly avatar workwithnano avatar yourdesigncoza avatar yury avatar zedejose avatar

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.