Commit Graph

271 Commits

Author SHA1 Message Date
Ben Word
462cd1a9f7 Merge pull request #1180 from roots/js-to-footer
Move JavaScript to footer
2014-10-24 17:08:28 -05:00
Ben Word
0c1ae408e0 Simplify comments, use core comment form and list 2014-10-24 17:06:41 -05:00
Ben Word
4ab1173345 Move JavaScript to footer
Ref https://github.com/h5bp/html5-boilerplate/issues/1605
2014-10-24 13:06:36 -05:00
Eric Wafford
43507e4dd3 Fix Spaces 2014-10-19 12:20:56 -05:00
Eric Wafford
309917ae67 Add roots_body_class function that checks for page slug in body_class classes and adds it as needed 2014-10-07 11:41:04 -05:00
Ben Word
a36a8e4372 Close #1127 - Assume prod if WP_ENV is undefined 2014-08-15 12:51:47 -05:00
Ben Word
a1edc5404f Merge pull request #1090 from CFXd/move-main-and-sidebar-markup-out-of-php
Move <main> and .sidebar markup out of PHP and into LESS
2014-08-15 12:30:09 -05:00
QWp6t
1c171bc4cb Defines WP_ENV if it is not already defined 2014-08-13 23:50:39 -07:00
QWp6t
dd7635ced8 Always load GA snippet when not in production 2014-08-06 21:57:32 -07:00
QWp6t
dc0e838c2f Only load GA in production environment
Loads Google Analytics when `WP_ENV` is 'production'
Otherwise it passes `ga()` arguments as an array to `console.log()`

Also sets cookie domain to be auto configured.
2014-08-06 20:55:12 -07:00
Scott Walkinshaw
956d204e88 Merge pull request #1113 from roots/conditional_checks
Check sidebar conditional tag exists
2014-08-01 10:07:07 -04:00
Nicholas Fox
f213cc02e6 Check sidebar conditional tag exists
Return false for non-existent conditional tags. Fixes #993
2014-07-31 23:10:23 +01:00
QWp6t
d7189b8d5e Remove unnecessary string concatenation. 2014-07-28 10:18:29 -07:00
Michael Silber
32acdb3860 Move <main> and .sidebar markup out of PHP
Add more efficient LESS with variables

Add new line to _variables.less

Add sidebar class to body element instead of main element

Change body sidebar class to .sidebar-active

Change body sidebar class to .sidebar-primary

Correct spacing issues
2014-07-26 10:59:49 -04:00
Kevin Lisota
d040ddef2e use WP HTML5 markup for captions instead of Soil
Use add_theme_support to enable native HTML5 captions and add caption styling to wp-caption-text.
2014-07-25 19:02:49 -07:00
Michael Silber
c0242218f8 Make WP_ENV check a positive if statement to improve semantics and readability 2014-07-10 10:49:21 -04:00
Ben Word
bb91236440 Merge master 2014-06-30 00:24:08 -05:00
Ben Word
17ee6e42d8 Update lib/init.php 2014-06-30 00:12:37 -05:00
Scott Walkinshaw
d951c1814d Fix is_element_empty 2014-06-17 21:34:04 -04:00
Scott Walkinshaw
eff8b55bb4 Merge pull request #999 from ansonkao/patch-1
Author Archives title - WPML Compatibility
2014-06-17 21:12:46 -04:00
BastianHofmann
6ddbd6e9de Fix is_element_empty util function. 2014-06-17 16:03:20 +02:00
QWp6t
d82daf2c57 Get menifest.json from file system. Fixes #1048 2014-05-30 23:23:45 -07:00
Ben Word
7552cd4d97 Update to jQuery 1.11.1 2014-05-21 18:24:25 -05:00
Ben Word
cc17c14de8 Merge pull request #1019 from JulienMelissas/7.0.0
Using un-optimized version of modernizr in dev environment.
2014-04-16 16:02:44 -05:00
Chris Carr
31d4e8a0a0 Move main/sidebar class filters into config.php (fix missing arg errors). 2014-04-12 20:49:22 -07:00
Julien Melissas
ea35b85da7 - fixing weird double negative thing on line 22
- using unpackages/unoptimized modernizr when in the WordPress development environment
2014-04-05 00:49:21 -04:00
Ben Word
b4c7b9b4b2 Offer just one header, the BS top navbar 2014-03-31 20:14:33 -05:00
Ben Word
be14fdb69c Use grunt-wp-assets 2014-03-30 23:01:59 -05:00
Ben Word
92cb5bc518 Use 'roots/' for filters 2014-03-30 21:23:00 -05:00
Ben Word
ea5699f284 Use apply_filters for main and sidebar classes 2014-03-30 20:47:16 -05:00
Ben Word
0f606929e0 Add comments about GA 2014-03-30 19:50:03 -05:00
Ben Word
7551f99641 Re-add excerpt and wp_title functions from cleanup.php
Rename custom.php to extras.php
2014-03-30 19:36:47 -05:00
Ben Word
87ef63f58b Move translations outside repo
See https://github.com/roots/roots-translations
2014-03-30 19:12:38 -05:00
lainga9
98818ea7c7 Bug in roots_request_filter()
This function affects the dashboard as well and breaks product filtering in WooCommerce 2.15 (not sure what other versions). Adding && !is_admin() should fix it.
2014-03-25 16:14:56 +00:00
Julien Melissas
e3012cb845 Adding comment to reduce confusion about div tag closing. 2014-03-20 12:57:03 -04:00
Illimar Tambek
554374fb07 Make Home and Primary Navigation translatable 2014-03-18 08:33:04 +02:00
Ben Word
70054b7d08 Just enqueue JS instead of register + enqueue 2014-03-11 23:57:03 -05:00
Ben Word
dede0bd851 Close #992 - Move some Roots features into Soil 2014-03-11 23:34:17 -05:00
Anson Kao
b2ca4611f6 Author Archives title - WPML Compatibility
If WPML String Translation is used to have multilingual author names, this change is needed to persist the translation to the title of the Author Archives page.
2014-03-05 02:21:37 -05:00
Ben Word
4a03d3b2ab Clean up the latest changes to lib/scripts.php
💙 @swalkinshaw
2014-02-21 23:53:45 -06:00
Ben Word
5b23b7fb96 Replace grunt-wp-assets with grunt-filerev and grunt-filerev-assets
By writing to assets-manifest.json with grunt-filerev-assets, it's
no longer necessary to commit changes to lib/scripts.php when developing
2014-02-21 23:14:12 -06:00
Ben Word
7b255992cf Ref #933 - dev and build tasks for Grunt
Dev: don't minify
Build: minify, lean Modernizr build

Dev assets will load if you have defined your WP_ENV as development
If you don't use Bedrock, you'll need to add this to your wp-config.php:

define('WP_ENV', 'development');

TODO: lib/scripts.php shouldn't need to be committed for changes after
running the version task
2014-02-21 21:59:09 -06:00
Ben Word
fa6b8eced0 Update to Bootstrap 3.1.1 2014-02-13 16:23:15 -06:00
Ben Word
cf843567ce Better LESS organization 2014-02-04 23:34:29 -06:00
Ben Word
d8cbdb251a Load Modernizr from Bower, lean build with Grunt 2014-02-04 23:13:33 -06:00
Ben Word
6ace5bbb27 Load jQuery from Bower 2014-02-04 22:59:07 -06:00
Ben Word
999759c375 Roots 6.5.2 2014-02-04 22:44:25 -06:00
Foxaii
553347d59a Bootstrap 3.1.0 2014-01-30 20:45:30 +00:00
Ben Word
c095bd361a Update to jQuery 1.11.0 2014-01-24 12:12:21 -06:00
Foxaii
98e7fc0b89 Fix avatar classes 2014-01-22 18:24:10 +00:00