Skip to content

A starting point for new Genesis projects. Built for Genesis 2.0+ and WordPress 3.6+.

Notifications You must be signed in to change notification settings

avocadesign/bones-for-genesis-2-0

 
 

Repository files navigation

Bones for Genesis 2.0

My fork of eddiemachado's Bones for Genesis. Built for Genesis 2.0+ and WordPress 3.5+.

A starting point for new Genesis projects. This is a starter child theme, not a dependency. Clone it. Fork it. Hack it for your own projects. Build cool things on the web.

Issues and pull requests are welcome and will be addressed.

All functions are prefixed with bfg. Do a find-and-replace to align the these function names to your project's prefix.'

Developer Tools (disabled by default)

  • Display database query info in your footer
  • Put the site in maintenance mode for non-admins

Genesis Customizations

  • Enable Genesis 2.0 HTML5 support
  • Enable Genesis 2.0 responsive viewport support (disabled by default)
  • Unregister default Genesis layouts (template, disabled by default)
  • Unregister default Genesis widgets (template, disabled by default)
  • Remove Genesis 'Layout Settings' meta boxes (template, disabled by default)

JavaScript

CSS

  • SASS-ready, CodeKit-ready
  • Includes a starter config.rb file for Compass
  • Submodule for normalize.scss
  • Includes Genesis 2.0 clearfix
  • %clearfix and %image-replacement SASS @extend's
  • Unstyled, nested selections following Genesis 2.0's style.css as a template
  • A skeleton of helpful attribute resets and suggestions

Document Customizations

Header

  • Remove <head> RSD and rel links (updated for Genesis 2.0)
  • Template for serving better favicons to iOS and modern browsers
  • Enqueue custom stylesheets
  • Supports an IE-only stylesheet
  • Support the IE6 Universal Stylesheet
  • Supports enqueuing Google Fonts (template, disabled by default)
  • Enqueue jQuery from Google's CDN
  • Enqueue custom scripts
  • Specify custom favicon location (template, disabled by default)
  • Add a 'no-js' class to <body>

Post

  • Remove <p> tags from around images
  • Remove [gallery] short code injected styles
  • Customize the post info and meta text (templates, disabled by default)
  • Customize the post navigation link text (templates, disabled by default)

Search

  • Edit search input box and button text (template, disabled by default)
  • Redirect straight to the search result when there is only one result (disabled by default)

Sidebar

  • Allow shortcodes in text widgets (disabled by default)
  • Remove 'Recent Comments' widget injected styles

Footer

  • Customize the footer 'creds' text (template, disabled by default)

Page Templates

  • Force layout option for template (template, disabled by default)

Admin Customizations

Functionality

  • Prevent the child theme from being overwritten by a WP.org theme of the same name
  • Disable self-pings
  • Add new image sizes, and add them to the media size select menu (templates, disabled by default)
  • Force the Link Manager to be shown/hidden (disabled by default)

Branding

  • Change the /wp-login.php logo URL and title to your blog's homepage and name
  • Replace the login logo (template, disabled by default)
  • Make WordPress-generated emails appear 'from' your WordPress site name, instead of from 'WordPress'
  • Make WordPress-generated emails appear 'from' your WordPress admin email address (disabled by default)
  • Remove the 'WP' icon from the admin bar
  • Change the admin panel footer text (template, disabled by default)

Views

  • Only show the admin bar to users who can at least use Posts
  • Disable some or all of the default admin dashboard widgets (template, some disabled by default)
  • Disable some or all of the default widgets (template, some disabled by default)
  • Change the default hidden meta boxes for pages and posts (template, some hidden by default)
  • Add a stylesheet for TinyMCE (disabled by default)
  • Show the TinyMCE kitchen sink by default
  • Change the available formats in TinyMCE (removes h1, h5, h6, address, and pre by default)
  • Add/remove contact methods from user profiles (removes AIM, YahooIM, and Jabber by default)
  • Remove dashboard menus (template, disabled by default)
  • Prevent the failed login notice from specifying whether the username or the password is incorrect
  • Hide the top-right help pull-down button

Options

  • Disable some or all of the default Genesis theme option meta boxes (template, some disabled by default)

To Dos

  • Add admin-options.php support for setting Genesis default options
  • Add admin-options.php Genesis theme options framework
  • Better SASS organization into partials, modules, etc.
  • Better .gitignore
  • Conditional jQuery 2.0 enqueueing
  • (Ongoing) More standard developer comments & better function formatting

Further Resources

Reminder: Run git submodule foreach git pull origin master on your repo to update all submodules before beginning a new project.

Changelog

2.0.6 (July 20, 2013)

  • bfg_load_scripts doesn't need to be called with priority 999
  • input[type="search"] needs to be explicitly given box-sizing. Weird.
  • 'Better Helvetica' starter sans-serif font stack
  • Buttons should have base line-height: 1
  • Added WooCommerce theme support declaration (disabled by default)
  • jQuery version bump

2.0.5 (July 16, 2013)

  • For comment-reply script loading, changed is_singular() to is_single() || is_page() || is_attachment() in bfg_load_stylesheets() for better granularity
  • Added function in search.php to redirect directly to the result on searches with only one result (disabled by default)
  • Title links should typically inherit their .entry-title color, not show the default link color
  • Added filters in post.php to customize the older/newer post navigation text (disabled by default)
  • Readme.md updates

2.0.4 (July 10, 2013)

  • Removed genesis_footer_backtotop_text filter, since it's deprecated in Genesis 2.0 with HTML5
  • Added support for better favicon display
  • g_ent is deprecated in Genesis 2.0. Switched to html_entity_decode, with better characters for post prev/next navigation
  • Styled pre like blockquote in _print.scss
  • Added a button click effect extend in _toolkit.scss
  • IE image height correction

2.0.3 (July 4, 2013)

  • Better input skeleton styles
  • Added a starter breakpoint mixin
  • Normalize.scss submodule update

2.0.2 (June 28, 2013)

  • Removed page-templates folder. Templates should be in the child theme root, to properly overwrite the Genesis parent templates.
  • Gave input[type="search"] explicit box-sizing.
  • Moved @import "shame" to the bottom of style.css
  • Removed rem font sizing skeleton
  • Removed margin-bottom: -4px from image links
  • Added .hide-no-js helper class
  • Added add_theme_support( 'custom-background' )
  • Initialize Genesis's init.php file directly now, instead of using the genesis_setup hook
  • Added child theme definitions (CHILD_THEME_NAME, CHILD_THEME_URL, CHILD_THEME_VERSION)
  • Commented out text-shadow: none; from ::selection, since this prevents all selection styling unless background-color is also specified
  • Removed _grid.scss responsive styling, since it was causing awkward breakpoint issues on non-responsive sites.
  • Commented out body { text-rendering: optimizeLegibility; }, since this can cause display issues on poorly generated fonts.
  • Removed default floats in _layout.scss
  • Added skeleton selectors for more HTML5 input types
  • Better _print.scss

2.0.1 (June 16, 2013)

  • Assume SVG login logo
  • Toggle link manager on/off
  • Added genesis-footer-widgets option
  • More consistent SASS formatting
  • Commented out width: auto on images
  • Added _shame.scss file

v2.0 (June 9, 2013)

  • Initial release of Genesis 2.0 BFG fork

About

A starting point for new Genesis projects. Built for Genesis 2.0+ and WordPress 3.6+.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.6%
  • Ruby 2.3%
  • JavaScript 1.1%