Commit Graph

118 Commits

Author SHA1 Message Date
Ben Word
5b52ddad22 Move root relative URLs into separate file 2013-06-23 12:18:01 -05:00
Ben Word
4aa4be182b Move theme wrapper into separate file 2013-06-23 12:15:08 -05:00
Ben Word
cab26194a3 Move HTML5 Boilerplate's .htaccess to a plugin
https://github.com/retlehs/wp-h5bp-htaccess
2013-04-30 21:35:18 -05:00
Ben Word
260fc4c353 Comments clean up, consistent formatting 2013-02-15 12:13:18 -06:00
Ben Word
cf4ab3b2df Use Bootstrap media object for listing comments
http://twitter.github.com/bootstrap/components.html#media

- Introduce lib/comments.php: contains Roots_Walker_Comment

- Update templates/comments.php to use the new walker, general
clean up
2013-02-11 23:50:49 -06:00
Ben Word
fea92a61aa Rewrites organization
- Create lib/rewrites.php and move everything from lib/htaccess.php
except the H5BP htaccess functionality into it

- In the config, change add_theme_support('rewrite-urls') to
add_theme_support('rewrites')

- Remove the Apache/LightSpeed HTTPD check for rewrites

- Update docs with better Nginx rewrite rules
2013-02-04 19:56:42 -06:00
Ben Word
d13f58ba97 Remove lib/post-types.php and lib/metaboxes.php
We now recommend placing custom post types and
metaboxes within a plugin that contains all of
your site specific functionality.

See the latest update to https://github.com/retlehs/soil
to find an example:

https://github.com/retlehs/soil/tree/master/mu-plugins/base
2012-11-02 01:06:14 -05:00
Scott Walkinshaw
3df8d9901e Move Nav customizations into its own file
Considering the nav customization/cleanup code is fairly involved and
important, it shouldn't be hidden in the middle of cleanup.php
2012-10-03 13:44:35 -04:00
Scott Walkinshaw
588ea8afa3 Refactor sidebar configuration
Instead of editing an if statement (which could get ugly quickly), just
edit configuration arrays of conditional tags and page template checks.
2012-10-02 15:20:28 -04:00
Scott Walkinshaw
03a6ad0784 Fix require order 2012-09-21 16:24:57 -04:00
Scott Walkinshaw
ba56e0fa4d Re-organize theme configuration and setup
functions.php should not contain any Roots specific code. It's just used
to require files and bootstrap Roots. lib/init.php now handles initial
theme setup and defines helper constants which did not belong in
lib/config.php.

config.php should be limited to strictly configuration settings.
2012-09-21 16:20:03 -04:00
Scott Walkinshaw
a44397aa30 template-tags.php does not exist anymore 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
267e24e9a3 Move Google Analytics code into footer template
Once again, HTML tags should be in the templates when possible.

actions.php is no longer needed now as well.
2012-09-19 16:03:20 -04:00
Ben Word
6e874ec630 Update path to editor-style.css 2012-08-21 08:45:05 -05:00
Ben Word
27efb74b44 Ref #525 - Add placeholder files for custom post types & metaboxes 2012-08-20 19:38:46 -05:00
Ben Word
63d3f6185a Ref #525 - Add placeholder files for custom post types & metaboxes 2012-08-20 19:31:59 -05:00
Ben Word
5c777f361b Rename inc/ to lib/ 2012-08-20 19:19:39 -05:00
Ben Word
9801e69b3b Ref #525 - Remove all hooks 2012-08-20 19:17:28 -05:00
Ben Word
5c664af0cb Remove debug code from #513 2012-08-18 19:45:24 -05:00
Ben Word
431e2fafae Fix #513 - Fix strict errors 2012-08-18 19:44:47 -05:00
Ben Word
7d2b3c1e07 Re-organization 2012-05-09 00:55:09 -06:00
ChrisClayton
fc3bec5069 change widgets to use <section> instead of <article> - see #379 2012-04-06 16:17:36 +10:00
Ben Word
f5321bc9a0 Fix #302 - Lose EOF ?> 2012-02-27 11:40:01 -07:00
Scott Walkinshaw
db09a64d94 Better rewrite/clean URL handling
- New roots-utils.php file for base functions
- Defined useful constants for dealing with common paths
- Refactored rewrites and clean URLs to be more flexible for non
  standard setups
- Custom scripts handler now deals with plugin scripts correctly
- Fixes #204, #270, #278
2012-02-20 16:13:35 -05:00
Ben Word
3c3b71fac0 Remove all frameworks except Bootstrap (#251)
- Remove all frameworks except Bootstrap

- Remove roots-options.php and replace with a more simple
  roots-config.php

- Include all Bootstrap Javascript plugins by default in
  js/plugins.js

- Use Bootstrap Responsive and Topbar navigation by default

- Use Bootstrap markup on forms, page titles, image galleries,
  alerts and errors, post and comment navigation

- Remove Roots styles from style.css and introduce app.css for
  site-specific CSS. Remove almost all previous default Roots
  styles.

- Add latest updates from H5BP project
2012-02-03 12:10:44 -07:00
Scott Walkinshaw
923828bc06 Sidebars can now have spaces in their names 2012-01-30 17:00:35 -05:00
Ben Word
3c9bc21e32 removing custom image header for logo - closes #223 2012-01-23 10:55:36 -07:00
Ben Word
eca31bd915 adding roots-scripts.php, now using wp_enqueue_script 2012-01-15 19:31:14 -07:00
Ben Word
617f86604d re-organizing roots-actions.php, added roots_current_framework() function 2012-01-15 17:09:53 -07:00
Ben Word
53f1aea983 fixes #201 - post entry meta should use date format from options 2012-01-02 10:29:57 -07:00
Michael Scott Hertzberg
94bb56b9f9 make roots_register_sidebars() less redundant 2011-12-27 20:05:58 -05:00
Ben Word
f99083600c cleanup 2011-11-28 20:18:40 -07:00
Ben Word
b297cb2959 adding content_width for bootstrap and foundation 2011-11-28 19:46:03 -07:00
Matthew Wrather
ae353aee59 load inc/ scripts in functions.php using BOTH require_once and locate_template -- best of both worlds 2011-11-25 23:35:25 -08:00
Scott Walkinshaw
a7136a5ec5 __DIR__ fallback for PHP <5.3.0 - fixes #171 2011-11-15 17:20:34 -07:00
Johnny Peck
a2d33c7fd9 Fix register sidebars so child themes can unregister them. 2011-11-04 16:36:14 -04:00
Scott Walkinshaw
39b0eb190f Whitespace fixes
Replaced all hard tabs with spaces. Removed all trailing whitespace.
2011-10-23 19:29:54 -06:00
Ben Word
5555709aa5 now outputting the post meta information from a function (similar to twentyeleven) 2011-09-21 19:35:20 -06:00
Ben Word
df9183af6d replacing the static call to logo.png with add_custom_image_header so
now you can update the logo via theme options
2011-07-31 22:19:17 -06:00
Ben Word
4e3938e6bd adding link to codex for post thumbnails and commented out example of
setting the size
2011-07-31 21:44:59 -06:00
Ben Word
0d537df73e cleanup. adding load_theme_textdomain support, moved some things into
after_setup_theme similar to twentyeleven, reverting
92e91d3bb5 after unexpected behavior
2011-07-31 01:45:49 -06:00
Ben Word
f121c93a98 [organization] moving stuff into roots-cleanup.php, moving asset
rewrites functions to htaccess file
2011-07-31 00:49:11 -06:00
Ben Word
c4d4ee40c6 closes #81 - moving get_roots_stylesheets to the hooks 2011-06-30 18:10:32 -06:00
Scott Walkinshaw
acea241631 Added authorship rel attribute to post author link 2011-06-08 21:27:48 -06:00
Ben Word
75d2738db9 slight change to registering the nav menus 2011-06-08 20:32:28 -06:00
Ben Word
72cdfe7dea doing some clean up to the new options (which are awesome btw) 2011-05-31 19:51:50 -06:00
Ben Word
5466bad0d1 adding support for adapt.js, closes #47 2011-05-30 20:09:20 -06:00
Ben Word
10ef89fdf1 adding vcard widget 2011-05-30 12:01:13 -06:00
Ben Word
92e91d3bb5 switching from using include_once to the correct method, locate_template
good info here:
http://justintadlock.com/archives/2010/11/17/how-to-load-files-within-wordpress-themes
2011-05-30 10:16:31 -06:00
Ben Word
91d81ddb6e complete rewrite of theme options, based on twentyeleven (in progress) 2011-05-30 01:33:28 -06:00