Compare commits

...

2697 Commits

Author SHA1 Message Date
03e84836ca Add 'web/app/themes/badegg/' from commit 'b31aa7550b02a4516fdf161f53dc7666854c9a14'
git-subtree-dir: web/app/themes/badegg
git-subtree-mainline: b862ff9755
git-subtree-split: b31aa7550b
2025-11-22 17:26:50 +00:00
b862ff9755 remove sage 10 2025-11-22 17:26:37 +00:00
b31aa7550b Merge pull request 'Upgrade to version 11.0.1' (#1) from v11.0.1 into main 2025-10-30 22:14:45 +00:00
b258482ca3 replace deprecated scss 2025-10-30 22:01:23 +00:00
010160ce46 pull in v11.0.1 from upstream 2025-10-30 21:40:17 +00:00
Brandon
ddf23d2c29 🔖 v11.0.1 2025-03-26 21:39:02 -05:00
Brandon
5ffb5636b2 🎨 Simplify the default Composers (#3250) 2025-03-26 21:24:04 -05:00
Brandon
3d87ce1f6a 🔥 Remove unnecessary HMR client setup (#3241) 2025-03-26 21:21:13 -05:00
Brandon
cf25bcd20f 🔥 Remove package-lock.json (#3251)
* 👷 Update workflow to not depend on package lock file
2025-03-26 21:08:22 -05:00
Johan van der Molen
20d1d07c21 🧑‍💻 Always import editor.css in block editor settings (#3248) 2025-03-26 20:57:56 -05:00
Brandon
afbebbe816 🔧 Set a default layout content size (#3240) 2025-03-07 14:34:28 -06:00
Andréas Lundgren
9864d7cf36 🎨 Remove unused use statement in setup.php (#3238) 2025-03-04 05:35:32 -06:00
Ben Word
da70c86f5e 🔧 11.x-dev 2025-03-03 08:48:15 -05:00
Ben Word
9ecea45705 🔖 v11.0.0 2025-03-03 08:46:56 -05:00
Ben Word
86864166f9 🔧 Acorn v5 (#3235) 2025-03-03 08:45:46 -05:00
renovate[bot]
c8a7dcdf05 ⬆️ Bump @roots/vite-plugin to ^1.0.2 (#3236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 08:45:30 -05:00
Joshua Fredrickson
b134d39172 Avoid missing folder error when running dev (#3224) 2025-02-27 13:48:43 -05:00
Ben Word
194ab5af52 🔧 WordPress 6.6+ required 2025-02-26 13:17:15 -05:00
Ben Word
3012d2875c 🩹 static 2025-02-26 10:51:55 -05:00
Ben Word
be72015657 ⬆️ Bump deps 2025-02-26 10:49:06 -05:00
Ben Word
5948da928d 👷 Update labeler 2025-02-23 11:17:23 -05:00
Ben Word
2f2d67fb7f Use @roots/vite-plugin (#3231)
Co-authored-by: Brandon <brandon@tendency.me>
2025-02-22 15:13:42 -05:00
Ben Word
8cc24bab95 📝 Update README [ci skip] 2025-02-22 13:57:28 -05:00
Ben Word
24bb08f02e 📝 Update README [ci skip] 2025-02-20 14:23:03 -05:00
Ben Word
9ec39fb246 ⬆️ Bump Pint 2025-02-12 09:20:23 -05:00
Ben Word
677d658ecb ⬆️ Upgrade npm deps 2025-02-12 09:18:51 -05:00
Ben Word
77eda834d4 👷 Renovate: Move rangeStrategy to root config 2025-02-12 09:10:40 -05:00
Ben Word
57cf6ab817 👷 Renovate: Enable version bumps in package.json 2025-02-12 09:08:21 -05:00
renovate[bot]
f6385cd4a3 Migrate config .github/renovate.json (#3227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 09:01:27 -05:00
Ben Word
1e9790c37d 🔥 Remove assets config 2025-02-12 08:58:49 -05:00
Ben Word
0656c7ba68 brb
This reverts commit 8d81e1ba3e.
2025-02-06 11:56:39 -05:00
Ben Word
8d81e1ba3e 🔥 Remove assets config 2025-02-06 11:53:28 -05:00
Ben Word
a3b9e82240 🔧 Add Acorn's postAutoloadDump script 2025-02-06 11:40:49 -05:00
Ben Word
464e977d5a ♻️ Improve theme.json generation with more robust CSS parsing (#3223) 2025-02-06 08:52:03 -05:00
Matthias
47a48480bd fix tailwind css regex mismatch (#3221) 2025-02-05 17:58:57 -05:00
Pavol Caban
6012bf1886 Fix Vite dependency extract (#3219)
* Fix Vite dependency extract regex

* Fix Vite Typescript compatibility
2025-02-05 17:50:31 -05:00
Steve Jones
04b2404e47 🩹 Compact fix for color generation in theme.json (#3222)
* Fix for incorrect theme.json generation of colours

* Fix for theme.json color generation

* Compact fix for colour theme.json generation

---------

Co-authored-by: Steve Jones <steve@codewithfeeling.com>
2025-02-05 17:47:11 -05:00
Marcin Lis
8c91368c4f Fix default aliases paths for assets (#3218)
Setting absolute paths in aliases to prevent warnings in Vite.js and fix the background-image reference to an image using eg. @images/bg.svg
2025-02-03 06:21:37 -05:00
Ben Word
a9fa2433a5 🔧 Update Renovate config 2025-02-02 08:07:20 -05:00
Ben Word
7d3bbd2122 ⬆️ Bump dev dependencies 2025-02-02 08:03:30 -05:00
renovate[bot]
487716a1ac ⬆️ Bump tailwindcss monorepo to v4.0.3 (#3217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-02 07:55:31 -05:00
Ben Word
723506daba Tailwind v4 (#3208)
Co-authored-by: Brandon <brandon@tendency.me>
Co-authored-by: csorrentino <cjsorren@gmail.com>
Co-authored-by: stuart <stuartjwong@gmail.com>
2025-02-02 07:53:33 -05:00
csorrentino
8d5a1ac4f4 Add default aliases for assets (#3215)
* add default aliases for assets

Adds the same default aliases as the @roots/sage bud extension

* Remove beginning slash

---------

Co-authored-by: Ben Word <ben@benword.com>
2025-02-02 07:52:49 -05:00
csorrentino
3f808812dd Support external WP dependencies in JSX files (#3209) 2025-01-20 18:02:59 -05:00
Ben Word
37e3773d88 🩹 Dev server: fix WP dependency handling (#3207)
* Revert "🎨 Simplify WordPress dependency handling" (#3202)
* 🩹 Fix dev server error
2025-01-20 15:57:09 -05:00
Ben Word
2ff215a3df 🔧 Set public base path 2025-01-15 18:45:57 -05:00
Ben Word
0755a90847 🔧 Set public base path (#3205) 2025-01-15 18:37:47 -05:00
tombroucke
e5f46df7bc 🔧 Import static assets (#3204)
Similar to `.assets(["images"])` in bud, we can add static assets in vite.
2025-01-15 18:10:41 -05:00
Ben Word
41e232bcdd 🎨 Simplify WordPress dependency handling (#3202) 2025-01-14 08:10:27 -05:00
Ben Word
713594d768 🔧 PHP 8.2 is required 2025-01-04 10:14:33 -05:00
Ben Word
0957f59fcd ⬆️ Update build deps 2025-01-04 10:03:25 -05:00
Ben Word
9362ba6c26 🙈 Update .gitignore 2025-01-04 09:52:29 -05:00
Ben Word
fbb87394f3 🔧 Don't declare providers in composer.json 2025-01-04 09:14:11 -05:00
Ben Word
89e5ebcd55 🔧 Minimal bootloader 2025-01-04 09:09:31 -05:00
Ben Word
e7a87f09c5 📝 Update README [ci skip] 2025-01-04 09:06:41 -05:00
Ben Word
25ef858d58 🔧 Bootloader: Remove unnecessary wrapping action from inside theme 2025-01-04 09:03:59 -05:00
Ben Word
256128b0cc 🔧⬆️ Acorn v5 (#3201) 2025-01-04 08:57:07 -05:00
Ben Word
a969be597c 🔧 11.x-dev 2025-01-04 08:46:07 -05:00
Ben Word
a482791397 🔧 Use Vite for build (#3199)
Co-authored-by: Brandon Nifong <brandon@tendency.me>
2025-01-04 08:45:24 -05:00
Ben Word
bc60adb1b5 📝 Update README [ci skip] 2024-12-22 13:34:01 -05:00
Ben Word
b26907ad79 📝 Update README [ci skip] 2024-12-22 13:31:34 -05:00
Steve Ross
586da211df updates from most recent website build 2024-12-20 17:09:16 +00:00
Ben Word
b81a59e682 📝 Update README [ci skip] 2024-11-13 04:53:25 -05:00
Ben Word
33d0146a4c 📄 Update name 2024-11-13 04:52:57 -05:00
Steve Ross
c437137134 disable comments 2024-11-06 22:56:03 +00:00
Steve Ross
93d9838cbd acf-json 2024-11-06 22:55:01 +00:00
Steve Ross
feebb7c94a custom post type and ACF json syncing 2024-11-06 22:42:07 +00:00
Steve Ross
d0733bfc01 set theme name and details 2024-11-06 21:00:00 +00:00
Steve Ross
6cd48fdd31 add base framework styles 2024-11-05 17:19:47 +00:00
Steve Ross
2204d6691c remove tailwind-css 2024-11-05 15:10:13 +00:00
Steve Ross
3bfd6c6c9d badegg screenshot.png 2024-11-05 14:58:55 +00:00
Steve Ross
c85142272e build theme assets 2024-11-05 14:58:44 +00:00
Steve Ross
d203a49bab composer install 2024-11-05 14:14:26 +00:00
renovate[bot]
c6a21c4611 chore(deps): ⬆️ bump bud to v6.23.3 (#3193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 10:10:29 -05:00
renovate[bot]
a31f120492 chore(deps): ⬆️ bump bud to v6.23.2 (#3187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 11:39:07 -05:00
Ben Word
f1b9646655 📝 Update README [ci skip] 2024-06-02 15:26:58 -05:00
Marcelo
d58fcc7976 🩹 Add missing text domain to skip link (#3190) 2024-05-29 13:59:43 -05:00
Ben Word
56a121182d 📝 Update README [ci skip] 2024-04-04 09:17:11 -05:00
Ben Word
5693139abc 🔧 10.x-dev 2024-02-06 08:50:26 -06:00
Ben Word
081782f05e 🔖 v10.8.2 2024-02-06 08:48:58 -06:00
Brandon
308cc20859 🩹 Fix the comment list output (#3184) 2024-02-02 09:36:33 -06:00
Darshan Gada
a86946e39f 👷 Fix deprecation errors in CI Action (#3183) 2024-02-02 09:35:54 -06:00
Ben Word
3932435866 🔧 10.x-dev 2024-02-01 16:58:33 -06:00
Ben Word
947831ac1c 🔖 v10.8.1 2024-02-01 16:57:46 -06:00
Brandon
4ff19c77ca 🩹 Fix exception being thrown when listing comments (#3182) 2024-02-01 16:56:58 -06:00
Daniel Sturm
0fe7047fa3 🔧 Bump minimum PHP version to 8.1 in style.css (#3181) 2024-02-01 09:25:39 -06:00
Ben Word
f0c5224112 🔧 10.x-dev 2024-01-30 15:29:01 -06:00
Ben Word
c6ff21662b 🔖 v10.8.0 2024-01-30 15:28:18 -06:00
Ben Word
68898723a1 🔧 Build 2024-01-30 15:20:18 -06:00
Ben Word
2e17f81c5d 🔧 Remove sage-svg suggestion
https://roots.io/sage/docs/use-blade-icons/
2024-01-26 09:59:32 -06:00
Ben Word
0365fb2515 ️ Add accessible names to nav elements (#3179)
* ️ Add accessible names to nav elements

---------

Co-authored-by: Nathan Knowler <nathan@knowler.me>
2024-01-18 13:18:02 -06:00
renovate[bot]
c841a02361 chore(deps): ⬆️ bump actions/cache action to v4 (#3180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 13:09:32 -06:00
Ben Word
8bbc14e781 🩹 Comments title: Fix make-pot warning (#3178) 2024-01-18 12:56:13 -06:00
Sandro Würmli
e5b06d37d9 Fix for multiple .po files (#3155)
Co-authored-by: Ben Word <ben@benword.com>
2024-01-18 12:48:38 -06:00
Brandon
c72f14c68d 🎨 Move comment logic into a dedicated Composer (#3162)
* 🎨 Move comment logic into a dedicated Composer

* 🎨 Swap the method order
2024-01-18 12:37:47 -06:00
Ben Word
ad93e8b8c7 👷 Fix labeler action (#3177) 2024-01-18 12:36:07 -06:00
Brandon
e27af6282b 👷 Replace phpcs with Pint (#3161)
 Add `laravel/pint` to the project
 Remove `squizlabs/php_codesniffer` from the project
🔧 Remove deprecated Composer scripts
👷 Replace phpcs with Pint
🎨 Run Pint

---------

Co-authored-by: Ben Word <ben@benword.com>
2024-01-18 12:01:21 -06:00
renovate[bot]
a3807c7e94 chore(deps): ⬆️ bump actions/labeler action to v5 (#3164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:53:44 -06:00
renovate[bot]
4301b2827a chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.8.1 (#3163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:53:31 -06:00
strarsis
f44d6b8c72 Use npm for translate scripts execution (#3174) 2024-01-18 11:50:47 -06:00
Ben Word
bf4c7759ba 🔧 Bump minimum PHP version to 8.1 (#3176) 2024-01-18 11:45:42 -06:00
Ben Word
eccb8ba90e 🔧 Bump minimum Node.js version to v20 (#3175) 2024-01-18 11:42:55 -06:00
renovate[bot]
cca3ffaed1 chore(deps): ⬆️ bump bud to v6.20.0 (#3137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 11:36:49 -06:00
Ben Word
6bb5325f66 🔥 Remove Soil features (#3172) 2024-01-16 09:17:15 -06:00
Brandon
f57d9aab30 🎨 Make the Alert component anonymous (#3173) 2024-01-05 11:10:05 -06:00
Brandon
6f46605b83 🎨 Move default theme markup to the app layout (#3167) 2024-01-05 11:08:58 -06:00
Brandon
5b07f46c2c 🎨 Make the Alert component anonymous 2024-01-04 12:05:48 -06:00
Brandon
94a1787838 🩹 Move get_header hook above wp_head() (Fixes #3171) 2024-01-04 00:30:48 -06:00
Ben Word
5cd2c43847 Editor: Add background image support (#3169) 2023-12-19 10:31:29 -06:00
Brandon
66a39822ee 🚨 Run phpcbf 2023-12-18 23:37:35 -06:00
Brandon
3c07fae355 👷 Stop the madness (#3168) 2023-12-18 23:25:08 -06:00
Log1x
aa2d27699b 🎨 Run Pint 2023-12-19 02:21:37 +00:00
Brandon
b94e545e82 🔧 Remove index.php from the Tailwind config 2023-12-18 20:20:26 -06:00
Brandon
dd114a4798 🎨 Move default theme markup to the app layout
🐛 Fix uncontrollable HTML output (Fixes #3166)
2023-12-18 20:15:03 -06:00
Ben Word
588297f063 📝 Update README [ci skip] 2023-12-11 10:48:10 -06:00
Jacek Gajewski
8109f7d039 ♻️ Check wp_link_pages before rendering in content-single.blade.php (#3157)
Co-authored-by: Brandon <brandon@tendency.me>
2023-12-08 10:44:28 -06:00
renovate[bot]
f53aee2c1f chore(deps): ⬆️ bump actions/setup-node action to v4 (#3156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 10:26:38 -06:00
renovate[bot]
4495474c9f chore(deps): ⬆️ bump stefanzweifel/git-auto-commit-action action to v5 (#3153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 10:26:16 -06:00
strarsis
2208c11c62 🌐 Include theme.json; patterns/ in translation scan command (#3076) 2023-12-08 10:25:42 -06:00
Adrian Enriquez
00691cbeac 💡 Update links in bud.config.js (#3154) 2023-12-08 10:16:46 -06:00
Ben Word
285a273030 📝 Update README [ci skip] 2023-12-07 10:53:44 -06:00
Ben Word
be5281cdd1 📝 Update README [ci skip] 2023-10-10 19:25:36 -05:00
Ben Word
be730d90df 📝 Update README [ci skip] 2023-09-27 10:10:04 -05:00
Ben Word
806993d4f9 🔧 10.x-dev 2023-09-27 09:27:31 -05:00
Ben Word
14f2f9ade4 🔖 v10.7.0 2023-09-27 09:26:40 -05:00
Tom Lawton
c6e9191686 fix: update default app.css tailwind syntax to use @tailwind (#3149) (#3150) 2023-09-27 09:22:49 -05:00
renovate[bot]
3c366a8f3d chore(deps): ⬆️ bump actions/checkout action to v4 (#3147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:14:35 -05:00
renovate[bot]
b123a6bf58 chore(deps): ⬆️ bump actions/setup-node action to v3 (#3084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:13:43 -05:00
renovate[bot]
b022da215c chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.7.2 (#3127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 09:13:26 -05:00
Kelly Mears
1bbd32b6ad 📦 deps: upgrade @roots/bud to 6.16.1 (#3146) 2023-09-27 09:12:32 -05:00
Ben Word
c0d3dd87f7 🔧 10.x-dev 2023-05-09 09:30:16 -05:00
Ben Word
3159cadabb 🔖 v10.6.0 2023-05-09 09:22:08 -05:00
Kelly Mears
27a63ecacd 🩹 fix: core/button block style (#3130) 2023-05-09 09:20:41 -05:00
renovate[bot]
505c310d1f chore(deps): ⬆️ bump bud to v6.12.2 (#3135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 21:26:02 -05:00
renovate[bot]
a2c29f4949 chore(deps): ⬆️ bump bud to v6.12.1 (#3134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-28 10:05:44 -05:00
Kelly Mears
cc94b1bc47 bump: bud@6.12.0 & improvements (#3128)
This PR contains various improvements and cleanups to the configuration and JavaScript code. Key changes include:

- Adding simple comments to `jsconfig.json`.
- Improving config: `bud.wpjson.set` replaces `bud.wpjson.settings`. Note that `bud.wpjson.settings` is not deprecated.
- `bud.wpjson.settings` now disables `dropCap` by default.
- `app.js` and `editor.js` now use `if (import.meta.webpackHot)` instead of optional chaining, since `import.meta.webpackHot` is not a real method and using optional chaining might cause errors.
2023-04-05 13:42:27 -04:00
Ben Word
102778abcf 📝 Update README [ci skip] 2023-03-25 11:33:33 -05:00
renovate[bot]
fe34ad86d0 chore(deps): ⬆️ bump bud to v6.11.0 (#3126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 17:39:45 -06:00
Ben Word
46e0a8407a 📝 Update README [ci skip] 2023-03-07 18:36:57 -06:00
Ben Word
41c7f2c508 📝 Update README 2023-02-28 00:03:07 -06:00
strarsis
d6e6e21339 🔧 Use wp i18n update-po for updating PO files (#3081) 2023-02-22 17:41:27 -06:00
renovate[bot]
d1e1c8ea90 chore(deps): ⬆️ bump bud to v6.9.0 (#3123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 18:51:09 -06:00
Joshua Fredrickson
d22e3935cb 🔧 Bump required PHP version in style.css (#3125) 2023-02-06 12:00:30 -06:00
Daniel Sturm
e99867daca 📝 Update README, update requirement for Acorn v3 (#3124) 2023-02-06 11:59:56 -06:00
Ben Word
eb41bd8c63 🔧 10.x-dev 2023-02-05 12:24:13 -06:00
Ben Word
40dedd67a5 🔖 v10.5.1 2023-02-05 12:22:40 -06:00
renovate[bot]
7129b9b4df ⬆️ Bump Bud to v6.8.0 (#3120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben Word <ben@benword.com>
2023-02-04 17:28:30 -06:00
Brandon
07f28076ca 🧑‍💻 Check that the Acorn bootloader exists before booting (#3121) 2023-02-03 16:52:36 -06:00
Ben Word
51d60f9c43 🔧 10.x-dev 2023-01-27 16:47:14 -06:00
Ben Word
d5f5fbef27 🔖 v10.5.0 2023-01-27 16:45:38 -06:00
Ben Word
03386f06ab 🔧 Acorn v3 (Laravel 9.x), drop PHP 7.4 support (#3097)
Co-authored-by: retlehs <retlehs@users.noreply.github.com>
Co-authored-by: Brandon Nifong <brandon@tendency.me>
2023-01-27 16:43:23 -06:00
Ben Word
523c99c4ec 🔧 10.x-dev 2023-01-26 16:32:32 -06:00
Ben Word
3b4b261e3e 🔖 v10.4.1 2023-01-26 16:31:00 -06:00
renovate[bot]
e0f9f7cd1c chore(deps): ⬆️ bump bud to v6.7.3 (#3117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 12:51:45 -06:00
renovate[bot]
6f2b46dbae chore(deps): ⬆️ bump bud to v6.7.2 (#3116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 12:41:52 -06:00
renovate[bot]
9aa9c00f0b chore(deps): ⬆️ bump bud to v6.7.1 (#3106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 10:37:56 -06:00
Ben Word
353a60711d 🔍️ Posts: Use latest h-entry microformat (#3115) 2023-01-23 20:46:47 -06:00
Ben Word
d644887612 📝 Update README 2023-01-23 11:05:06 -06:00
Ben Word
7eb78a0789 📝 Update README 2023-01-10 14:43:41 -06:00
Ben Word
cd5285864d 🔧 10.x-dev 2023-01-04 09:26:31 -06:00
Ben Word
4c9308983f 🔖 v10.4.0 2023-01-04 09:24:27 -06:00
Ben Word
8e310aeed6 🩹 Fix badge 2023-01-03 14:26:47 -06:00
Kelly Mears
b63f8773a6 Merge pull request #3111 from roots/km-6.6.6
📦 bump: 6.6.6
2023-01-03 12:17:57 -08:00
Kelly Mears
d23fcfb5a4 6.6.9 2023-01-03 10:04:20 -08:00
Kelly Mears
fce1ab7da6 📦 update: 6.6.8 2022-12-31 11:20:49 -08:00
Kelly Mears
0f0fd6995a 📦 yarn.lock 2022-12-23 10:54:24 -08:00
Kelly Mears
fe2885dd9e improve: js boilerplate 2022-12-23 10:53:52 -08:00
Kelly Mears
f4474ecb00 bud.config.mjs -> bud.config.js 2022-12-23 10:53:11 -08:00
Kelly Mears
8865b86bef sage as esm; bump to 6.6.6 2022-12-23 10:50:38 -08:00
Kelly Mears
8a62486cdf improve: jsconfig.json 2022-12-23 10:49:26 -08:00
Kelly Mears
009298f1c0 improve: .editorconfig quote_type 2022-12-23 10:48:53 -08:00
Joshua Fredrickson
c7d5324d89 💡 Update WordPress documentation links (#3107) 2022-12-01 16:09:54 -06:00
renovate[bot]
2aef9a2b40 chore(deps): ⬆️ bump bud to v6.6.2 (#3103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-20 13:10:08 -06:00
renovate[bot]
fd72d7a21e chore(deps): ⬆️ bump bud to v6.6.1 (#3102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 09:41:24 -06:00
renovate[bot]
3d767ac76b chore(deps): ⬆️ bump bud to v6.6.0 (#3096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 10:17:35 -06:00
Joshua Fredrickson
026e1e58c4 🔥 Remove default duotone filters from theme.json (#3101) 2022-11-04 09:27:30 -05:00
Ben Word
20f92ebe64 🔧 10.x-dev 2022-10-04 09:26:52 -05:00
Ben Word
6235f2fc53 🔖 v10.3.1 2022-10-04 09:24:58 -05:00
renovate[bot]
b0adc8b781 chore(deps): ⬆️ bump bud to v6.4.5 (#3094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-04 09:23:15 -05:00
Ben Word
05be790280 👷 CI: Run Pint (#3088) 2022-10-04 09:22:41 -05:00
Ben Word
634e1f3182 🔧 Update Renovate config 2022-10-04 09:15:24 -05:00
Ben Word
c326d50595 🔧 10.x-dev 2022-09-28 11:54:43 -06:00
Ben Word
3d7dc7a128 🔖 v10.3.0 2022-09-28 11:50:04 -06:00
renovate[bot]
2e05b35205 ⬆️ Bump Bud to v6.4.4 (#3091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-28 11:49:31 -06:00
Kelly Mears
1b79a949c4 Merge pull request #2999 from roots/feat-bud-config 2022-09-25 10:08:02 -07:00
Ben Word
b063fa030d 🔧 Generated theme.json 2022-09-24 10:28:56 -05:00
Ben Word
74bad62814 🔧 Remove test color 2022-09-24 10:28:56 -05:00
Ben Word
8e37498eaa 🔧 theme.json generator - move Tailwind to end 2022-09-24 10:28:56 -05:00
Ben Word
a2bd26a4af 🚧 theme.json generator updates 2022-09-24 10:28:56 -05:00
Ben Word
fb8de9a301 🔧 account for #3002 2022-09-24 10:28:56 -05:00
Kelly Mears
972f4cd55c improve: set theme.json colors in tailwind conf 2022-09-24 10:28:56 -05:00
renovate[bot]
7332184315 ⬆️ Bump Bud to v6.4.3 (#3090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-24 10:28:41 -05:00
renovate[bot]
5544c50bc6 ⬆️ Bump Bud to v6.4.2 (#3089)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-23 15:10:30 -05:00
renovate[bot]
dec43c4d37 ⬆️ Bump Bud to v6.4.1 (#3087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 18:13:35 -05:00
luotao
7bafa7c89a Fix broken doc URL (#3086) 2022-09-19 08:05:37 -05:00
Ben Word
7f45932ce1 📝 update README 2022-08-11 10:11:09 -05:00
renovate[bot]
15e81e5a7a Bump Bud to v6.3.5 (#3083)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-28 17:08:46 -05:00
renovate[bot]
034d18ed6a Bump Bud to v6.3.4 (#3082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 09:37:21 -05:00
Ben Word
3540877dd0 🔧 10.x-dev 2022-07-19 17:14:31 -05:00
Ben Word
46babd52df 🔖 v10.2.0 2022-07-19 17:10:59 -05:00
renovate[bot]
76efb28b63 Bump Bud to v6.3.3 (#3080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 17:04:40 -05:00
renovate[bot]
bc73bebdf7 Pin 📦 update squizlabs/php_codesniffer to 3.7.1 (#3065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 11:54:49 -05:00
renovate[bot]
fd674fa18b Bump actions/labeler action to v4 (#3073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 11:52:05 -05:00
renovate[bot]
9838a8e4c1 Bump actions/checkout action to v3 (#3072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 11:51:37 -05:00
renovate[bot]
cce6f19292 Bump actions/cache action to v3 (#3066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-07-12 11:51:26 -05:00
renovate[bot]
108a7fd671 Bump Bud to v6.3.1 (#3079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben Word <ben@benword.com>
2022-07-12 11:50:54 -05:00
Brandon
d488b670c0 chore(lint): run pint (#3075) 2022-07-12 11:29:07 -05:00
Kelly Mears
8192a15e50 📦 improve(patch): bud@6.2.0 (#3074) 2022-07-12 11:27:24 -05:00
Ben Word
16d99623a9 🔧 bud config: set the public path by default (#3064) 2022-06-20 14:31:26 -05:00
Ben Word
8b0df45311 💬 update README 2022-05-31 13:55:02 -05:00
Ben Word
830ceaf3f2 🔧 10.x-dev 2022-05-30 19:14:31 -05:00
Ben Word
b04dc3fae6 🔖 v10.1.7 2022-05-30 19:12:16 -05:00
renovate[bot]
b73f3a8fdd ⬆️ Bump bud to v5.8.7 (#3063)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-24 10:56:33 -05:00
Kelly Mears
d6f53f5e3c 👷 dependabot --> renovate (#3060) 2022-05-24 10:46:58 -05:00
strarsis
03921768f3 🐛 Fix i18n warnings (#3039) 2022-05-11 14:30:48 -05:00
Joshua Fredrickson
112bec8628 🎨 Add trailing commas (#3032) 2022-04-27 13:27:04 -05:00
strarsis
828e5709e9 🔧 Improve translation scripts (#3013) 2022-04-06 23:24:04 -05:00
Ben Word
0ccb907838 ⬆️ bud 5.7.7 (#3029) 2022-04-05 18:00:37 -05:00
Gabriel Giordano
90a1680639 🔧 Add index.php to tailwindcss purge list (#3025) 2022-04-02 08:22:14 -05:00
Ben Word
bd97fb26a8 🔧 10.x-dev 2022-03-30 19:45:21 -05:00
Ben Word
a2e21df741 🔖 v10.1.6 2022-03-30 19:44:34 -05:00
Ben Word
82ad056fae ⬆️ bud 5.7.6 (#3024) 2022-03-30 19:44:13 -05:00
Ben Word
7abdb7490c 🔧 10.x-dev 2022-03-29 08:59:47 -05:00
Ben Word
a6f1c8c49f 🔖 v10.1.5 2022-03-29 08:58:38 -05:00
Ben Word
9eb1b7af41 ⬆️ bud 5.7.4 (#3023) 2022-03-29 08:57:02 -05:00
Ben Word
ef6913f286 ⬆️ bud 5.7.3 2022-03-28 08:26:52 -05:00
Ben Word
614d47f0d9 🔧 10.x-dev 2022-03-27 09:49:38 -05:00
Ben Word
9df7a7ccb4 ⬆️ bud 5.7.2 2022-03-27 09:48:16 -05:00
Ben Word
9e6d73fdca 🔧 10.x-dev 2022-03-25 08:44:06 -05:00
Ben Word
6b5789c05c 🔖 v10.1.3 2022-03-25 08:41:13 -05:00
dependabot[bot]
019506d69a chore(deps-dev): bump @roots/bud-tailwindcss from 5.6.2 to 5.7.0 (#3016)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:39:50 -05:00
dependabot[bot]
2dc6fe908b chore(deps-dev): bump @roots/sage from 5.6.2 to 5.7.0 (#3017)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:32:48 -05:00
dependabot[bot]
8035e1d49d chore(deps-dev): bump @roots/bud from 5.6.2 to 5.7.0 (#3015)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 08:27:14 -05:00
Ben Word
12eb244d03 📄 update name 2022-03-18 00:07:06 -05:00
Ben Word
2494f6d73b 🔧 10.x-dev 2022-03-17 11:45:59 -05:00
Ben Word
2d05b855ca 🔖 v10.1.2 2022-03-17 11:44:03 -05:00
Ben Word
93ea049113 ⬆️ bud v5.6.2 (#3012)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-03-17 11:42:27 -05:00
Ben Word
d76b6c93c2 🔥 remove add_theme_support('align-wide') (#3008) 2022-03-16 09:01:38 -05:00
Ben Word
74709f31e0 add discourse topic release workflow (#3003) 2022-03-14 11:34:06 -05:00
Ben Word
500b3e4c8b 🔧 10.x-dev 2022-03-09 12:52:31 -06:00
Ben Word
eb85b33f69 🔖 v10.1.1 2022-03-09 12:51:11 -06:00
Mike Sheppard
ed89b07f4c 🔥 remove default palette + gradients from theme.json (#3002) 2022-03-09 12:49:57 -06:00
Ben Word
ffd3f94701 🔧 10.x-dev 2022-03-08 09:11:28 -06:00
Ben Word
8f109a9261 🔖 v10.1.0 2022-03-08 09:09:20 -06:00
Brandon
260672b786 chore(deps): Remove deprecated variant configuration from tailwind config (#2994) 2022-03-07 16:20:50 -06:00
Ben Word
8b4031a029 🔥 remove linting (#2998)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-03-07 16:20:31 -06:00
Ben Word
cf2dc5430a 🔥 improve: no need to watch tailwind.config.js (#3000)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-03-05 09:41:56 -06:00
Ben Word
7a89349347 ⬆️ bud v5.5.0 (#2997) 2022-03-04 19:25:23 -06:00
Ben Word
f04d35f717 🔧 10.x-dev 2022-03-01 20:43:16 -06:00
Ben Word
67805292e2 🔖 v10.0.0 (#2993) 2022-03-01 08:24:26 -06:00
Kelly Mears
f297df0942 bud 5.4.0 (#2983)
Co-authored-by: Ben Word <ben@benword.com>
2022-02-23 08:45:08 -06:00
Ben Word
fc93185a7a 🔧 10.0.0-dev 2022-02-14 08:47:56 -06:00
Ben Word
5a95a6200c 🔧 sage 10.0.0-beta.3 (#2977) 2022-02-14 08:37:01 -06:00
Ben Word
c51960bada ✏️ readme: update bud url 2022-02-13 23:54:30 -06:00
Ben Word
42f4344a91 📝 acorn: clarify version 2022-02-13 22:59:19 -06:00
Ben Word
7900dd3748 📝 simplify acorn notes 2022-02-13 21:31:37 -06:00
Ben Word
52add4944d 💬 acorn requirement error: add link to install docs (#2979) 2022-02-11 21:00:58 -06:00
Ben Word
c630a224d0 🔧 remove acorn post-autoload-dump (#2978) 2022-02-10 18:05:56 -06:00
Ben
cd1e3af50f Remove Acorn as dependency; treat as requirement (#2827) 2022-02-10 17:04:35 -06:00
Ben Word
0bd1f42982 📝 update changelog 2022-02-10 16:50:04 -06:00
Ben Word
9fad6e758d ⬆️ bump roots/acorn to v2.0.0-beta.9 (#2968) 2022-02-10 16:44:34 -06:00
Ben Word
5c7587f8d6 ⬆️ bump bud to v5.3.2 (#2976) 2022-02-10 16:44:24 -06:00
Ben Word
7080c225a6 📝 update changelog 2022-02-10 15:00:33 -06:00
Ben Word
b1d291e63f 🔧 migrate global settings to theme.json (#2964) 2022-02-10 14:52:33 -06:00
strarsis
9857121ed0 Re-add i18n related scripts/tasks (#2958)
Scripts were accidentally removed in PR #2643.
2022-02-08 17:29:54 -06:00
Pascal GAULT
85366aeb06 chore(header): allow unescaped siteName data (#2967) 2022-02-06 11:27:02 -06:00
Ben Word
258d1f9675 Update README.md 2022-01-31 17:59:39 -06:00
Ben Word
60e4c24d97 Bud v5.2.0 (#2959)
* chore(deps): Bump @roots/bud to v5.2.0

* lockfile

* remove `setPublicPath`

* suggestions (#2961)

* suggestions

* unneccessary

Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-01-25 19:33:04 -06:00
Ben Word
f63033ef3a chore(deps): Bump roots/acorn to v2.0.0-beta.8 (#2953) 2022-01-19 15:33:57 -06:00
Ben Word
c036636022 Bud v5.1.0 (#2952)
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2022-01-19 15:31:46 -06:00
dependabot[bot]
c26b7691ee chore(deps-dev): bump postcss-preset-env from 7.2.0 to 7.2.3 (#2945)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.2.0 to 7.2.3.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 11:12:10 -06:00
Ben Word
ea4da9c211 fix(bundle-editor): remove @wordpress/edit-post (#2932) 2022-01-14 11:11:44 -06:00
Nathan Knowler
4281ffff90 feat(search): use a button element (#2943)
This is trivial. The only real benefit is that it might be easier to add an icon and easier to style.
2022-01-11 10:05:35 -06:00
dependabot[bot]
90c9fe1da8 chore(deps-dev): bump tailwindcss from 3.0.12 to 3.0.13 (#2944)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.12 to 3.0.13.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.12...v3.0.13)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 09:53:36 -06:00
Brandon
16f3330a4a chore(readme): Add sections directory to theme structure (#2942) 2022-01-10 16:28:36 -06:00
Brandon
fc53cf18b8 fix(views): Use dot notation on entry-meta view includes (#2941) 2022-01-10 16:16:14 -06:00
Ben Word
21491ce84f enhance(views): Move page section views to a sections directory (#2936)
Co-authored-by: Brandon Nifong <brandon@tendency.me>
2022-01-10 16:00:11 -06:00
dependabot[bot]
489fd5af6b chore(deps-dev): bump postcss-preset-env from 7.1.0 to 7.2.0 (#2926)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 10:18:06 -06:00
dependabot[bot]
1d3d60ba0a chore(deps-dev): bump tailwindcss from 3.0.9 to 3.0.12 (#2939)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.9 to 3.0.12.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.9...v3.0.12)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 10:10:09 -06:00
dependabot[bot]
fee03bf186 chore(deps-dev): bump autoprefixer from 10.4.1 to 10.4.2 (#2938)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.1 to 10.4.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.1...10.4.2)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 10:09:41 -06:00
Nathan Knowler
7b427c42e0 fix: app/setup.php doesn’t need to be executable (#2933) 2022-01-05 01:06:27 -06:00
dependabot[bot]
7a66350da9 chore(deps-dev): bump tailwindcss from 3.0.8 to 3.0.9 (#2930)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-04 11:34:18 -06:00
Nathan Knowler
443e493161 chore(php): bump minimum PHP version to 7.4 (#2925) 2022-01-03 05:40:40 -06:00
Simon
0eeda78340 Bump eslint to 8.6.0 (#2922)
babel-eslint is deprecated and should be replaced with @babel/eslint-parser

Co-authored-by: Simon Hammes <simonhammes@users.noreply.github.com>
2022-01-02 15:25:21 -06:00
dependabot[bot]
339e718806 chore(deps-dev): bump autoprefixer from 10.4.0 to 10.4.1 (#2918)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.0 to 10.4.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.0...10.4.1)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-02 14:13:18 -06:00
Nathan Knowler
6523ebccb7 refactor: remove JavaScript detection (#2916)
JavaScript detection with a class name on the body or html element tends
to go unused even by websites that have it set up. Instead, we recommend
that developers write progressively enhanced components that are styled
for non-JS usage by default. Increase specificity, use the cascade, or
code split to apply progressively enhanced styles.
2022-01-02 14:12:20 -06:00
Brandon
ee889edf16 chore: remove helpers.php (#2917)
* chore: remove helpers.php

* chore(docs): remove helpers.php reference from readme
2022-01-02 14:11:43 -06:00
Ben Word
0cea0c3c86 10.0.0-dev 2021-12-29 17:02:53 -06:00
dependabot[bot]
f1adf08902 chore(deps-dev): bump tailwindcss from 3.0.7 to 3.0.8 (#2914)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.7...v3.0.8)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 15:42:41 -06:00
Ben Word
ed8a80c052 Switch to zero-config setup, remove config and bootstrap dirs (#2839)
* Remove config directory

* feat(zeroconfig): Add support for zero-config

* test(php-lint): remove config directory

* chore(readme): update dir structure

* admin/customizer has been removed

Co-authored-by: QWp6t <hi@qwp6t.me>
2021-12-29 15:42:29 -06:00
Ben Word
85db9c25ca chore(deps): Bump roots/acorn to v2.0.0-beta.7 (#2913) 2021-12-29 15:41:50 -06:00
Ben Word
a2f8e0242e chore(labeler): fix labeler (#2915) 2021-12-29 09:58:31 -06:00
dependabot[bot]
0eae57f278 chore(deps-dev): bump postcss-preset-env from 7.0.1 to 7.1.0 (#2912)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 7.0.1 to 7.1.0.
- [Release notes](https://github.com/csstools/postcss-plugins/releases)
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-23 12:01:31 -06:00
Ben Word
1274cbcafc Add PR labeler (#2909)
* Add PR labeler
2021-12-23 11:56:54 -06:00
Ben Word
27f565a63a Sage 10.0.0-beta.2 (#2908) 2021-12-21 08:36:11 -06:00
Ben Word
a870896df9 chore(deps): Bump roots/acorn to v2.0.0-beta.6 (#2911) 2021-12-21 08:31:57 -06:00
Ben Word
358ae364d7 Remove all base styles followup (#2900) 2021-12-20 08:32:50 -06:00
dependabot[bot]
c74afa4789 chore(deps-dev): bump tailwindcss from 3.0.6 to 3.0.7 (#2910)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 08:31:55 -06:00
Ben Word
09234d21f0 Remove customizer starter (#2904) 2021-12-19 09:19:09 -06:00
Ben Word
83ced2339c chore(deps-dev): Bump @roots/bud to v5.0.0 (#2906) 2021-12-19 09:16:13 -06:00
Ben Word
0bc00b0907 chore(deps-dev): Bump @roots/bud to v5.0.0-next.20 (#2905) 2021-12-17 11:00:28 -06:00
dependabot[bot]
0af9543b6b chore(deps-dev): bump tailwindcss from 3.0.5 to 3.0.6 (#2901)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.5...v3.0.6)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 10:15:39 -06:00
dependabot[bot]
bb8e4be381 chore(deps-dev): bump tailwindcss from 3.0.2 to 3.0.5 (#2896)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.2 to 3.0.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.2...v3.0.5)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 09:17:06 -06:00
QWp6t
fd94cff640 chore(deps-dev): Bump @roots/bud to v5.0.0-next.19 (#2895) 2021-12-15 09:14:19 -06:00
Kelly Mears
d1d9dc03bf update watch glob for views directory (#2892) 2021-12-13 17:40:12 -06:00
Kelly Mears
4e1d4ccfaf update tailwind.config.js (#2891) 2021-12-13 17:39:55 -06:00
Ben Word
2331f43a84 Fix Bud proxy (#2890) 2021-12-13 13:09:44 -06:00
Ben Word
44c09a6212 Remove all base styles (#2889) 2021-12-13 13:08:37 -06:00
dependabot[bot]
7b5d7a9bce chore(deps-dev): bump prettier from 2.5.0 to 2.5.1 (#2877)
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:39:29 -06:00
dependabot[bot]
11bbb913bf chore(deps-dev): bump postcss from 8.4.4 to 8.4.5 (#2885)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.4 to 8.4.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.4...8.4.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:34:06 -06:00
dependabot[bot]
f011851803 chore(deps-dev): bump tailwindcss from 3.0.0 to 3.0.2 (#2888)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:28:50 -06:00
dependabot[bot]
4cbbf5ba9c chore(deps-dev): bump @roots/sage from 5.0.0-next.17 to 5.0.0-next.18 (#2886)
Bumps [@roots/sage](https://github.com/roots/bud/tree/HEAD/packages/@roots/sage) from 5.0.0-next.17 to 5.0.0-next.18.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.18/packages/@roots/sage)

---
updated-dependencies:
- dependency-name: "@roots/sage"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:25:37 -06:00
dependabot[bot]
b7961a8b95 chore(deps-dev): bump @roots/bud from 5.0.0-next.17 to 5.0.0-next.18 (#2887)
Bumps [@roots/bud](https://github.com/roots/bud/tree/HEAD/packages/@roots/bud) from 5.0.0-next.17 to 5.0.0-next.18.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.18/packages/@roots/bud)

---
updated-dependencies:
- dependency-name: "@roots/bud"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 09:21:34 -06:00
Ben Word
26ff3fa9ff Tailwind CSS v3.0 (#2882) 2021-12-10 09:43:41 -06:00
Ben Word
60271ef7e6 Update docs link [ci skip] 2021-12-08 13:13:38 -06:00
Ben Word
0ae5f93e17 Switch primary branch from master to main (#2851)
* Switch primary branch from master to main

Co-authored-by: QWp6t <hi@qwp6t.me>
2021-12-08 13:12:30 -06:00
Ben Word
a8266b98ec Remove issue closer (#2878) 2021-12-06 15:59:08 -06:00
dependabot[bot]
c58deddd61 chore(deps-dev): bump postcss from 8.4.1 to 8.4.4 (#2867)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.1 to 8.4.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.1...8.4.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 12:29:09 -06:00
dependabot[bot]
a18d02713b chore(deps-dev): bump @roots/sage from 5.0.0-next.16 to 5.0.0-next.17 (#2865)
Bumps [@roots/sage](https://github.com/roots/bud/tree/HEAD/packages/@roots/sage) from 5.0.0-next.16 to 5.0.0-next.17.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.17/packages/@roots/sage)

---
updated-dependencies:
- dependency-name: "@roots/sage"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 12:22:44 -06:00
dependabot[bot]
eb9bcf9d1a chore(deps-dev): bump @roots/bud from 5.0.0-next.16 to 5.0.0-next.17 (#2866)
Bumps [@roots/bud](https://github.com/roots/bud/tree/HEAD/packages/@roots/bud) from 5.0.0-next.16 to 5.0.0-next.17.
- [Release notes](https://github.com/roots/bud/releases)
- [Changelog](https://github.com/roots/bud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/roots/bud/commits/v5.0.0-next.17/packages/@roots/bud)

---
updated-dependencies:
- dependency-name: "@roots/bud"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 11:46:25 -06:00
Ben Word
a19f9df351 README: Mention Sage 10 beta releases (#2873) 2021-12-04 11:44:05 -06:00
Nathan Knowler
0976ced31f feat(theme-wrapper): remove shrink-to-fit=no (#2870)
See:
https://www.matuzo.at/blog/html-boilerplate/
https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html
HTML 5 Boilerplate
2021-12-02 07:51:13 -06:00
Ben Word
759eb08030 chore(theme): misc cleanup (#2862) 2021-11-28 13:48:29 -06:00
Altan S
9717df84de Fix assets path for static images (#2864) 2021-11-28 13:48:00 -06:00
Ben Word
174c64f261 chore(deps): Bump roots/acorn to v2.0.0-beta.5 (#2861) 2021-11-28 13:39:55 -06:00
dependabot[bot]
54b2711c01 chore(deps-dev): bump postcss-preset-env from 7.0.0 to 7.0.1 (#2846)
Bumps [postcss-preset-env](https://github.com/csstools/postcss-preset-env) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/csstools/postcss-preset-env/releases)
- [Changelog](https://github.com/csstools/postcss-preset-env/blob/main/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-preset-env/compare/7.0.0...7.0.1)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 11:04:56 -06:00
dependabot[bot]
6d2ecce590 chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#2857)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 10:52:56 -06:00
dependabot[bot]
6957fa7531 chore(deps-dev): bump postcss from 8.3.11 to 8.4.1 (#2859)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.1.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.11...8.4.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 10:52:15 -06:00
dependabot[bot]
64c9dea8eb chore(deps-dev): bump @roots/sage from 5.0.0-next.14 to 5.0.0-next.16 (#2860)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 08:18:57 -08:00
dependabot[bot]
7383c9892d chore(deps-dev): bump @roots/bud from 5.0.0-next.14 to 5.0.0-next.16 (#2858)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 07:44:16 -08:00
Joshua Fredrickson
319d5ad1a0 fix(lint): Add additional known at-rules (#2811)
Allows use of `@use`, `@forward` and `@layer` in `.scss` files.
2021-11-23 11:39:21 -06:00
Nathan Knowler
771db437cd doc(readme): replace Mix with Bud (#2850)
[skip ci]
2021-11-23 10:35:54 -06:00
Ben Word
652b7ae24c Update CHANGELOG [ci skip] 2021-11-21 23:56:55 -06:00
Kelly Mears
69dfbfc65c Replace Laravel Mix with Bud (#2643)
Co-authored-by: QWp6t <hi@qwp6t.me>
Co-authored-by: Ben Word <ben@benword.com>
2021-11-21 23:53:01 -06:00
QWp6t
e533e1bd15 chore(deps): Bump roots/acorn to v2.0.0-beta.4 (#2844) 2021-11-19 12:13:47 -08:00
Ben Word
2f50547c20 Move compiled views back to cache dir by default (#2837)
* chore(cache-views): move compiled views to [wp-content]/cache/acorn/views

Co-authored-by: QWp6t <QWp6t@users.noreply.github.com>
2021-11-02 18:06:03 -05:00
QWp6t
7c034f42c6 Revert "Remove Acorn as dependency; treat as requirement (#2825)" (#2826)
This reverts commit 653832edb2.
2021-10-22 17:57:29 -05:00
Ben
653832edb2 Remove Acorn as dependency; treat as requirement (#2825) 2021-10-22 15:48:51 -07:00
Brandon
385452469a chore(views): nitpick blade syntax 2021-10-21 15:19:13 -05:00
Ben Word
66014d7770 Update CHANGELOG [ci skip] 2021-10-21 15:12:38 -05:00
Nathan Knowler
8cb0124750 Use menu name as accessible name of <nav> 2021-10-08 09:13:37 -05:00
Nathan Knowler
824a2cc18c Only display <nav> if primary_navigation is set
The contents of the menu were being conditionally displayed, but it
would display an empty `<nav>` element if the menu location wasn’t set.
2021-10-08 09:13:37 -05:00
Ben Word
a03f55880a Update sponsors [ci skip] 2021-10-07 17:16:57 -05:00
Joshua Fredrickson
acb7bc59a2 Enable Webpack 5's automatic unique naming (#2745) (Fixes #2733) 2021-08-04 18:51:39 -05:00
Ben Word
982ab458bb Update sponsors [ci skip] 2021-07-01 12:16:45 -06:00
Nathan Knowler
e7de7b256a feat: remove x-ua-compatible tag (#2742)
This is redundant in IE 11.
2021-06-16 12:41:53 -05:00
Nathan Knowler
933f9ad8a5 refactor: remove deprecated jQuery .ready() syntax (#2738)
jQuery 3 recommends `$( handler )` syntax.

Reference: https://api.jquery.com/ready/
2021-06-16 12:41:36 -05:00
strarsis
6d66debe17 chore(i18n): Fix/add proper translator comments (#2716)
Co-authored-by: Brandon <brandon@tendency.me>
2021-05-26 20:10:21 -05:00
Brandon Nifong
cb5a5b57fe chore(deps): Bump dependencies 2021-05-26 20:05:16 -05:00
Joshua Fredrickson
926c71eb30 enhance(theme): Disable full-site editing support (#2692) 2021-05-26 19:59:44 -05:00
Brandon
ff62e351aa chore(deps): Bump dependencies (#2723) 2021-05-26 19:40:53 -05:00
Nathan Knowler
e5a59753c7 chore(deps): make jQuery ^3.5.1 a peer dependency (#2721)
Co-authored-by: Austin Pray <austin@austinpray.com>
2021-05-26 19:32:17 -05:00
Greg Hunt
0808d80063 enhance(assets): Shorter pattern for purge files (#2722) 2021-05-26 19:22:03 -05:00
Ben Word
3c985bf416 Update sponsors [ci skip] 2021-05-24 16:32:09 -06:00
dependabot-preview[bot]
b4146f9af6 Upgrade to GitHub-native Dependabot (#2693)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-05-14 11:57:49 -07:00
Ben Word
428f456a20 Update sponsors [ci skip] 2021-04-08 14:53:49 -06:00
QWp6t
90abb3197f fix(assets): use PhpAsset::load()
closes #2660
2021-03-31 12:40:36 -07:00
QWp6t
f19e1a52a6 chore(deps): update acorn to 2.0.0-alpha.0 2021-03-31 04:12:35 -07:00
Ben Word
b4e63a5922 Update sponsors [ci skip] 2021-03-15 16:30:20 -06:00
QWp6t
f19b1dd360 chore(config-log): use generic application.log 2021-02-28 21:52:43 -08:00
QWp6t
749d9d4798 fix(config-view): use acorn helper functions 2021-02-28 20:44:05 -08:00
QWp6t
8d5df52eb7 fix(bootstrap): use static bootloader to prevent rebooting 2021-02-26 22:20:46 -08:00
Brandon
6ca0aa6b74 chore(docs): Fix link to Blade in README 2021-02-16 01:16:08 -06:00
Brandon
19e59450ae chore(docs): Bump minimum requirements
* chore(docs): Change mention of Bootstrap to TailwindCSS
2021-02-16 01:14:33 -06:00
Brandon
af960211f6 chore(docs): Add style to build status badge 2021-02-16 01:11:40 -06:00
Brandon
ac7312ea15 fix(lint): Update eslint path 2021-02-16 01:08:50 -06:00
Brandon
9b1241997e chore(deps): Bump dependencies
revert(assets): Rename js/ back to scripts/
revert(assets): Rename css/ back to styles/
2021-02-16 01:08:50 -06:00
Ben Word
78855e51c8 Update sponsors [ci skip] 2021-02-16 01:08:50 -06:00
Mosaad
b13f4dd85d fix(composer): use proper wp cli command name (#2636) 2021-02-16 01:08:50 -06:00
Brandon
171b1a7aef chore(deps): Bump dependencies 2021-02-16 01:08:50 -06:00
Brandon
e845481fc2 chore(deps): Bump dependencies
chore(view): Remove tabindex from main selector
2021-02-16 01:08:50 -06:00
Brandon
a3d3e54a9d chore(deps): optimize tailwind's purgecss dirs 2021-02-16 01:08:50 -06:00
Michael W. Delaney
23e374d773 enhance(view): Add "skip to content" link (#2622) 2021-02-16 01:08:50 -06:00
Brandon
a5836af8d3 chore(theme): reword soil docblock 2021-02-16 01:08:50 -06:00
Brandon
6d4a52b46c fix(deps): Remove wildcards from .copyDirectory() in webpack.mix.js
chore(deps): Remove reundently passed tailwind config location
chore(deps): Slightly reorganize webpack.mix.js
chore(deps): Bump dependencies
2021-02-16 01:08:50 -06:00
Brandon
648ad5de25 chore(deps): Bump dependencies 2021-02-16 01:08:50 -06:00
Brandon
e1d55e5254 chore(ci): Add --frozen-lockfile arg to yarn install 2021-02-16 01:08:50 -06:00
Brandon
cfb446e78e chore(lint): Tone down the lint script 2021-02-16 01:08:50 -06:00
Brandon
be1b316a83 chore(deps): Bump dependencies 2021-02-16 01:08:50 -06:00
Brandon
ddb46a868f chore(project): Remove .circleci and add .github to .gitattributes
chore(docs): Change build badge to GitHub actions
2021-02-16 01:08:50 -06:00
Brandon
d8dad85a0e chore(ci): Change workflow event to only target master 2021-02-16 01:08:50 -06:00
Brandon
23fd09baea enhance(ci): Change from CircleCI to GitHub actions 2021-02-16 01:08:50 -06:00
Brandon
7c247fa5d8 wip 2021-02-16 01:08:50 -06:00
Brandon
08716e6a78 wip(ci): Change from CircleCI to GitHub actions 2021-02-16 01:08:50 -06:00
Brandon
a5398d2830 wip(ci): Change from CircleCI to GitHub actions 2021-02-16 01:08:50 -06:00
Brandon
57c24f8ba7 chore(theme): Remove specificity from custom-units theme support 2021-02-16 01:08:50 -06:00
Brandon
38cae9f8e5 enhance(theme): Add theme support for custom-line-height 2021-02-16 01:08:50 -06:00
Brandon
6269cee56a chore(theme): Fix docblock link 2021-02-16 01:08:50 -06:00
Brandon
cc2d02d7de chore(theme): Move custom-spacing up for visibility 2021-02-16 01:08:50 -06:00
Brandon
efbb13f282 enhance(theme): Add theme support for custom-units 2021-02-16 01:08:50 -06:00
Brandon
96974bf20a enhance(theme): Add theme support for editor-gradient-presets, editor-font-sizes, disable-custom-colors, disable-custom-gradients, disable-custom-font-sizes, custom-spacing
enhance(theme): Remove theme support for default block patterns
chore(theme): Reorder actions inside of the `after_setup_theme` hook by usefulness
chore(ci): Add `8.0` to version matrix
2021-02-16 01:08:50 -06:00
Brandon
3e2d9baac3 fix(ci): Add test to package.json scripts 2021-02-16 01:08:50 -06:00
Brandon
b3bdf487fb fix(ci): Drop PHP 7.2 from test matrix 2021-02-16 01:08:50 -06:00
Brandon
8f2779a99d chore(readme): Update theme structure example 2021-02-16 01:08:50 -06:00
Brandon
098f2fcfe5 chore(view): Remove redundant selector 2021-02-16 01:08:50 -06:00
Brandon
f64c975375 chore(deps): Remove cross-env as it is no longer necessary 2021-02-16 01:08:50 -06:00
Brandon
5518ea165a feat(assets): Change default CSS framework to Tailwind
* enhance(view): Add light default styling for Tailwind
* chore(view): Clean up unnecessary selectors and spacing
* feat(acorn): Update Acorn for Laravel 8.x
* chore(acorn): Create default `bootstrap/` project directory for Laravel 8.x
* refactor(acorn): Split the Acorn bootloader between `functions.php` and `bootstrap/app.php` to coincide with Laravel
* refactor(assets): Lighten the out of the box CSS boilerplate
* refactor(assets): Rename `dist/` to `public/` to coincide with Laravel
* refactor(assets): Flatten the `assets/` directory into `resources/` to coincide with Laravel
* refactor(assets): Rename `scripts/` to `js/` to coincide with Laravel
* refactor(assets): Rename `styles/` to `css/` to coincide with Laravel
* feat(deps): Update to Laravel Mix ^6.0
* chore(deps): Change Mix-related package.json `scripts` to the new `mix` binary
* chore(deps): Remove PurgeCSS in favor of Tailwind's built in purge
* chore(deps): Remove deprecated/unnecessary/unused dependencies
* chore(deps): Bump minimum PHP version to 7.3 to coincide with Laravel 8.x
2021-02-16 01:08:50 -06:00
Ben Word
33005e59b4 Update sponsors [ci skip] 2020-12-04 09:10:06 -07:00
Mosaad
af2089a7f5 Correct "trailingComma" value for prettier (#2582)
For "trailingComma" in `.prettierrc`, the value "true" is not accepted. Valid values are: "es5", "none", "all" https://prettier.io/docs/en/options.html#trailing-commas
2020-11-23 16:03:42 -06:00
dependabot-preview[bot]
a54a2a1221 Bump squizlabs/php_codesniffer from 3.5.6 to 3.5.8 (#2562)
Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.6 to 3.5.8.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.5.6...3.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-09 18:15:08 -07:00
dependabot-preview[bot]
21cef41ecd Bump bootstrap from 4.5.2 to 4.5.3 (#2554)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-09 18:14:34 -07:00
Tang Rufus
f70de3d052 package.json: Specify supported node versions (#2555) 2020-11-09 18:12:49 -07:00
Ben Word
36937b4cea Update sponsors [ci skip] 2020-10-03 10:13:24 -06:00
Ben Word
1d4f5675c8 Soil: Activation updates for latest version (#2527) 2020-08-30 10:04:32 -06:00
Brandon
24ac51d510 Housekeeping (#2520)
* enhance(project): Add .prettierrc to project
* chore(deps): Bump dependencies
* chore(view): Improve readability of the search form view
* chore(admin): Improve language used in the customize_register filter docblock
* chore(lint): Lint project assets
* chore(change-log): Improve/prepare the changelog for actual release
* chore(readme): Improve README feature list
* chore(readme): Update README theme directory structure
* chore(readme): Add GitHub sponsors badge
* chore(readme): Clean up various wording
* fix(ci): Fix failing tests
* fix(mix): Add index.php to purgecss scope (Supersedes #2423) (Credit @oxyc)
2020-08-20 13:35:15 -05:00
Smeedijzer Internet
5535ea6184 Update setup.php (#2499)
add_theme_support('html5, [.... 'script', 'style']); removes type="text/javascript" and type=”text/css” from enqueued scripts and styles.
2020-08-18 09:34:01 -06:00
Daniel Sturm
be73e2c2dd Fix typos in latest changes (#2502) 2020-07-02 02:42:59 -05:00
dependabot-preview[bot]
fc292199e5 Bump roots/acorn from 1.0.8 to 1.0.9 (#2500)
Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.8...v1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-01 11:27:52 -05:00
Tang Rufus
c1fe8fb22a ci: Use offical CircleCI PHP and Node orbs, and next-gen docker images (#2484) 2020-06-27 19:59:27 -07:00
Ben Word
3ae83c7e57 Update sponsors [ci skip] 2020-05-18 19:32:57 -06:00
Ben Word
eb93c64b6c Update CHANGELOG [ci skip] 2020-05-16 04:39:04 -06:00
dependabot-preview[bot]
41d8239271 Bump bootstrap from 4.4.1 to 4.5.0 (#2467)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 04:37:15 -06:00
dependabot-preview[bot]
604f3ccc92 Bump @wordpress/babel-preset-default from 4.12.1 to 4.13.0 (#2468)
Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default) from 4.12.1 to 4.13.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/changelog.txt)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/babel-preset-default@4.13.0/packages/babel-preset-default)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 04:37:04 -06:00
dependabot-preview[bot]
7ef97a583a Bump roots/acorn from 1.0.6 to 1.0.8 (#2469)
Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.6...v1.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-16 04:36:47 -06:00
Brandon
a4f3392da2 Update README [ci skip] 2020-05-10 16:39:50 -06:00
QWp6t
2c5479995d Sage 10 (#2138)
* Sage 10 (#2122)

There's a new version of Sage in the pipeline. The most significant change is the introduction of Acorn. I'll release more information about Acorn as it nears completion.

TODO

- [ ] Restructure templates (@retlehs)
- [ ] Code splitting (@austinpray, @QWp6t, @swalkinshaw)
- [ ] WooCommerce compatibility (@QWp6t, @retlehs)
- [ ] API for build process (possibly extend Laravel Mix) (@QWp6t, @austinpray)
- [ ] Acorn - https://github.com/QWp6t/acorn/issues/1 (@QWp6t)
- [ ] Documentation

Sage 10 and Acorn are both still works in progress so you should definitely not start any projects with them in their current state unless you're willing to do an inordinate amount of debugging and go through the hassle of keeping up with updates as we push them.

* Add wp_body_open hook (WP 5.2+)

* Add missing search blade
Enable preflight by default
Bump version to 10.0.0 in package.json and style.css
Change PHP requirement to 7.1.3
Upgrade roots/sage-installer
Remove deprecated qwp6t/acorn repository from composer.json
Add some sane optimizations to composer.json
Remove excessive linebreaks from helpers.php
Make config linebreaking uniform
Add missing space to ! conditionals to stay consistent with PSR-1/2
Update the file structure in README.md and add the new sponsor
Revert to shorthand @php()
Add aside markup to sidebar and wrap it in @hasSection
Add a document wrapper
Add ARIA roles to the document, main, aside, header, nav, and footer wrappers
Change entry-meta conditional in content-search.blade.php to an @includeWhen
Add some sane linebreaks throughout the views and codebase to increase readability
Add docblocks to the example Title.php composer

* Add WP Blade Check

* Remove redundant ARIA roles

* Revert language_attributes() to get_language_attributes()
Remove roots/wp-blade-check until we decide on where to put it
Only enable preflight when not in production

* Make searchform translations match WordPress core

* Update Travis conf

* rmdist is gone in Sage 10

* Change to Laravel Mix
Clean up and refactor starter styles
Remove autoload from styles/scripts
Remove $ import on customizer.js as Mix autoload will handle that
Fix conditional on comments.blade.php
Bump PHP version to 7.1.3 on Travis
Remove unnecessary fields in package.json as it will never be published
Rename main.css/main.js to app.css/app.js
Automatically remove Blade cache when theme is activated, changed, or removed

* Simplify Blade cache removal

* Use ->uri() on asset for sanity purposes

* Fix app.js typo

* Add npm-run-all

This lets us run related scripts together pretty easily since we can
use glob patterns (e.g. `lint:*` — `**` is supported too). You can
either run scripts sequentially with `run-s` or in parallel with
`run-p`.

See: https://github.com/mysticatea/npm-run-all

* Add -c (continue on error) flag to lint command

This way lint issues for the scripts doesn’t block the styles from being
linted.

* run-s all the things

* Break up `build:production`
* Refine `start` script to call `build` but using `--watch`
  * Since the base command is the same, this makes it easier to
    maintain.
* Use run-s for `test` script for consistency.

* Refactor build commands

The only thing that differs between `build` and `build:production` is
the Node environment variable. We can use `run-s build:mix` preceeded by
the correspinding environment setting.

* Fix start command

We need to pass `--watch` to the `build:mix` not `build`. Also, this
means we need to set the Node environment beforehand since `build:mix`
doesn’t have that.

* Fix hot command

`dist` needs to exist for HMR to work since it looks for `dist/hot`.
This means we should probably build once before starting HMR. This also
renames `build:mix` to just `mix` to keep a consistent naming scheme.

* Move cache location to `storage/`
Add app.name to configuration
Add a ServiceProvider stub
Add missing trailing commas to config
Remove automatic Blade cache removal action as it is no longer necessary
Clean up .gitignore
Clean up JavaScript docblocks
Remove home.js example
Remove leftover Sage 9 information from README

* Remove redundent $asset in setup.php

* Add clean:views npm script (#2176)

Since views are in a predictable location within the theme, this might
be handy. A side effect of adding this is that generated views are now
cleared on every production build, which might be a good thing. If not,
it’s not hard to change.

* [Sage 10] Add src and public mix path helpers (#2177)

Since Mix uses the `webpack.mix.js` path as the webpack context and
doesn’t let us change the context, having a helper can make it easier to
add new assets. It also provides a single source of truth for the assets
source directory.

Also, this adds a `public` function which just makes it easy for setting
the `to` path in the `copyDirectory` task.

By including the definitions of these functions within the
`webpack.mix.js` file itself it makes it clear to Sage users that they
are not a part of Mix.

* Typo [ci skip]

* Syntax optimizations

* Combine watch rules using extended glob patterns
* Use template literals for mix helpers (src + public). Makes it seem
  less cluttered.

* Use out instead of public for publicPath helper

`public` is a future reserved word in JS

* Use publicPath instead of out

* Use Roots\Acorn\ServiceProvider (#2180)

* Make editorconfig account for Blade's outside of resources/views

* non-Blade files located in resources/views should also be indent_size = 2

* [Sage 10] Replace jQuery’s .ready() (#2182)

* Use DOMContentLoaded listener for document ready
* Account for DOMContentLoaded not firing
* Extract ready() to utils.js

Also uses `window.setTimeout(fn, 0)` to cover async.

In a commit/PR in the near future, the `util` directory will be going
away since the DOM router has been extracted to its own package
(https://github.com/roots/js-dom-router). `utils.js` will function as a
place for custom utilities, similar to what `app/helpers.php` is on the
PHP side of things.

* Replace Travis CI with CircleCI (#2185)

* Replace Travis CI with CircleCI

* Replace badge [ci skip]

* Optimize CircleCI (#2186)

* Optimize CircleCI

* Change cache keys

* Update .gitattributes

* Update .gitattributes

* Optimize CircleCI config (#2188)

* Update composer dependencies

* Bump required WordPress version (#2193)

* Change WordPress requirement to 5.2

* Restructure (#2200)

* Restructure Sage
* Composer test -> lint

* Fix version_compare() operators (#2195)

* Simplify Mix Browsersync API (#2198)

* New DOM router + dynamic imports (#2190)

* Use new js-dom-router 
* add dynamic import support with example
* Use babel-eslint as eslint parser

* Update dependencies

* Add post-autoload-dump script for package discovery (#2201)

* CircleCI: `yarn install` with `--frozen-lockfile` (#2203)

* Bump babel-eslint from 10.0.1 to 10.0.2 (#2209)

Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.21.0 to 1.22.0 (#2211)

Bumps [sass](https://github.com/sass/dart-sass) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.21.0...1.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-plugin-import from 2.17.3 to 2.18.0 (#2210)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.17.3 to 2.18.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 5.16.0 to 6.0.1 (#2212)

Bumps [eslint](https://github.com/eslint/eslint) from 5.16.0 to 6.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.16.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix npm run start script options not forwarded with npm (#2205)

This is a known difference between yarn and npm and will eventually
break with yarn once backwards compatibility is removed.

* Use WordPress’ Browserslist config (#2214)

Co-authored-by: Ben Word <ben@benword.com>

* Bump sass from 1.22.0 to 1.22.1 (#2216)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.0...1.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.22.1 to 1.22.3 (#2218)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.1 to 1.22.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.1...1.22.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump laravel-mix from 4.0.16 to 4.1.2 (#2219)

Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 4.0.16 to 4.1.2.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update README [ci skip]

* [Security] Bump lodash from 4.17.11 to 4.17.14 (#2259)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.22.3 to 1.22.4 (#2260)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.3 to 1.22.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.3...1.22.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* chore(readme): Use brand color for Twitter follow badge

[ci skip]

* Acorn asset manager config (#2220)

* Add logs directory

* Bump sass from 1.22.4 to 1.22.5 (#2263)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.4 to 1.22.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.4...1.22.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Add alert component with view composer (#2267)

Resolves #2262

* Fix broken source maps + remove unnecessary conditionals (#2268)

Resolves #2266

Laravel Mix has a bug where source maps are not generated if you do not
specify the source map type (the second argument). This corrects that.

Co-authored-by: Matt Mirus <matt@mattmirus.com>

* chore(config): add alert component alias to view config (#2272)

This also updates Acorn.

* Bump sass from 1.22.5 to 1.22.7 (#2273)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.5 to 1.22.7.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.5...1.22.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-plugin-import from 2.18.0 to 2.18.2 (#2275)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.0 to 2.18.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.0...v2.18.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* No scripts/suggests during `composer install` on CircleCI [ci skip]

* Add timezone, globals, and locale app config [ci skip]

* Add logging config

* Update theme structure in README [ci skip]

* Move get_search_form and body_class to Acorn
comments_template() now defaults to `partials/comments.blade.php`
Composers are now autoloaded

* Bump sass from 1.22.7 to 1.22.9 (#2281)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.7 to 1.22.9.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.7...1.22.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.0.1 to 6.1.0 (#2276)

Bumps [eslint](https://github.com/eslint/eslint) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.0.1...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update sponsors [ci skip]

* Keep a commented out example of calling a Composer class

* Bump dependencies
Add sage-svg (#2270)
Add sage-directives (#2265)
Start changelog (Related to #2271)

* Set `wp_nav_menu` echo to `false` (#2278)

* Bump @wordpress/browserslist-config from 2.5.0 to 2.6.0 (#2282)

Bumps [@wordpress/browserslist-config](https://github.com/WordPress/gutenberg/tree/HEAD/packages/browserslist-config) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/packages/browserslist-config/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/browserslist-config@2.6.0/packages/browserslist-config)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* chore(deps): log1x/sage-directives from 1.0.9 to 1.1.2 (#2286)

Bumps [log1x/sage-directives](https://github.com/Log1x/sage-directives) from 1.0.9 to 1.1.2.
- [Release notes](https://github.com/Log1x/sage-directives/releases)
- [Changelog](https://github.com/Log1x/sage-directives/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Log1x/sage-directives/compare/v1.0.9...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass-loader from 7.1.0 to 7.2.0 (#2287)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.1.0...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Remove unnecessary linebreak [ci skip]

* docs(changelog): Use lowercase for "webpack"

Keeps it consistent with [their brand](https://webpack.js.org/branding/#the-name).

[ci skip]

* Bump rimraf from 2.6.3 to 3.0.0 (#2289)

Bumps [rimraf](https://github.com/isaacs/rimraf) from 2.6.3 to 3.0.0.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Commits](https://github.com/isaacs/rimraf/compare/v2.6.3...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.22.9 to 1.22.10 (#2292)

Bumps [sass](https://github.com/sass/dart-sass) from 1.22.9 to 1.22.10.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.22.9...1.22.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass-loader from 7.2.0 to 7.3.1 (#2293)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.2.0...v7.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.1.0 to 6.2.1 (#2294)

Bumps [eslint](https://github.com/eslint/eslint) from 6.1.0 to 6.2.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.1.0...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump babel-eslint from 10.0.2 to 10.0.3 (#2295)

Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.2.1 to 6.2.2 (#2296)

Bumps [eslint](https://github.com/eslint/eslint) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.2.1...v6.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump log1x/sage-directives from 1.1.2 to 1.1.3 (#2297)

Bumps [log1x/sage-directives](https://github.com/Log1x/sage-directives) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/Log1x/sage-directives/releases)
- [Changelog](https://github.com/Log1x/sage-directives/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Log1x/sage-directives/compare/v1.1.2...v1.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Adds i18n support (#2290)

Adds translation commands to package.json. Includes support for Javascript strings.

Adds translator comment to example app/Composers/Title.php.

Does not implement the loading of translated strings as this is a costly operation and implementations can be opinionated.

* Update Composers to work with the latest Acorn
- Bump dependencies
- Run all translate commands with translate:*

* Use $this->data in the Alert Composer (#2300)

* Use $this->data for handling data in the example Alert composer
* Bump Acorn

* Update sponsors [ci skip]

* Update sponsors [ci skip]

* Update sponsors [ci skip]

* Call ->render() on view instead of relying on toString (#2330)

* Bump for Acorn (#2337)

* Breaking Change: Bump required PHP version to 7.2
* chore(deps): Bump dependencies
* fix(app): Change app.env and app.debug default values (important*)
* chore(deps-dev): Add filp/whoops to required-dev
* chore(ci): Remove php-71 from CircleCI

* Use mix-manifest.json (Fixes #2329)

* Pre-Sage 10 Alpha (#2338)

- Refactor default styles and scripts
- Clean up default view markup
- Change `Title.php` to `Post.php` to suggest a more organized workflow (Supersedes #2320)
- Create an `App` composer to show an example of a global variable
- Add `align-wide` and `responsive-embeds` to `add_theme_support` by default
- Remove deprecated `soil-jquery-cdn` from `add_theme_support`
- Clean up docblocks project-wide
- Update linting to match the latest PSR-12 standards (e.g. the license docblocks)
- Add an appropriate `#app` wrapper to make the project ready for frameworks like Vue
- Add `laravel-mix-purgecss` for purgeCSS in production
- Add `laravel-mix-copy-watched` for asset watching & versioning
- Add `laravel-mix-wp-blocks` to handle compiling blocks
- Reduce the footprint of the default `webpack.mix.js`
- Append filetypes to asset names
- Add default block editor assets
- Add handling for the WordPress asset manifest
- Remove visual editor styling (Fixes #2269)
- Add sensible default styles and folders
- Remove unused `phpcs.xml`
- Move `sage-directives` and `sage-svg` to suggests
- Bump dependencies
- Add Brandon Nifong as an author
- Change license URI to https
- Remove unused function namespaces from setup.php
- Append filetypes to asset names
- Add default block editor assets
- Add handling for the WordPress asset manifest
- Ignore dist when running phpcs
- Change the search input class the the WP default

* Inline manifest.js when enqueueing editor.js (#2344)

* Add theme color palette support (#2352)

* Bump bootstrap from 4.3.1 to 4.4.1 (#2350)

Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint from 6.6.0 to 6.7.2 (#2354)

Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.6.0...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sass from 1.23.3 to 1.23.7 (#2345)

Bumps [sass](https://github.com/sass/dart-sass) from 1.23.3 to 1.23.7.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.23.3...1.23.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Sage 10 editor scripts & styles (#2351)

* adds alternate button style and super basic starter css

* Adds transition variable

* Add bootstrap max-width to editor-styles

* updates button scss, editor wrapper scss, and registration

* rename is-style-ghost to is-style-outline

* simplify structure and cleanup css

* Protect Ben Word's typographic holdings

* Remove scoping from .has-xyz-color classes

* Restore scss partial import structure

* rename partials, move color util, apply bootstrap font

* alphabetical selectors ¯\_(ツ)_/¯

* Bump stylelint from 11.1.1 to 12.0.0 (#2342)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 11.1.1 to 12.0.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/11.1.1...12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump squizlabs/php_codesniffer from 3.5.2 to 3.5.3 (#2356)

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.5.2...3.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* README updates for 10.0.0-alpha.1 (#2271)

* Update theme structure + files in README

* Update setup.php

* Keep hierarchical assets directory structure (#2372)

* fix(stylelint): Fix broken tests (#2375)

feat(stylelint): Set `at-rule-empty-line-before` to `null` to allow sane seperation of imports

* chore(deps): Bump dependencies (#2376)

* update laravel-mix-wp-blocks (#2381)

* Update sponsors [ci skip]

* Sage 10 fixes/cleanup (#2413)

* fix(templates): Move the document wrapper from app.blade.php to index.php to fix hook run sequence (See: #2123)
* feat(mix): Add purgecss-with-wordpress whitelists by default
* chore(docblocks): Remove copyright/license from PHP docblocks
* chore(babel): Remove unused dynamic import plugin until Webpack 5
* chore(babel): Remove unused .babelrc
* chore(deps): Bump dependencies

* Laravel 7.x (#2429)

* enhance(acorn): Update to Laravel 7.x
* enhance(blade): Convert existing alert component to a new View Component
* chore(deps): Bump minimum PHP version to 7.2.5
* chore(deps): Bump dependencies
* chore(configs): Clean up configs
* BREAKING(config): Bump configs to support Laravel 7.x
* BREAKING(components): @Alert() has been replaced with <x-alert ...>
* BREAKING(composers): View co

* enhance(deps): Add `Requires PHP` and `Requires at least` to theme style headers. Bump WordPress requirement to v5.4 (#2409)

* Sage 10 Chores (#2431)

* enhance(functions): Make functions.php pretty
* fix(component): Fix improper use of translation on the Alert component
* enhance(component): Add `$slot` fallback ternary to the Alert component view
* chore(component): Move Alert component message to a slot by default to properly pass the translated string.
* chore(component): Properly set default values for Alert
* chore(deps): Bump dependencies
* chore(theme): Fix required PHP version in style.css

* Bump roots/acorn from 1.0.2 to 1.0.3 (#2433)

Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump roots/acorn from 1.0.3 to 1.0.4 (#2440)

Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump stylelint from 13.2.1 to 13.3.0 (#2439)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.2.1 to 13.3.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.2.1...13.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Update sponsors [ci skip]

* Bump roots/acorn from 1.0.4 to 1.0.6 (#2444)

Bumps [roots/acorn](https://github.com/roots/acorn) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/roots/acorn/releases)
- [Commits](https://github.com/roots/acorn/compare/v1.0.4...v1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @wordpress/dependency-extraction-webpack-plugin from 2.4.0 to 2.5.0 (#2448)

Bumps [@wordpress/dependency-extraction-webpack-plugin](https://github.com/WordPress/gutenberg/tree/HEAD/packages/dependency-extraction-webpack-plugin) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/packages/dependency-extraction-webpack-plugin/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/dependency-extraction-webpack-plugin@2.5.0/packages/dependency-extraction-webpack-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump @wordpress/babel-preset-default from 4.11.0 to 4.12.1 (#2450)

Bumps [@wordpress/babel-preset-default](https://github.com/WordPress/gutenberg/tree/HEAD/packages/babel-preset-default) from 4.11.0 to 4.12.1.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/master/changelog.txt)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/babel-preset-default@4.12.1/packages/babel-preset-default)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump squizlabs/php_codesniffer from 3.5.4 to 3.5.5 (#2451)

Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) from 3.5.4 to 3.5.5.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases)
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.5.4...3.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump laravel-mix-copy-watched from 2.2.3 to 2.2.4 (#2452)

Bumps [laravel-mix-copy-watched](https://github.com/dsktschy/laravel-mix-copy-watched) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/dsktschy/laravel-mix-copy-watched/releases)
- [Commits](https://github.com/dsktschy/laravel-mix-copy-watched/compare/v2.2.3...v2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump jquery from 3.4.1 to 3.5.0 (#2445)

Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Bump stylelint from 13.3.0 to 13.3.3 (#2453)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.3.0 to 13.3.3.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.3.0...13.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* Update README.md

Co-authored-by: Ben Word <ben@benword.com>
Co-authored-by: Brandon Nifong <brandon@tendency.me>
Co-authored-by: Nathan Knowler <nathan@knowler.me>
Co-authored-by: Tang Rufus <tangrufus@gmail.com>
Co-authored-by: dependabot-preview[bot] <dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Oskar Schöldström <m@oxy.fi>
Co-authored-by: Matt Mirus <matt@mattmirus.com>
Co-authored-by: Kelly Mears <developers@tinypixel.dev>
2020-05-10 16:22:44 -06:00
Ben Word
d2d5df8295 Update sponsors 2020-05-09 12:20:53 -06:00
Ben Word
95cbfd155d Update sponsors [ci skip] 2020-04-12 10:02:56 -06:00
Ben Word
dcde0c47e3 Update sponsors [ci skip] 2020-02-11 15:45:39 -07:00
Ben Word
bd38502616 Update sponsors [ci skip] 2019-10-01 18:33:23 -06:00
Ben Word
56680bb5e5 Update sponsors [ci skip] 2019-09-30 19:13:28 -06:00
Ben Word
8255e0feaf Update sponsors [ci skip] 2019-09-30 17:35:49 -06:00
Scott Walkinshaw
f6e5b08569 Fix issue-close-message 2019-09-01 23:25:42 -04:00
Scott Walkinshaw
b430525f14 Add issue closer github action 2019-09-01 23:24:17 -04:00
Ben Word
9100cea66b Update sponsors [ci skip] 2019-07-31 19:58:49 -06:00
Ben Word
9a8ca10365 Update sponsors [ci skip] 2019-04-01 07:39:30 -06:00
Ben Word
e7b2d27569 Merge pull request #2160 from roots/default-health-files
Remove community health files so that defaults from roots/.github are used
2019-03-12 16:47:38 -06:00
Ben Word
03e7d0c430 Remove community health files so that defaults from roots/.github are used 2019-03-12 16:35:08 -06:00
Ben Word
f3e794a093 Merge pull request #2153 from roots/bs-4-3.1
Update to Bootstrap 4.3.1 (9.0.9)
2019-02-13 18:30:50 -07:00
Ben Word
ba30b01456 Update to Bootstrap 4.3.1 2019-02-13 18:18:40 -07:00
Ben Word
fbf041b9d8 Merge pull request #2152 from roots/bs-4-3.0
Update to Bootstrap 4.3.0 (9.0.8)
2019-02-11 20:35:05 -07:00
Ben Word
cee92a97fd Update to Bootstrap 4.3.0 2019-02-11 20:23:44 -07:00
Matt Mirus
19057f60be Filter template hierarchy for embed templates (#2145) 2019-01-15 16:42:00 -08:00
Michael Van Der Velden
899ceac132 Decrease optipng level (#2143)
After seeing the following graph [here](http://sweetme.at/2013/09/11/how-to-maximize-png-image-compression-with-optipng/) we decided to test optimsation level 2 for OptiPNG instead of 7. This is because, acording to the graph we would notice no real difference in avarage file size but would notice a speed increase with our builds.

![image](https://user-images.githubusercontent.com/9092863/50760280-39a7c480-125f-11e9-9bd6-d28171289abe.png)

After testing , we noticed our theme build go from a build time of over 10 mins (just on the 94% asset optimisation step) to an avarage of `150.75s`. All the while, we only gained 10-15kb per png file which we believe more than reasonable for a build speed increase of this magnatude.
2019-01-15 01:03:38 -08:00
Ben Word
889e13f8c0 Merge pull request #2141 from roots/unescape-titles
Unescape post titles
2019-01-08 14:12:47 -07:00
Ben Word
64cf06058d Update sponsors [ci skip] 2019-01-02 14:49:30 -06:00
Matt Mirus
3b36eb5b41 Unescape post titles 2018-12-31 16:06:17 -05:00
Ben Word
0cb6bf2a89 Merge pull request #2137 from roots/9.0.7
9.0.7
2018-12-28 11:05:30 -07:00
Ben Word
c7faf46591 9.0.7 2018-12-28 10:56:37 -07:00
Ben Word
7a9ac5ccde When you're sloppy and forget things 😇 2018-12-21 14:22:59 -07:00
Ben Word
788cec525c Merge pull request #2136 from roots/bootstrap-4.2.1
Sage 9.0.6: Update to Bootstrap 4.2.1
2018-12-21 13:40:29 -07:00
Ben Word
1e31a901b1 Require Node 8+, also test PHP 7.2 and 7.3 2018-12-21 13:28:51 -07:00
Ben Word
d60f1f675d Shoutout to npm: https://npm.community/t/npm-install-downgrading-resolved-packages-from-https-to-http-registry-in-package-lock-json/1818 2018-12-21 12:44:36 -07:00
Ben Word
f3a2e6ab6a Update to Bootstrap 4.2.1 2018-12-21 12:39:33 -07:00
Naokazu Terada
96ad12a650 gitignore /vendors not vendors 2018-11-27 01:43:48 -08:00
Matt Mirus
33832739fe Merge pull request #2131 from roots/tailwind-at-rules
Fix stylelint and eslint validation errors
2018-11-26 20:51:54 -05:00
Matt Mirus
c9252f4180 Fix no-extra-semi 2018-11-26 20:40:17 -05:00
Matt Mirus
7f61dc8682 Update sage-installer 2018-11-26 20:28:29 -05:00
Matt Mirus
dfe4b878a3 Add Tailwind custom at-rules 2018-11-26 20:13:04 -05:00
Ben Word
f793a212d1 Update README.md 2018-11-26 11:34:14 -07:00
Ben Word
2ccaa47f06 Add CodeFirst 2018-11-22 11:34:02 -07:00
Ben Word
fbd2f552b5 Merge pull request #2127 from roots/update-deps
Update a few dependencies
2018-11-16 12:14:22 -07:00
Ben Word
524d1e2f9d Merge pull request #2080 from tormjens/patch-1
Dispatch event when firing routes
2018-11-16 12:13:34 -07:00
Ben Word
b06e4aebe6 Update a few dependencies - close #2117 2018-11-16 12:03:04 -07:00
Ben Word
517b7ff62f Merge pull request #2076 from rbraunschweig/normalize-quotes
Normalize and enforce single quotes
2018-11-16 11:46:16 -07:00
Ben Word
7773e7db41 Double quotes for styles 2018-11-16 11:41:47 -07:00
Ben Word
eee07a84f4 Merge branch 'master' into normalize-quotes 2018-11-16 11:34:28 -07:00
Ben Word
93ee95dfac Merge pull request #2123 from kimhf/hook-run-sequence
Hook run sequence fix
2018-11-16 11:16:13 -07:00
Ben Word
863bbb5b3a Merge pull request #2120 from roots/webpack-preset-note
Add note regarding webpack.config.preset.js usage
2018-11-15 16:12:44 -06:00
Ben Word
28acba4f09 Merge pull request #2125 from roots/fix-sage-dist-path-example
Fix SAGE_DIST_PATH example path
2018-11-15 16:12:26 -06:00
Nathan Knowler
e9bf0beaa2 Fix SAGE_DIST_PATH example path
Needs the trailing slash.
2018-11-07 16:19:19 -07:00
Kim Helge Frimanslund
435e9f26dc More descriptive variable name 2018-10-28 23:37:54 +01:00
Kim Helge Frimanslund
79fddf944f Remove no longer needed script enqueue fix 2018-10-27 11:54:30 +02:00
Kim Helge Frimanslund
ede699368e Bring hook run sequence in line with expected WordPress behaviour 2018-10-27 11:53:52 +02:00
Nathan Knowler
37c7e0dd93 Add note regarding webpack.config.preset.js usage
See #2119
2018-10-19 09:49:31 -06:00
Ben Word
a33bbe5091 Merge pull request #2114 from roots/9.0.5
9.0.5
2018-09-17 11:21:39 -06:00
Ben Word
60e547aa19 9.0.5 2018-09-17 11:13:10 -06:00
Ben Word
f087320908 Update comment [ci skip] 2018-09-17 11:09:24 -06:00
MWDelaney
e72b490626 Workaround for Bootstrap incompatibility with webpack. Fixes #2017 2018-09-17 10:17:14 -04:00
Ben Word
375b06a22b Merge pull request #2112 from roots/9.0.4
9.0.4: Force `illuminate/support` to `5.6.*`
2018-09-07 09:36:32 -06:00
Ben Word
ed0b52bddc Force illuminate/support to 5.6.* 2018-09-07 09:30:38 -06:00
Ben Word
dc53b90a37 Merge pull request #2111 from roots/9.0.3
9.0.3
2018-09-07 08:17:53 -06:00
Ben Word
c9d2c8a223 9.0.3 2018-09-07 08:02:01 -06:00
Ben Word
c9bb05a93d Merge pull request #2110 from roots/revert-2090-master
Revert "Add searchform partial and function to replace default WordPress functionality"
2018-09-07 07:57:23 -06:00
Ben Word
b8c0ebc3ae Merge pull request #2100 from mejta/comments-template-data
Add data from controller to comments template
2018-09-06 19:14:22 -06:00
Ben Word
b7aeb66655 Revert "Add searchform partial and function to replace default WordPress functionality" 2018-09-06 19:12:32 -06:00
Matt Mirus
798e1a2ef1 Merge pull request #2108 from roots/unescape-language-attributes
Unescape get_language_attributes()
2018-09-06 11:44:57 -04:00
Matt Mirus
931ffd39c7 Unescape get_language_attributes() 2018-09-06 11:30:46 -04:00
Daniel Mejta
190e828cfd Revert "Final filter that renders template should have PHP_INT_MAX priority."
This reverts commit 68f8d9791d.
2018-09-05 00:46:31 +02:00
Daniel Mejta
b16e619da6 $comments_template fix 2018-09-03 08:43:51 +02:00
Ben Word
81925de598 Patreon 2018-08-30 13:36:35 -06:00
Daniel Mejta
68f8d9791d Final filter that renders template should have PHP_INT_MAX priority. 2018-08-28 07:23:58 +02:00
Daniel Mejta
fa1681dad9 Add data from controller to comments template 2018-08-28 07:19:59 +02:00
Ben Word
8a023b4307 Merge pull request #2099 from roots/9.0.2
9.0.2
2018-08-21 15:54:44 -06:00
Ben Word
d7acd3a04f 9.0.2 2018-08-21 15:48:26 -06:00
Ben Word
0d4b251130 Merge pull request #2095 from mejta/comments-template-fix
Comments template fix
2018-08-21 15:37:22 -06:00
Ben Word
907825ee88 Merge pull request #2025 from darrenjacoby/master
Upgrade to Controller 2.1.0
2018-08-21 15:35:49 -06:00
Ben Word
3377d94f69 Merge pull request #2098 from roots/update-deps
Update dependencies
2018-08-21 15:33:09 -06:00
Ben Word
53d67e1755 Merge branch 'master' into master 2018-08-21 15:30:05 -06:00
Ben Word
b298b969cc Merge pull request #2092 from LubomirGeorgiev/uglifyjs-es5
UglifyJs: Change the ecma option from 8 to 5
2018-08-21 15:26:17 -06:00
Ben Word
c2abb7f8d4 Update dependencies 2018-08-21 15:24:47 -06:00
Ben Word
351394fb2f Merge pull request #2097 from roots/bootstrap-4.1.3
Update to Bootstrap 4.1.3
2018-08-21 15:19:46 -06:00
Ben Word
7016fa48ed Update to Bootstrap 4.1.3 2018-08-21 15:13:27 -06:00
Ben Word
32ecc08e38 Merge pull request #2096 from roots/update-sage-installer
Bump sage-installer
2018-08-21 15:08:46 -06:00
Matt Mirus
5c947b2aff Bump sage-installer 2018-08-21 14:54:35 -04:00
Daniel Mejta
75a68059f8 Fix 2018-08-21 15:40:11 +02:00
Darren Jacoby
372415045f Update composer.json 2018-08-17 10:15:25 +02:00
Lubomir Georgiev
6280fc97db UglifyJs: Change the ecma option from 8 to 5 2018-08-14 17:23:15 +03:00
Nathan Knowler
157c97b6ae Use smartStrategy to replace loaders with preset (#2084)
Using `merge.smartStrategy` with `'module.loaders' = 'replace'` to load
the preset config allows presets to override the the default webpack
config. This is necessary for the coming Tailwind preset which requires
`resolve-url-loader` and source maps to be disabled.
2018-08-11 19:32:19 -07:00
Ben Word
165a38f4d4 Merge pull request #2081 from kukac7/patch-2
missing semicolon
2018-08-09 15:11:47 -06:00
Ben Word
21b578b593 Merge pull request #2089 from Log1x/patch-1
Change language_attributes() to get_language_attributes()
2018-08-09 15:11:20 -06:00
Ben Word
7d13888557 Merge pull request #2090 from MWDelaney/master
Add searchform partial and function to replace default WordPress functionality
2018-08-09 15:05:09 -06:00
Michael W. Delaney
c1bc6ef596 Update filters.php 2018-08-08 09:55:54 -04:00
Michael W. Delaney
d13e8fd9be Update filters.php 2018-08-08 08:51:00 -04:00
Ben
e898cf1f4d Extract logic from search form template
This removes all logic from the search form Blade template, and extracts
it to the "Controller" level via Sage's filter system. It also adds a
global 'app' filter to hook into, so that the search form data will be
served on every page.
2018-08-06 13:06:34 -07:00
MWDelaney
b41047f5a1 Add text domain 2018-08-05 21:15:08 -04:00
MWDelaney
d93964b9c4 Remove gross WPCS 2018-08-05 21:06:46 -04:00
MWDelaney
1ccc2eed76 Add searchform partial and function to replace (and maintain) default WordPress functionality 2018-08-05 12:07:32 -04:00
Brandon
e84108c44d Change language_attributes() to get_language_attributes() 2018-07-31 17:25:45 -05:00
Daniel Roe
a9312c0633 Fix missing comment-reply JS (#2085) 2018-07-18 16:37:51 -06:00
Nathan Knowler
61f923413a Add support for preset specific Webpack config (#2083) 2018-07-17 10:58:16 -07:00
béla
6325f11cd6 missing semicolon 2018-07-02 00:22:37 +02:00
Tor Morten Jensen
2d9b9d16bf Fix comma dangle lint error 2018-06-20 14:50:43 +02:00
Tor Morten Jensen
2af688c4f1 Rename to event 2018-06-20 14:48:28 +02:00
Tor Morten Jensen
8f039f1944 Dispatch event when firing routes
It is especially neat when importing the scripts from the parent theme in a child theme. In one of my themes I do it like this:

```js
// routes.js
import home from './routes/home'

export default {
    home: {
      init() {
        console.log('Home route fired.')
      }
    }
}
```

  ```js
// main.js
/**
 * Parent Themes Script
 */
import '../../../../core-theme/resources/assets/scripts/main';

/**
 * Internal modules
 */
import routes from './routes'

/**
 * Hook in to the parent themes router
 */
document.addEventListener('routed', e => {
  let route = e.detail.route,
    fn = e.detail.fn;

  if (routes[route] && typeof routes[route][fn] === 'function') {
    routes[route][fn]();
  }
});
```
2018-06-20 14:08:10 +02:00
Jason Baciulis
fd2a94fa1b Add uglifyjs plugin (#2070)
* Add uglifyjs plugin and replace -p flag with --env.production
* Add uglifyjs plugin
* Configure UglifyJsPlugin to drop console and prevent eslint error
* Turn off no-console rule because uglifyjs plugin drops it in prod
2018-06-16 08:33:41 -07:00
Ben Word
093b5a6500 Merge pull request #2078 from knowler/enable-sass-comments
Enable Sass comments and run prefixing before minification
2018-06-11 11:05:12 -06:00
Nathan Knowler
4a9094b12d Add missing trailing commas in 2f51b51
Forgot to lint.
2018-06-09 10:34:55 -06:00
Nathan Knowler
405aedfb13 Run autoprefixer before minification 2018-06-09 09:49:34 -06:00
Nathan Knowler
2f51b51c95 Enable source comments in Sass 2018-06-09 09:49:08 -06:00
Rhys Braunschweig
248c569bff Normalize and enforce single quotes in styles
- Replace stylelint property in package.json with .stylelintrc.js
- Add string-quotes stylelint rule
- Fix quotes
2018-05-29 12:12:21 +02:00
Rhys Braunschweig
9040a3dc75 Normalize and enforce single quotes in scripts
- Add quotes and semi rules to ESLint
- Fix quotes and semicolons
2018-05-29 12:11:44 +02:00
Ben Word
987a1d8bb2 Merge pull request #2075 from E-VANCE/master
Proposal: Set removeViewBox to 'false' in webpack's optimization settings
2018-05-28 19:20:06 -06:00
Henning Orth
9dd101f56c Fix travis CI build error (missing trailing comma) 2018-05-28 16:50:49 +02:00
Henning Orth
d1c8a2eee7 Tweaked SVGO settings
Disable removal of the SVG viewBox by default to improve compatibility. See this Discourse thread: https://discourse.roots.io/t/svg-size-change-upon-yarn-build-production/12320
2018-05-28 16:44:12 +02:00
Ben Word
ab3763856e Merge pull request #2068 from kimhf/template-admin-compatibility
Make template() compatible with wp admin
2018-05-10 09:02:30 -06:00
Kim Helge Frimanslund
9a4b81c43a Make template() compatible with wp admin 2018-05-06 13:42:31 +02:00
Ben Word
b1f645b825 Merge pull request #2066 from roots/9.0.1
9.0.1
2018-04-30 12:52:11 -06:00
Ben Word
b6f89bf652 9.0.1 2018-04-30 12:44:52 -06:00
Ben Word
29f4b2fc62 Merge pull request #2065 from roots/bootstrap-4.1.1
Update to Bootstrap 4.1.1
2018-04-30 12:42:32 -06:00
Ben Word
82618b7441 Update to Bootstrap 4.1.1 2018-04-30 12:33:53 -06:00
Ben Word
fa6e6f93a3 Merge pull request #2063 from valentinocossar/remove-whitespace
Remove useless whitespace
2018-04-30 08:11:51 -06:00
Valentino Cossar
b08db80c7b Remove useless whitespace 2018-04-27 15:50:26 +02:00
Ben Word
8d001c7571 Merge pull request #2062 from roots/auto-detect-proxyurl-scheme
Auto-detect proxyUrl scheme
2018-04-25 15:57:46 -06:00
Ben Word
922ed72ad9 Auto-detect scheme 2018-04-25 15:37:28 -06:00
Ben Word
571c49f698 Close #2028 - Increase priority on comments_template filter 2018-04-25 12:18:52 -06:00
Ben Word
061d3ad700 Merge pull request #1980 from dmgawel/patch-1
Update template hierarchy
2018-04-25 12:16:01 -06:00
Ben Word
8df602fb50 Remove Font Awesome reference [ci skip] 2018-04-25 12:09:14 -06:00
Ben Word
ef28dae253 Merge pull request #2032 from juniorgarcia/master
Added support to .otf fonts
2018-04-25 12:07:12 -06:00
Ben Word
9834098dd1 Merge pull request #2061 from roots/laravel-5.6
Bump to Laravel 5.6
2018-04-25 12:05:01 -06:00
Ben Word
5103f511c6 Bump sage-lib 2018-04-25 11:54:08 -06:00
Ben Word
77e7ce0c64 Close #1962 - Bump to Laravel 5.6 2018-04-25 11:50:58 -06:00
Ben Word
fb7dabe369 Merge pull request #2060 from ttamnedlog/remove-php-shorthand
Remove php blade shorthand
2018-04-22 22:11:56 -06:00
Matt Golden
d44a6b0332 Remove php blade shorthand 2018-04-18 19:20:06 -05:00
Ben Word
9d5de7db39 Stable vs dev install messaging, ref https://github.com/roots/docs/issues/140 [ci skip] 2018-04-12 20:10:43 -06:00
Ben Word
c60bf29dc2 Update some dependencies 2018-04-12 19:56:22 -06:00
Ben Word
8d8b158ad4 Merge pull request #2056 from roots/bootstrap-4.1.0
Bootstrap 4.1.0
2018-04-12 19:46:05 -06:00
Ben Word
de1796e1b6 Update CHANGELOG [ci skip] 2018-04-12 19:44:28 -06:00
Ben Word
cdc49cbf86 Bootstrap 4.1.0 2018-04-12 19:39:22 -06:00
Ben Word
8766826f17 Remove run 👀 [ci skip] 2018-04-12 19:27:31 -06:00
Ben Word
9947b1d591 Merge pull request #2055 from MWDelaney/master
New Sage primary purple
2018-04-12 19:08:59 -06:00
Michael W. Delaney
d3267f06d7 New Sage primary purple 2018-04-12 20:40:22 -04:00
Darren Jacoby
022c4aafcd Update Controller to 2.0.1 2018-04-03 21:41:19 +02:00
Ben Word
ffad63566a Merge pull request #2048 from chancestrickland/master
Update node-sass
2018-03-29 00:24:59 -06:00
Charalambos Poulikidis
be1b8887f4 changed inline @php directive to full form (#2042)
closes #2012
2018-03-27 15:38:28 -07:00
chance
c59b373c27 upgrade node-sass 2018-03-27 08:42:27 -05:00
Ben Word
f2c47cf41b Merge pull request #2044 from HJGreen/svgo-configuration
Fix default SVG optimisation configuration
2018-03-19 16:57:35 -06:00
Harry Green
0c11974859 Fix default SVG optimisation configuration 2018-03-19 21:42:47 +00:00
Ben Word
ea76b61cd5 Merge pull request #2037 from roots/php-7.1
PHP 7.1+ is now required
2018-03-13 22:47:56 -06:00
Ben Word
8088207e75 PHP 7.1.3+ [ci skip] 2018-03-13 22:47:14 -06:00
Ben Word
8096f74a7a PHP 7.1+ is now required 2018-03-06 18:40:13 -07:00
Ben Word
808e37a085 Force 5.4.27 version of illuminate/support 2018-03-06 15:31:05 -07:00
Ben Word
a4a19a5375 Force 5.4 versions of illuminate/support 2018-03-06 14:32:52 -07:00
Ben Word
c5a1782c50 Update Composer dependencies 2018-03-06 14:11:50 -07:00
Ben Word
0c53b57ffd Merge pull request #2033 from roots/sponsors
Add sponsors
2018-02-21 09:16:33 -07:00
Ben Word
a62cb8be04 Add sponsors [ci skip] 2018-02-20 19:33:41 -07:00
Júnior Garcia
393215507d Added support to .otf fonts 2018-02-19 21:35:58 -03:00
Ben Word
de27307b82 Merge pull request #2026 from nacm/patch-1
Update CHANGELOG.md
2018-02-07 22:36:06 -07:00
Ahmed Naseem
87560e7eed Update CHANGELOG.md 2018-02-08 12:59:05 +08:00
Darren Jacoby
e5edc8dd5f Controller 2.0.0 2018-02-07 19:05:00 +02:00
Ben Word
6e3d873784 Merge pull request #2024 from roots/9.0.0
9.0.0
2018-02-07 08:47:46 -07:00
Darren Jacoby
b3a0b7ff08 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:50 +02:00
Darren Jacoby
11e37a5184 PSR4 loading for Controller 2.0.0 2018-02-07 17:43:24 +02:00
Darren Jacoby
4470c26ddd PSR4 loading for Controller 2.0.0 2018-02-07 17:39:35 +02:00
Ben Word
c46e073cf6 9.0.0 2018-02-07 08:28:33 -07:00
Ben Word
4981becae9 Update README [ci skip] 2018-02-06 12:08:02 -07:00
Ben Word
ffe2aa4cb3 Update CHANGELOG [ci skip] 2018-02-06 12:03:50 -07:00
Ben Word
f7b182df6d Merge pull request #2021 from roots/update-deps
Update dependencies
2018-02-06 11:53:45 -07:00
Ben Word
f6bfff16bd npm lockfile 2018-02-06 11:38:37 -07:00
Ben Word
77a601df68 Update dependencies 2018-02-06 11:33:57 -07:00
Ben Word
623217c524 Merge pull request #2015 from slackday/bootstrap4.0.0
Updated bootstrap to release version 4.0.0
2018-01-23 11:48:28 -07:00
Stefan Lindberg
62f86043e6 Updated bootstrap to release version 4.0.0
Updated popper.js to version 1.12.9
2018-01-23 14:39:29 +01:00
QWp6t
951274bb15 Add php-mbstring to list of requirements
Fixes #2013
2018-01-19 13:03:02 -08:00
Ben Word
42db9f9c99 Merge pull request #2008 from alwaysblank/allow-console-on-dev
Allow `no-console` development
2017-12-19 10:01:21 -07:00
Ben Martinez-Bateman
ca76f57316 Don't need this any more! :( 2017-12-18 11:55:42 -08:00
Ben Martinez-Bateman
789eec1a57 This moves our eslint config in .eslint.js, which allows us to use conditionals in the config file itself, significantly simpliying rule creation. For small-scale differences, this seems to be the simplest solution. 2017-12-18 11:51:12 -08:00
Ben Martinez-Bateman
ea2d4070aa Rename production eslint file from .eslintrcProd to .eslint.production.json as per suggestion from @swalkinshaw: https://github.com/roots/sage/pull/2008#issuecomment-352520506 2017-12-18 10:50:49 -08:00
Ben Martinez-Bateman
626c9e6535 Build process now allows console.log, except when the production flag is set on yarn build, in which case it will throw an error. 2017-12-18 10:37:32 -08:00
Ben Word
80a00245ab Delete .eslintrc
https://discourse.roots.io/t/console-log-sage-9-eslint/10316/6
2017-12-14 23:04:44 -07:00
Ben Word
bb840aa126 Merge pull request #2001 from raziraz/patch-1
Update README.md
2017-12-11 17:27:10 -07:00
Ben Word
f6d8c9fd6e Merge pull request #2003 from iamandrewluca/remove-bower-traces
Remove some Bower traces
2017-12-11 17:26:31 -07:00
Andrew Luca
985fb5e830 Remove some Bower traces 2017-12-11 13:32:32 +02:00
razitazi
6dbb3614b1 Update README.md
Added Bulma as a an installation option for css framework.
2017-12-01 12:05:53 +01:00
Ben Word
2cae6148d5 Merge pull request #1999 from roots/contributor-covenant
Add Code of Conduct
2017-11-27 17:18:31 -07:00
Ben Word
9073a29fd5 Add Code of Conduct [ci skip] 2017-11-27 17:03:24 -07:00
Ben Word
5c4c500716 Merge pull request #1995 from roots/dev-to-test
Change .dev to .test for default local dev TLD
2017-11-18 17:43:54 -07:00
Ben Word
52c08d1454 Change .dev to .test for default local dev TLD per https://github.com/roots/trellis/pull/923 2017-11-18 17:40:46 -07:00
Ben Word
2b53c6997f Merge pull request #1993 from MWDelaney/master
Move variables and Bootstrap lines to autoload
2017-11-13 15:04:55 -07:00
mwdelaney
412740e644 Bootstrap function in _variables.scss to play nice with other frameworks 2017-11-13 16:59:29 -05:00
Michael W. Delaney
7deb83faf2 Move variables and Bootstrap imports to autoload 2017-11-13 16:10:39 -05:00
Michael W. Delaney
e6b15b6e3b Remove explicit Bootstrap lines 2017-11-13 16:10:01 -05:00
Ben Word
db78e401e2 Merge pull request #1992 from MWDelaney/master
Adapt to use Bootstrap 4 Beta 2 functions and variables
2017-11-13 12:18:07 -07:00
mwdelaney
059a89e715 Example $theme-color 2017-11-13 12:44:54 -05:00
Michael W. Delaney
72bfc1ff57 Update main.scss 2017-11-13 12:29:54 -05:00
Ben Word
7e9744b377 Merge pull request #1986 from roots/update-controller-default-examples
Update controller examples
2017-11-01 10:24:35 -06:00
Ben Word
fe66ed52cd Update controller examples 2017-10-30 09:53:47 -06:00
Ben Word
59cd31540d Merge pull request #1981 from roots/bootstrap-4-beta-2
Update to Bootstrap 4 Beta 2
2017-10-20 16:08:35 -06:00
Ben Word
182a7d6595 Update dependencies 2017-10-19 14:06:04 -06:00
Ben Word
8bcd754d59 Update CHANGELOG [ci skip] 2017-10-19 13:46:50 -06:00
Ben Word
4b37859008 Bootstrap 4 Beta 2 2017-10-19 13:41:02 -06:00
Dawid Gaweł
3f9d31c19a Update template hierarchy
All sage/filter_templates/paths have now higher priority than stand-alone template files. Fixes #1979
2017-10-19 12:59:24 +02:00
Ben Word
b4421be269 Merge pull request #1964 from roots/retlehs-patch-1
Remove get_the_posts_navigation from 404
2017-09-12 16:04:32 -06:00
Ben Word
7bfe868afb Remove get_the_posts_navigation from 404 2017-09-12 16:04:15 -06:00
DieGOs
7ce252939c Update config.json (#1963)
Remove old watch path to controllers
2017-08-31 14:05:59 -07:00
Ben Word
c2a7b5edd0 Add friendly-errors-webpack-plugin (#1961) 2017-08-23 09:50:59 -07:00
Ben Word
ea7186b15b Merge pull request #1960 from greatislander/controller-readme
Move /controllers to app, remove app/lib/Sage in readme
2017-08-22 13:00:31 -06:00
Ned Zimmerman
219babfda5 Move /controllers to app, remove app/lib/Sage in readme. 2017-08-22 15:56:26 -03:00
Ben Word
d27ac38e93 Merge pull request #1959 from darrenjacoby/master
Controller 9.0.0-beta.4
2017-08-22 11:54:19 -06:00
Darren Jacoby
681ad997a2 Controller 9.0.0-beta.4 2017-08-22 19:49:09 +02:00
Ben Word
eb3164cb85 Merge pull request #1954 from darrenjacoby/master
Change default Controller path to app/controllers
2017-08-22 10:52:12 -06:00
Ben Word
739fac8131 Merge pull request #1955 from oxyc/followup-1950
Followup #1950: Fix lint:styles task with cmd.exe
2017-08-22 10:03:31 -06:00
Oskar Schöldström
2c777ec5f8 Followup #1950: Fix lint:styles task with cmd.exe 2017-08-20 12:36:19 -05:00
Darren Jacoby
dcbd5a7366 Change default Controller path to app/controllers 2017-08-20 19:14:46 +02:00
Ben Word
499f809c6e Merge pull request #1941 from kaisermann/fix-template-controller
Ensure templates filenames without path and extension.
2017-08-17 10:53:52 -06:00
Christian Kaisermann
33b981c4fc Ensure to get templates filenames without path and extension. 2017-08-17 13:43:33 -03:00
Ben Word
e00eaf7e8f Merge pull request #1912 from kaisermann/title-on-controller
Moved title() helper to app.php controller
2017-08-16 21:24:52 -06:00
Ben Word
6022309d33 Merge pull request #1951 from oxyc/patch-1
Issue #1950: Fix lint:styles script not matching files in deep subdirectories
2017-08-16 21:20:20 -06:00
Ben Word
e9417b86cd Merge pull request #1949 from MWDelaney/master
Fix for plugins that don't enqueue their scripts properly
2017-08-16 21:19:57 -06:00
Oskar Schöldström
fb55b6464a Fix lint:styles script not matching files in deep subdirectories 2017-08-16 22:00:52 -05:00
Michael W. Delaney
6c472480d0 Update helpers.php 2017-08-14 11:18:40 -04:00
Ben Word
a031f8d17a Merge pull request #1937 from 9585999/patch-1
Update README.md
2017-08-13 19:12:45 -06:00
Michael W. Delaney
33776e9317 Update webpack.config.js (#1946) 2017-08-12 01:34:44 -07:00
Ben Word
79fb1ee5de Merge pull request #1943 from roots/bs4-beta
Bootstrap 4 Beta, Sage 9.0.0-beta.4
2017-08-11 18:18:34 -06:00
Ben Word
d208fa4b4e 👀 2017-08-11 18:12:25 -06:00
Ben Word
66c69063e2 Bump sage-installer 2017-08-11 18:07:12 -06:00
Ben Word
ce754b88df BS4 now requires Popper 2017-08-11 17:59:18 -06:00
Ben Word
05c853ea88 Bump sage-lib 2017-08-11 17:42:48 -06:00
Ben Word
505fa357a7 Bootstrap 4 Beta, Sage 9.0.0-beta.4 2017-08-11 17:36:19 -06:00
Ben Word
0a0f1dc025 Merge pull request #1935 from roots/php7
PHP 7+ is now required
2017-08-08 11:29:50 -06:00
Ben Word
091cf08f6d Remove PHP 5.6 tests from Travis 2017-08-08 11:15:15 -06:00
DieGOs
1813c82cc0 Update README.md 2017-08-05 12:40:12 +03:00
cfe34e3d8e Update sage-installer 1.1 -> 1.2 2017-08-03 16:10:49 -07:00
Ben Word
b7dcd306e4 Update CHANGELOG 2017-08-02 11:07:08 -05:00
Ben Word
a3a268f7f6 PHP 7+ is required 2017-08-02 11:06:58 -05:00
QWp6t
8691074b29 Merge pull request #1919 (Sage 9.0.0-beta.4) 2017-07-25 08:58:39 -07:00
d2e58cc0d0 Update webpack 3.3.0 2017-07-18 02:23:56 -07:00
QWp6t
7f1196b070 Comment out example view namespace 2017-07-10 04:34:06 -07:00
QWp6t
78473e2fc9 Fix tyop 2017-07-10 04:32:03 -07:00
QWp6t
b34bfeab3c Replace ContainerContract with Container
thx @LeoColomb for catching this
2017-07-09 14:03:28 -07:00
afbaf8fb2e Update webpack 3.1.0 et al 2017-07-09 07:28:28 -07:00
949fa86c38 index template should always pass post type when including content 2017-07-09 07:13:43 -07:00
a83a10ce69 Add config and controllers to BS watch 2017-07-09 07:11:57 -07:00
1a8dce9b09 Use roots/sage-lib (incl. new config system) 2017-07-09 07:05:07 -07:00
Christian Kaisermann
0283131d00 Removed comment 2017-07-05 11:37:06 -03:00
7a9d4f6be8 Remove unnecessary .gitkeep 2017-07-01 22:17:19 -07:00
caea9aa3fd (CS)Add missing trailing comma 2017-07-01 19:48:51 -07:00
Jan Grzegorowski
a429115fb2 Pass config.open to browsersync-webpack-plugin 2017-07-01 19:39:12 -07:00
a67d5001f3 Minimize webpack output 2017-07-01 18:16:27 -07:00
6bbc676ecb Use roots/sage-installer for post-create event 2017-07-01 18:03:58 -07:00
093d1f724d Refactor module (loader) rules
- Removed unnecessary url-loader targeting .woff files
- Replaced file-loader with url-loader (file is fallback for url)
- PostCSS plugins are all loaded manually vs postcss.config.js
2017-07-01 12:49:47 -07:00
d79504bf48 Revert to latest stable version of file-loader 2017-07-01 07:09:40 -07:00
39ac9e7ecc Implement autoload system for styles/scripts 2017-07-01 04:52:49 -07:00
24f0092d53 Remove redundant comments from styles/scripts 2017-07-01 01:44:44 -07:00
0a99ad1db5 Use jsDoc comments in front-end scripts 2017-07-01 01:08:54 -07:00
b8a502def6 Update npm dependencies 2017-06-30 23:56:54 -07:00
cc41cc1e3b Support config-local.json overrides config.json 2017-06-30 21:02:09 -07:00
f370d7674e Stylelint allow empty sources 2017-06-30 20:48:28 -07:00
f02e2d3e86 Move eslint and stylelint configs to package.json 2017-06-30 20:47:27 -07:00
Christian Kaisermann
d956e54c85 Moved title() helper to app.php controller 2017-06-23 13:03:35 -03:00
Ben Word
8172de691f Merge pull request #1903 from roots/add-controller
Add soberwp/controller
2017-06-22 19:37:07 -05:00
Ben Word
aced09fb1e Merge pull request #1910 from darrenjacoby/add-controller
Controller examples
2017-06-22 19:29:07 -05:00
Darren Jacoby
ca808db748 Controller examples 2017-06-21 17:29:41 +02:00
Ben Word
f5a31c3feb Merge pull request #1908 from roots/template-call-syntax
Change syntax of template call to match other files in views/
2017-06-14 16:38:12 -06:00
Raquelle Fahle
98e4d4d09d Change syntax of template call to match other files in views/ 2017-06-14 16:41:42 -05:00
Ben Word
081b374de8 Merge pull request #1906 from samrap/hotfix-1905
Don't remove comments when clearing files.
2017-06-13 12:24:52 -06:00
Sam Rapaport
95acfe2ff5 Remove test output. 2017-06-13 09:47:19 -07:00
Sam Rapaport
3849192cc7 Don't remove comments when clearing files. 2017-06-13 09:45:42 -07:00
Ben Word
43cbd1ec90 Use latest Controller (https://github.com/soberwp/controller/pull/26) 2017-06-13 10:27:15 -06:00
Ben Word
65169986b7 Merge pull request #1867 from davekiss/patch-1
Add Tachyons as a CSS framework option
2017-06-13 07:43:29 -06:00
Dave Kiss
6b3d44857b assets -> resources/assets 2017-06-13 08:47:10 -04:00
Dave Kiss
e59dc20163 Merge branch 'master' of github.com:roots/sage 2017-06-13 08:39:27 -04:00
Ben Word
48c1d15c62 Merge pull request #1904 from roots/remove-post-formats
Remove post format reference in template call
2017-06-11 20:42:36 -06:00
Raquelle Fahle
8703069607 Update operator for template call 2017-06-11 20:59:49 -05:00
Raquelle Fahle
94b172f85c Remove post format reference in template call 2017-06-11 19:43:20 -05:00
Ben Word
556f08aee4 Merge pull request #1885 from samrap/dev-stylelint
Add stylelint to builds and watch
2017-06-11 17:56:25 -06:00
Ben Word
7e02fdbb6b Update comments, add some more 2017-06-11 17:53:22 -06:00
Ben Word
ae530661cb Merge branch 'master' into dev-stylelint 2017-06-11 17:43:19 -06:00
Ben Word
384d95871d Merge pull request #1890 from rfair404/rfair/update-docs-for-resources
Update inline documentation to reflect correct theme file locations
2017-06-11 17:40:59 -06:00
Ben Word
e170c3887c Add soberwp/controller 2017-06-11 17:30:42 -06:00
Julien Melissas
c304c3041d Optimize CSS Assets safe = true (#1901)
Related: https://github.com/roots/sage/pull/1610#issuecomment-182969178
oh word!
2017-06-06 13:15:34 -07:00
Ben
c21df9965f Update Autoprefixer and standardize browserlist location (#1899)
This updates Autoprefixer to 7.1.1, and also moves the browser target
list to package.json, in line with the recommendation made in this
article (https://evilmartians.com/chronicles/autoprefixer-7-browserslist-2-released)
from the developers of Autoprefixer and Browserslist.
2017-05-31 13:09:00 -07:00
Toby Schrapel
74b485be95 Do not redirect for WP-CLI (#1891) 2017-05-19 14:22:23 -07:00
Russell Fair
da353de6ee update inline documentation to reflect correct theme file locations 2017-05-03 17:26:51 +00:00
Léo Colombaro
62bba1bd23 illuminate: make with parameters (#1888)
Since Illuminate 5.4, `$container->make` with `$parameters` is `$container->makeWith` : 8fbb101a60/Container.php (L547-L568)

Related: 
* f242cb50e9
* 1fc0d2451e
2017-05-02 01:21:07 -07:00
Scott Walkinshaw
80c5a6a5d4 Merge pull request #1886 from schrapel/patch-1
Remove die/var_dump
2017-04-25 09:59:13 -04:00
Toby Schrapel
dfcac1e857 Remove die/var_dump 2017-04-25 08:54:27 -05:00
Sam Rapaport
d81b85ec48 Fix stylelint errors. 2017-04-24 11:42:59 -07:00
Sam Rapaport
17e7d76377 Add Stylelint linting for scss files. 2017-04-24 11:38:43 -07:00
Ben Word
b55a8621c0 Merge pull request #1884 from roots/beta3
Sage 9 Beta 3
2017-04-21 16:55:02 -06:00
Ben Word
4917135ed3 Beta 3 2017-04-21 14:13:20 -06:00
Nicolo Sacchi
b11cb99d64 Fixed production manifest path (#1881) 2017-04-17 19:47:43 -07:00
QWp6t
1f06230118 Update dependencies 2017-04-15 18:52:03 -07:00
QWp6t
99160be992 Move required theme files to sage/resources
* Resolves issue with WP only looking one-level deep for templates #1870
* get_template_dir() and related functions now point to sage/resources
* Use collect() when assembling views paths
* Update tree in README
2017-04-15 18:52:03 -07:00
Ben Word
bea1b34322 Merge pull request #1873 from ciromattia/patch-1
front_page -> frontpage
2017-04-05 11:18:58 -06:00
Ciro Mattia Gonano
3852cf8f4b front_page -> frontpage
Fix regression, see 6ca3b3faa7
2017-04-05 11:13:07 +02:00
Ben Word
146258899e Update README [ci skip] 2017-04-03 22:37:51 -06:00
Ben Word
fc541e74b5 Merge pull request #1869 from roots/src-to-app
Rename src/ to app/
2017-04-03 22:16:37 -06:00
Ben Word
3540e3831f Missed a path 2017-04-03 19:58:10 -06:00
Ben Word
80728a1b94 Move src/ to app/ 2017-04-03 19:46:52 -06:00
Ben Word
73b6b787e5 Merge pull request #1864 from roots/rename-base-to-app
Move assets/ to resources/assets/, move templates/ to resources/views/
2017-04-03 19:15:45 -06:00
Ben Word
5ac56aadf2 Fix redirect loop 2017-04-03 18:49:09 -06:00
Ben Word
c3e6f1324e assets/ -> resources/assets/ 2017-04-03 18:42:26 -06:00
Ben Word
700a556c02 templates/ -> resources/views/ 2017-04-03 18:40:55 -06:00
Ben Word
0fab46fe14 Rename base.blade.php to app.blade.php 2017-04-03 18:40:04 -06:00
Dave Kiss
cd8f306979 Use official SASS transpiled partials instead
Sage works better without assuming PostCSS is part of the build process. Previously included version implements PostCSS.

See: github.com/tachyons-css/tachyons-sass
2017-04-01 19:52:16 -07:00
Dave Kiss
b1859ccb27 Add Tachyons PR link 2017-04-01 19:21:07 -07:00
Dave Kiss
aef74daa12 Update CHANGELOG.md 2017-04-01 19:12:35 -07:00
Dave Kiss
b1ad725408 Add Tachyons as CSS framework option 2017-04-01 19:11:26 -07:00
Dave Kiss
0287a0b134 Add Tachyons as a CSS framework option 2017-04-01 19:08:11 -07:00
QWp6t
038de19e68 Enable HTML injection over SSL 2017-03-29 01:49:11 -07:00
QWp6t
d91cabff58 Update browsersync-webpack-plugin 2017-03-29 01:49:11 -07:00
QWp6t
69c55e9abb Update dependencies 2017-03-29 01:49:11 -07:00
QWp6t
6b40db80fd Fix injection issues 2017-03-29 01:49:11 -07:00
Ben Word
c84fe502f1 Merge pull request #1854 from plaurent75/fix-wp-link-pages
wp_link_pages displayed twice
2017-03-24 16:30:29 -06:00
patrice
27cd0e726f Fix wp_link_pages displayed twice 2017-03-03 14:42:27 +01:00
Scott Walkinshaw
35edef6ae7 Merge pull request #1852 from rfair404/rfair/wp-47-version-check
Add version check for WordPress version less than 4.7.0
2017-03-01 20:06:21 -05:00
Russell Fair
068a229e30 add version check for WordPress version less than 4.7.0 2017-03-01 23:48:26 +00:00
Ben Word
c9b8dce42c Merge pull request #1849 from slackday/PR/dynamic-devurl
Check for dynamic env DEVURL before config
2017-03-01 09:11:43 -07:00
Ben Word
7cc75e687f Merge pull request #1847 from drawcard/patch-2
Add requirement note for Wordpress 4.7
2017-02-27 19:45:34 -07:00
Sam Rapaport
f242cb50e9 Upgrade to Illuminate 5.4 packages #1841 (#1850) 2017-02-27 15:01:41 -08:00
Stefan Lindberg
790c3d9bcb Add environment variable check for DEVURL 2017-02-27 18:20:27 +01:00
Chris @ Drawcard
8c5133f669 Add requirement note for Wordpress 4.7
Referencing: https://discourse.roots.io/t/undefined-function-app-get-theme-file-path/8455
2017-02-27 16:00:30 +10:30
QWp6t
4a74183769 Resolve variables passed to @asset() directive
Fixes #1845
2017-02-26 13:24:48 -08:00
Léo Colombaro
25444df836 do not call composer package binaries with path (#1846)
Fixes #1842
See composer note at https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands
2017-02-26 09:12:48 -08:00
Scott Walkinshaw
4dd8d30c23 Merge pull request #1836 from kaisermann/readme-typo
Fix typo in README
2017-02-16 11:07:54 -05:00
Christian Kaisermann
e4ed5df2e3 Fixed typo on readme 2017-02-16 14:03:27 -02:00
QWp6t
bdad1fe3b1 Use copy-globs-webpack-plugin (#1824) 2017-02-07 14:45:18 -08:00
QWp6t
ea7e6040cd Comment out instructions in ISSUE_TEMPLATE.md 2017-02-07 14:39:39 -08:00
Ben Word
b74ead169c This shouldn't have had the slash [ci skip] 2017-02-05 21:52:22 -07:00
Ben Word
87ec2dfe37 Merge pull request #1822 from roots/browsersync-install-options
Add option to configure build settings
2017-02-05 21:48:34 -07:00
Ben Word
652459b30d Not specific to BS 2017-02-05 21:41:00 -07:00
Ben Word
ec1769370b Merge pull request #1827 from roots/update-screenshot-dimensions
Update screenshot dimensions
2017-02-01 19:03:14 -07:00
Raquelle Fahle
77793febc6 Update screenshot dimensions 2017-02-01 16:21:12 -07:00
Toby Schrapel
67818ee90c Update functions.php (#1821) 2017-01-31 01:25:04 -08:00
Ben Word
a81a0f9b03 Add option to configure Browsersync 2017-01-29 16:49:44 -07:00
Ben Word
7cd63be1bc Fix BS4 image caption padding 2017-01-23 18:03:58 -07:00
Ben Word
667668e9d4 Update README [ci skip] 2017-01-22 22:54:27 -07:00
Ben Word
d5bf13f5ce Merge pull request #1819 from greatislander/fix-font-awesome
Write modified package.json with Font Awesome (fix #1818)
2017-01-22 10:15:12 -07:00
Ned Zimmerman
2ee886bbef Write modified package.json with Font Awesome.
Fixes #1818.
2017-01-22 11:53:26 -04:00
QWp6t
de3bce92a9 Add support for HTML injection (#1817) 2017-01-21 16:34:45 -08:00
Ben Word
9ebe9cde0f Merge pull request #1806 from roots/beta2
Beta 2
2017-01-19 09:09:31 -07:00
Ben Word
c63d1552fc Update CHANGELOG [ci skip] 2017-01-19 09:08:00 -07:00
Ben Word
360dfc91c5 Fix Bootstrap JS removal/replacement 2017-01-19 09:01:38 -07:00
QWp6t
4adbc347c2 Fix browsersync (#1815)
* Update dependencies
* Remove monkey-hot-loader
* Use webpack-merge instead of util/mergeWithConcat()
* Fix: copyglobs plugin `after-emit` is bound twice
* NoErrorsPlugin() is deprecated in favor of NoEmitOnErrorsPlugin()
* webpack-dev-middleware should use same publicPath as compiler
* webpack-hot-middleware/client should be prepended to entries
* Browser should refresh when HMR fails
* Bootstrap package.json has correct main property
Sometime between alpha 2 and 3, package.json was pointing to nonexistent
file, so we referenced file manually in our repo. Underlying issue was
fixed by alpha 4, so we no longer have to specify full path to file.
2017-01-18 23:58:37 -08:00
Ben Word
3909bf76f0 Add option to select CSS framework, add Foundation as an option (#1813)
* Add option to select CSS framework, add Foundation as an option
2017-01-18 09:05:56 -07:00
Ben Word
89b4d1c75d Merge pull request #1812 from roots/option-to-add-font-awesome
Add option to add Font Awesome
2017-01-17 15:10:53 -07:00
Ben Word
1f8f24f04f Add option to add Font Awesome 2017-01-17 14:59:55 -07:00
Ben Word
1826102ff1 Merge pull request #1811 from roots/option-to-change-theme-file-headers
Add option to change theme file headers
2017-01-15 13:04:08 -07:00
Ben Word
5b5d36238b Update README, CHANGELOG [ci skip] 2017-01-15 13:03:40 -07:00
Ben Word
c2c43df4b8 Add option to change theme file headers 2017-01-15 12:41:06 -07:00
Ben Word
70328d9ae0 Missed in #1809 2017-01-14 20:16:27 -07:00
Ben Word
b91ab89834 Add option to remove Bootstrap when creating project (#1810)
* Add option to remove Bootstrap when creating project
* Remove phpmd, per @QWp6t
2017-01-14 19:56:17 -07:00
Ben Word
ea7323a5ae Merge pull request #1809 from roots/remove-font-awesome
Remove Font Awesome
2017-01-13 12:05:00 -07:00
Ben Word
66b70b6ffe Update CHANGELOG [ci skip] 2017-01-13 12:02:29 -07:00
Ben Word
865ade536b Remove Font Awesome 2017-01-13 11:57:33 -07:00
Ben Word
596f66f1e7 Merge pull request #1808 from roots/remove-grid-defaults
Remove grid defaults
2017-01-13 11:34:28 -07:00
Ben Word
646c6365ac Remove grid defaults 2017-01-13 11:27:16 -07:00
Ben Word
9fca64adab Remove outdated browser warning 2017-01-13 11:22:15 -07:00
Ben Word
8bd55bba58 Revert to yarn.lock from master, previous Webpack RC 2017-01-11 16:50:44 -07:00
Ben Word
7a3e792d73 Update CHANGELOG, bump version [ci skip] 2017-01-11 16:12:57 -07:00
Ben Word
1279552a6a Use NoEmitOnErrorsPlugin, thanks @eshimischi 2017-01-11 16:08:54 -07:00
Ben Word
d9542131f5 Merge pull request #1798 from oxyc/patch-1
Allow browser versions to be configured in config.json
2017-01-11 16:02:42 -07:00
Ben Word
21c6d66942 Merge pull request #1800 from psorensen/issue/1797
Update clean task name
2017-01-11 16:01:36 -07:00
Ben Word
417ce46654 Fix for publicPath 2017-01-11 12:50:38 -07:00
Scott Walkinshaw
6240a839f7 Merge pull request #1796 from roots/use-stock-eslint
Use stock eslint
2017-01-11 14:34:36 -05:00
Peter Sorensen
eff6644bc8 Update travis
#1797
2017-01-10 13:32:27 -08:00
Oskar Schöldström
f4cf20b94f Respect autoprefixer browsers when stripping vendor prefixes with cssnano 2017-01-10 15:08:54 -05:00
Peter Sorensen
faf77d791f Update README to include new task name
#1797
2017-01-10 12:05:37 -08:00
Peter Sorensen
7d87c3d7e3 rename clean task
#1797
2017-01-10 12:04:33 -08:00
Oskar Schöldström
6b37080b13 Allow autoprefixer's browser versions to be configured 2017-01-10 13:03:43 -05:00
Ben Word
e7366d45eb Merge pull request #1795 from roots/beta1
Beta1
2017-01-10 08:25:19 -07:00
Ben Word
1f60335eee Update CHANGELOG.md 2017-01-10 07:44:33 -07:00
Ben Word
4038e55531 alpha -> beta 2017-01-10 07:43:10 -07:00
QWp6t
69a292a5b3 Add shared $post variable to Blade 2017-01-09 19:32:16 -08:00
Scott Walkinshaw
23d283c7bf Use stock eslint 2017-01-09 20:19:51 -05:00
QWp6t
d1e4a07906 update eslint 3.13.1 2017-01-09 16:45:41 -08:00
QWp6t
6c685f656b Bump version 9.0.0-beta.1 2017-01-09 16:45:33 -08:00
QWp6t
bdaf038248 Give devs more options for dynamically setting publicPath 2017-01-09 16:22:23 -08:00
QWp6t
d06e72e20c Follow standard naming conventions for classes/non-classes in assets/scripts 2017-01-09 14:15:39 -08:00
QWp6t
f12654f83f images should be recompiled on compiler done event 2017-01-09 13:49:38 -08:00
QWp6t
ce6024cde4 publicPath is ../ for styles, and optionally uses envar for everything else 2017-01-09 13:32:38 -08:00
QWp6t
bfb3ef7873 Update airbnb 14.0.0 2017-01-09 13:16:58 -08:00
QWp6t
71791d836c Update webpack 2.2.0-rc.3 2017-01-09 13:09:34 -08:00
QWp6t
0456dccdc2 Update dependencies 2017-01-09 13:05:18 -08:00
Ben Word
c504f94db7 👀 2017-01-09 08:50:59 -07:00
Ben Word
190f4a3503 Merge pull request #1793 from roots/customizer-fix
Only disable customizer if theme isn't activated
2017-01-08 17:30:21 -07:00
Ben Word
d930f19c0d Close #1791 - Only disable customizer if theme isn't activated 2017-01-08 14:19:42 -07:00
Ben Word
07405bf012 Merge pull request #1792 from roots/bs4-alpha-6
Update to Bootstrap 4 Alpha 6
2017-01-08 09:07:15 -07:00
Ben Word
6f6ac94cca Update to Bootstrap 4 Alpha 6 2017-01-08 08:45:39 -07:00
Ben Word
e6d187cb6a Merge pull request #1787 from roots/qwp6t/browsersync-webpack-plugin
Use browsersync-webpack-plugin
2017-01-06 16:18:38 -07:00
QWp6t
24cc3b5a42 Use browsersync-webpack-plugin 2017-01-03 08:40:55 -08:00
Ben Word
9c522ed9f4 Fix conflict with WP core 2016-12-30 12:51:55 -07:00
Ben Word
7722579961 Merge pull request #1781 from roots/config-class
Use Config object to store config options
2016-12-30 12:02:43 -07:00
QWp6t
50bc9d8525 Merge branch 'master' into config-class 2016-12-28 13:20:50 -08:00
QWp6t
6ccdb6d799 Throw errors if minimum requirements aren't met (#1782) 2016-12-28 13:19:19 -08:00
QWp6t
cb03de326d Merge branch 'master' of github.com:roots/sage 2016-12-27 22:16:42 -08:00
QWp6t
0b17f2a96c Use get_theme_file_path() 2016-12-27 22:15:55 -08:00
Ben Word
725ee8446b Enable selective refresh for widgets in customizer (#1778) 2016-12-25 14:48:18 -08:00
QWp6t
121e3f20d7 Prefer passing class name when binding new shared instances 2016-12-24 23:45:05 -08:00
QWp6t
c0fc19ef61 Use Config object to store config options 2016-12-24 23:14:38 -08:00
QWp6t
5d454ba8ed Remove templates/ when normalizing templates in hierarchy filters 2016-12-24 04:42:05 -08:00
QWp6t
50a6f8ea60 Do not use after_switch_theme hook, closes #1768 2016-12-24 04:29:14 -08:00
QWp6t
3258bff64e Pass $template to sage/template/{$class}/data filter, closes #1771 2016-12-18 16:00:00 -08:00
QWp6t
a3141c569e Refactor Blade implementation (again), closes #1769 (#1777)
* Squash bugs, reorganize, etc.
* Use `get_body_class()` to apply filters on template data
* Use `PHP_INT_MAX` as priority for `template_include` filter
2016-12-18 15:50:08 -08:00
Ben Word
258d454bec Merge pull request #1772 from davekiss/patch-1
front_page => frontpage
2016-12-12 15:25:15 -07:00
Dave Kiss
6ca3b3faa7 front_page => frontpage
Correct the value based on what WordPress passes as filter values

https://github.com/WordPress/WordPress/blob/4.7-branch/wp-includes/template.php#L29-L41
2016-12-12 17:24:34 -05:00
Ben Word
6a0488a99b npm -> yarn 2016-12-10 23:22:09 -07:00
Ben Word
7b6e4194ef npm -> yarn 2016-12-10 22:34:50 -07:00
QWp6t
1ebe72fbb1 Update composer.lock 2016-12-10 12:08:04 -08:00
QWp6t
1a39af0f7f Update .travis.yml for Sage 9 2016-12-10 08:04:53 -08:00
QWp6t
fb6f01bac8 Array manipulation in FileViewFinder::getPossibleViewFiles() should be a separate method 2016-12-10 06:11:11 -08:00
QWp6t
354c32e0de Add sage/template_data filter so developers can pass data within template_include 2016-12-10 06:07:26 -08:00
QWp6t
7af96ac311 Normalize $templates[] in {$type}_template_hierarchy 2016-12-10 06:06:00 -08:00
QWp6t
945e3b76d7 Use @php() instead of @php [...] @endphp 2016-12-09 23:48:31 -08:00
QWp6t
b3ebd1f698 Fallback delimiter should be const 2016-12-08 15:55:16 -08:00
QWp6t
e3546ce5d7 Merge branch 'master' of github.com:roots/sage 2016-12-08 15:22:52 -08:00
QWp6t
7f7ce45ed4 Use hyphen in view paths as delimiter for fallback views 2016-12-08 15:22:17 -08:00
Evan Mattson
2edbab951c tighten version constraint for illuminate/view (#1767) 2016-12-08 12:55:21 -08:00
QWp6t
99752388bc Ignore yarn-error.log file 👀 2016-12-08 11:53:13 -08:00
Ben Word
b53ab6e4a1 Merge pull request #1765 from roots/blade
Blade
2016-12-06 17:07:38 -07:00
Kalen Johnson
3dadb86ec2 Fixing double echo's, template cleanup 2016-12-06 15:24:15 -08:00
Kalen Johnson
b7742fd86f Fix sidebar echoing a 1 2016-12-06 15:07:37 -08:00
Ben Word
5c12f0ff8e 👀 2016-12-06 15:45:19 -07:00
Ben Word
ff410b1c1e Uncomment sidebar, fix include 2016-12-06 15:39:58 -07:00
Ben Word
ca9af502df Update README.md 2016-12-06 15:06:22 -07:00
QWp6t
0d83ed4b8b Refactor Blade implementation. Use Container 2016-12-06 03:42:41 -08:00
Ben Word
c69431efa5 Remove PHP 5.5 testing from Travis 2016-12-04 20:19:01 -07:00
QWp6t
f23477386d Use array_map() for blade hierarchy loop 2016-12-04 11:21:45 -08:00
QWp6t
7367225c3e Require PHP >= 5.6.4 2016-12-04 11:20:10 -08:00
QWp6t
aef630d898 Remove wrapper and template classes 2016-12-04 11:19:34 -08:00
QWp6t
c20f53dee4 Resolve style issues 2016-12-04 08:35:13 -08:00
kalenjohnson
0918597d4a First pass at Blade templating 2016-12-03 10:27:22 -08:00
kalenjohnson
3c831356f2 Merge branch 'master' of github.com:roots/sage 2016-12-03 10:22:45 -08:00
Joshua Geschwendt
8388805ba9 Fix to load optimization config (#1762)
closes #1761
2016-12-01 09:08:09 -08:00
Ben Word
2d57641b3d Merge pull request #1760 from roots/remove-sidebar-defaults
Remove sidebar defaults
2016-11-29 20:10:58 -07:00
kalenjohnson
0af72b8525 Unused use keyword 2016-11-27 18:40:33 -08:00
Ben Word
56c3bb8367 Remove sidebar defaults 2016-11-27 15:04:02 -07:00
Ben Word
1b62092855 Merge pull request #1759 from roots/remove-post-formats
Remove post formats
2016-11-27 15:00:32 -07:00
Ben Word
d3171d3caa Replace WP codex links with developer.wordpress.org links 2016-11-27 14:56:03 -07:00
Ben Word
78ea970eab Remove post formats 2016-11-27 14:54:47 -07:00
Ben Word
265815f5bf Merge pull request #1751 from roots/alpha4
Sage 9-alpha.4
2016-11-16 21:04:04 -07:00
Ben Word
729de8cd97 Update yarn.lock [ci skip] 2016-11-16 21:03:31 -07:00
Ben Word
5f640f7225 Update CHANGELOG [ci skip] 2016-11-16 21:02:54 -07:00
QWp6t
e6e60aa8c1 Use new webpack api schema 2016-11-15 02:46:09 -08:00
QWp6t
70ebba7d80 Update dependencies 2016-11-15 00:34:42 -08:00
Ben Word
a37e31df6f Update CHANGELOG [skip ci] 2016-11-14 23:34:38 -07:00
Ben Word
9641e2c4c9 Update alpha references 2016-11-14 23:28:16 -07:00
Ben Word
8ac5f153b8 Variables organization 2016-11-14 23:17:55 -07:00
QWp6t
e7fccbe0bf Use $.fn.ready() (reverts 724d550) 2016-11-07 01:51:18 -08:00
QWp6t
fb19145d42 Theme activation updates 'stylesheet' option instead of 'template' 2016-11-07 00:57:41 -08:00
QWp6t
8c9ba0546b Reorganize and refactor build routine 2016-11-06 22:31:49 -08:00
QWp6t
c1bb2b3a27 Switch assets manifest plugin 2016-11-06 20:32:47 -08:00
QWp6t
c49793cd3d Add images to assets manifest 2016-11-06 19:40:13 -08:00
QWp6t
0d38ab8391 Switch from babel to buble 2016-11-03 09:05:07 -07:00
QWp6t
eae52fd7ea Update dependencies & webpack compatibility (BREAKING CHANGES) 2016-11-03 08:38:22 -07:00
QWp6t
e6f2f494b0 Use http by default (not https) to be consistent with Trellis 2016-11-03 08:35:44 -07:00
Allan Chau
e4d8be1642 Add support for .ico files (#1740) 2016-11-03 01:53:21 -07:00
Ramin
a0afa7795a Adds Yarn package and lock file. (#1744)
Add Yarn support by including yarn.lock file

* removes Yarn as a dependency
2016-11-03 01:51:33 -07:00
Patrick Vézina
09497e7df9 Fix browserSyncOptions in config.js not being passed to BrowserSync (#1732)
See: https://discourse.roots.io/t/sage-9-configure-browsersync/7808
2016-10-05 17:01:09 -07:00
Patrick Vézina
b5a321fb45 Fix duplicate value of watch option Array (#1733) 2016-10-05 16:51:10 -07:00
Ben Word
a87cd047cc Update README.md 2016-09-20 22:24:52 -06:00
Craig Dennis
4dc0163932 Fix #1720: Specify absolute version of Webpack (#1721)
Webpack `2.1.0-beta.23` has breaking changes related to the configuration structure, so forcing `2.1.0-beta.22` as a temporary fix by removing the `^`.
2016-09-20 06:42:44 -07:00
QWp6t
953a8ab5d6 Define WEBPACK_PUBLIC_PATH in webpack.config.js
Move WEBPACK_PUBLIC_PATH back to webpack.config.js

- Reverses a change made in 10899cf
- Closes #1718
2016-09-12 23:47:11 -07:00
QWp6t
f4a8ee5901 9.0.0-alpha.3 2016-09-11 19:00:43 -07:00
QWp6t
b79f389170 Comply with new eslint rules 2016-09-11 18:48:34 -07:00
QWp6t
c96905b075 Use closure instead of doneCompiling() method. Fixes #1717 2016-09-11 18:47:46 -07:00
Scott Walkinshaw
ce82d1a25d Add note to README about master branch 2016-09-11 17:22:38 -04:00
QWp6t
10899cf2cd Fix webpack HMR 2016-09-11 11:39:48 -07:00
QWp6t
3516629add Remove minor edits from CHANGELOG.md 2016-09-11 11:37:08 -07:00
QWp6t
724d550739 Use native DOMContentLoaded event 2016-09-11 11:17:03 -07:00
QWp6t
572b074a9e Add additional commands to readme, fix BrowserSync docs 2016-09-09 10:11:36 -07:00
QWp6t
ab27b45d95 Update dependencies (#1714)
browser-sync                         ^2.14.0  →  ^2.15.0
css-loader                           ^0.24.0  →  ^0.25.0
eslint-config-airbnb                 ^10.0.1  →  ^11.0.0
extract-text-webpack-plugin    ^2.0.0-beta.3  →  ^2.0.0-beta.4
imagemin-webpack-plugin               ^1.0.8  →   ^1.1.0
node-sass                             ^3.8.0  →   ^3.9.3
postcss                               ^5.1.2  →   ^5.2.0
postcss-loader                       ^0.11.0  →  ^0.13.0
sass-loader                           ^4.0.0  →   ^4.0.2
webpack                       ^2.1.0-beta.21  →   ^2.1.0-beta.22
2016-09-09 04:59:00 -07:00
QWp6t
29eeaac506 Assume user has ./node_modules/.bin in their path 2016-09-09 04:32:21 -07:00
QWp6t
697751009b Remove redundant eslint rule exception 2016-09-09 04:31:19 -07:00
Kalen Johnson
2124163de0 Namespaces on own line (#1712)
`namespace` declarations appear on their own line in PHP FIG examples as well as in common PHP frameworks. While not officially part of PSR-2, we should still follow this common practice of not putting `namespace` declaration on the same line as `<?php`.

- http://www.php-fig.org/psr/psr-2/
- https://github.com/laravel/laravel/blob/master/app/User.php#L1-L3
- https://github.com/symfony/filesystem/blob/master/Filesystem.php#L1-L12
- https://github.com/zendframework/zend-mail/blob/master/src/Address.php#L1-L10
2016-09-09 04:24:09 -07:00
Ben Word
a05c8692ca Update composer.json 2016-09-04 22:02:23 -06:00
Ben Word
4fa89c2b80 Fix path, fix permissions [ci skip] 2016-09-04 21:49:54 -06:00
Ben Word
d81b6fdb87 Update README [ci skip] 2016-09-04 21:46:52 -06:00
Ben Word
270b1c7656 this wasn't me 🕵 [ci skip] 2016-09-04 21:32:46 -06:00
Ben Word
8fbdb44857 Update README 2016-09-04 21:28:15 -06:00
QWp6t
ca243ada82 Update version number to 9.0.0-alpha.2 2016-09-04 20:03:42 -07:00
Ben Word
db58d7a09b Sage 9.0.0-alpha.2 2016-09-04 20:48:46 -06:00
QWp6t
f6bdc7b48c Refactor build routine and switch to airbnb style (#1703)
- Relocate webpack stuff to assets/build
- Switch all js to airbnb code style
- Update webpack to v2.0 (beta)
- Update all other dependencies
- Assets manifest uses relative path as key [1]
- Code should be compatible with Node 4.5.0
- All dependencies have been updated

[1]: Previously the assets manifest would use the basename of a file path as
its key when looking up a cachebusted file. This was to be consistent with
Sage 8. This change makes it so that the relative path is used instead.

To clarify, review the following example.

Before:
```
{
  "main.js": "scripts/main_5f4bfc9a9f82291c6dea.js",
  "main.css": "styles/main_5f4bfc9a9f82291c6dea.css",
  "customizer.js": "scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```

After:
```
{
  "scripts/main.js":"scripts/main_5f4bfc9a9f82291c6dea.js",
  "styles/main.css":"styles/main_5f4bfc9a9f82291c6dea.css",
  "scripts/customizer.js":"scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
2016-09-04 19:13:16 -07:00
Paul Tibbetts
a69d57c547 adds contributing to roots guidelines to GitHub issue template (#1710) 2016-09-04 15:49:13 -06:00
Paul Tibbetts
ed5797a753 fixes 2 spelling mistakes and rewords a sentence in the readme (#1709) 2016-09-04 15:49:09 -06:00
cfxd
6394f81d5f Fix package.json whitespace (#1707) 2016-09-02 15:40:17 -07:00
QWp6t
845210d91c Merge pull request #1706 from darrenjacoby/master
Update _grid.scss to use @include make-col-ready() mixin
2016-09-02 06:19:42 -07:00
Darren Jacoby
546f54c97a Update _grid.scss to use @include make-col-ready() mixin 2016-09-02 09:07:55 +02:00
QWp6t
ce679c30a2 Merge pull request #1701 from Jeger/update-readme-browsersync
README updated for running browsersync without bedrock
2016-08-31 08:25:40 -07:00
halvard
34d49c24b6 README updated for running browsersync without bedrock
Readme now has instructions on how to run `npm watch` without bedrock
2016-08-31 10:43:32 +02:00
Ben Word
6655fff6fb Update badges and Packagist version 2016-08-30 11:37:01 -06:00
Ben Word
f8e2248913 Sage 9.0.0-alpha.1 2016-08-30 00:15:06 -06:00
QWp6t
045bb9e727 Merge sage-9 into master 2016-08-29 19:18:51 -07:00
Patrick Vézina
7623ad0511 Set dynamically aboslute public path on 'npm run watch'; fix http/htt… (#1696)
* Set dynamically aboslute public path on 'npm run watch'; fix http/https hardcoded in watch.js

* WEBPACK_PUBLIC_PATH fix
2016-08-26 11:45:50 -06:00
Patrick Vézina
97c1a307ec move assets found in node_modules/ to dist/vendor; simpler assets/config.json (#1697) 2016-08-26 11:34:52 -06:00
Ben Word
b6b0f4b9df Ignore .github dir and .travis.yml for Composer installs 2016-08-14 14:55:13 -06:00
QWp6t
de60291b46 Merge pull request #1686 from andrewklau/patch-1
Load tether
2016-08-13 07:53:33 -07:00
QWp6t
4d58f88166 Squashing asset pipeline bugs and other stuff
1. Update dependencies
   - Add font-awesome as dependency
   - Switch to Bootstrap 4 dev branch
   - Remove eslint airbnb style (we're not using it)

2. Imported images and fonts should go into dist/images
   and dist/fonts, respectively

3. Only lint our own code, not external code (fixes #1633)
2016-08-13 07:49:43 -07:00
Andrew Lau
25cfd61378 Load tether 2016-08-08 15:16:21 +10:00
QWp6t
447c24d082 Update dependencies, incl Bootstrap 4 alpha 3 2016-08-06 18:51:06 -07:00
Ben Word
ccd128cb3e Remove HTML comments from wrapper 2016-08-04 14:55:55 -06:00
johnnyicarus
529b1085f9 Fix path to stylesheet in add_editor_style 2016-07-23 07:58:42 -06:00
Paul Tibbetts
3f0e2bf5a2 Added contributing guidelines link to readme
added link to podcast to readme
moved contributing.md to .github
2016-07-20 20:35:28 -06:00
Chris Atomix
96ad42df43 Create prototype of GitHub Issue Template using Trellis equivalent as a base
As part of https://github.com/roots/sage/issues/1619
2016-07-20 20:34:10 -06:00
Ben Word
69917bfa27 Merge pull request #1673 from WatsonWeb/patch-1
Remove path.extname() check
2016-07-20 20:16:50 -06:00
Ben Word
72b2d89bcc Update required Node.js version 2016-07-20 20:08:48 -06:00
Ben Word
91363795e8 Update comment for importing deps 2016-07-16 13:59:45 -06:00
Ben Word
cc32225d68 Boostrap 2016-07-16 13:59:02 -06:00
QWp6t
320c6916dc Use shorthand syntax in main.js routes 2016-07-16 10:14:57 -07:00
QWp6t
339cc8e01e router doesn't require jQuery. use default params 2016-07-16 10:02:03 -07:00
QWp6t
34253864fa Fix display of theme name in Customizer 2016-07-16 02:43:24 -07:00
QWp6t
f34af480db Convert scripts to es6 2016-07-16 02:17:16 -07:00
QWp6t
eae36be2c9 Refactor functions.php
* Isolate scope of included files
* Load composer dependencies before loading Sage procedural code

Note that scope isolation was originally proposed by @al-the-x in 2014,
and we rejected it at the time. Our theory at the time was that shared
scope might be expected by WordPress developers. But since then we've done
quite a number of things that are atypical of WordPress development,
including our use of namespaces, which in itself is a form of scope
isolation.
2016-07-16 00:35:45 -07:00
QWp6t
325c4d4cc8 Merge pull request #1678 from roots/sage9-rework_wrapper
Rework template wrapper, bring back template_part()
2016-07-15 22:44:01 -07:00
QWp6t
eb3a7add85 Rework template wrapper, bring back template_part() 2016-07-15 05:31:02 -07:00
QWp6t
0a71544b83 Fix tpyo 2016-07-15 03:09:09 -07:00
QWp6t
9bfdd5a5f5 Remove unused static variable in Wrapper 2016-07-14 23:17:11 -07:00
QWp6t
96c5969925 Fix Obj->__toString() conditional logic in wrapper 2016-07-14 23:16:45 -07:00
QWp6t
8ee444d7b7 Allow Obj->__toString() in template heirarchy filter 2016-07-14 15:16:00 -07:00
QWp6t
4435d52d01 Wrap templates located outside the theme
Wrapper will now pass through $template if locate_template() turns up zero
results.
2016-07-14 15:00:07 -07:00
WatsonWeb
1ce8b1df71 Remove path.extname() check
Remove path.extname() check to fix build:production task.

Currently path.extname() is being supplied an object when it expects a string, resulting in a fatal error during production builds.

Removal is the cleanest solution as it's an unnecessary check, assets[name] will always be an object.
2016-07-02 03:46:16 -05:00
Ben Word
ca4db00fab Merge pull request #1667 from allanchau/patch-1
Updated to align with the Bootstrap 4 docs
2016-06-22 10:07:47 -06:00
Allan Chau
0356230f2f Updated to align with the Bootstrap 4 docs 2016-06-16 21:04:42 +09:30
Ben Word
b1163258b4 Merge pull request #1663 from ntwb/patch-2
Add `npm prune` to Travis CI
2016-06-15 06:18:55 -06:00
Ben Word
672a531919 Merge pull request #1666 from ptibbetts/master
Added contributing guidelines link to readme
2016-06-15 06:16:39 -06:00
Paul Tibbetts
447241664b Added contributing guidelines link to readme
added link to podcast to readme
moved contributing.md to .github
2016-06-15 10:49:41 +01:00
Stephen Edgar
07aec245a3 Add npm prune to Travis CI
> Via https://docs.npmjs.com/cli/prune
> > This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed.
> >
> > Extraneous packages are packages that are not listed on the parent package's dependencies list.

The reason for adding this is to go hand in hand with the Travis CI caching implemented a while ago, if you don't run `npm prune` periodically then older packages will not be removed from the cache and the cache will continue to grow in size.

I suspect if you compare the Travis CI cache size between master and this PR, this PR will be significantly smaller. (You could also inspect the cache with Travis CI CLI I think)

https://travis-ci.org/roots/sage/caches
2016-06-09 09:46:51 +10:00
Ben Word
013bd9a0be Merge pull request #1653 from ncoden/fix/scss-build
Update gulp-if, fix #1648
2016-05-25 13:51:17 -05:00
Ben Word
764d5fb686 Merge pull request #1650 from darrenjacoby/bootstrap-4
Bootstrap NPM ^4.0.0-alpha.2
2016-05-23 09:52:21 -05:00
Nicolas Coden
2d3f25b3b6 Update gulp-if, fix #1648
See https://github.com/roots/sage/issues/1648
2016-05-22 11:25:12 +02:00
Darren Jacoby
c1fed13ca6 Bootstrap NPM ^4.0.0-alpha.2 2016-05-21 18:36:38 +02:00
Ben Word
14275b7dbe Merge pull request #1645 from atomixdesign/IssueTemplate
Create prototype of GitHub Issue Template
2016-05-09 08:29:31 -05:00
Chris Atomix
6571dac556 Create prototype of GitHub Issue Template using Trellis equivalent as a base
As part of https://github.com/roots/sage/issues/1619
2016-05-09 10:08:24 +09:30
PTiCA1
83ee29fc47 Sage 9 - fix bootstrap4 styles (#1642)
Update after Bootstrap 4 class name changes
2016-05-03 10:54:25 -04:00
Ben Word
752bf04626 Travis: Remove oauth 2016-04-03 17:20:12 -05:00
Ben Word
fd1f6251e4 Use Composer to run PHPCS and PHPMD tests 2016-04-03 17:16:29 -05:00
Ben Word
508de7dd3b Composer autoload conditional 2016-04-03 17:03:42 -05:00
Ben Word
b19cbbf1df Merge pull request #1628 from HumulusLLC/sage-9
Fix autoloader load order issue when including Sage 9 via composer.json in Bedrock
2016-04-03 15:13:34 -05:00
Ben Word
e554726d4a Travis: gulp and Bower are no longer needed 2016-04-02 23:34:12 -05:00
Ben Word
f5aaf3b18c Consistency 2016-04-02 23:33:55 -05:00
Ben Word
4d5bc345d4 Merge pull request #1626 from ptrckvzn/fix-sidebar-templates
is_page_template() requires the name of the subfolder
2016-04-02 22:54:51 -05:00
Ben Word
3216174fe8 Merge pull request #1632 from roots/update-readme
Update Sage 9 README
2016-04-02 22:46:55 -05:00
Ben Word
1a52c680a5 Update README [ci skip] 2016-04-02 22:45:08 -05:00
Ben Word
42f7de2bd1 Merge pull request #1629 from ptrckvzn/webpack-sage-9
webpack config - improvements
2016-03-30 11:33:43 -05:00
Patrick Vézina
f89c550d36 webpack - various ameliorations 2016-03-30 10:03:18 -04:00
Patrick Vézina
1a8935370e bootstrap 4 flex grid 2016-03-26 14:54:34 -04:00
Matthew Henkler
a994889f9a Move Sage includes from autoloader back to functions.php to fix issues including in Bedrock 2016-03-25 11:21:57 -05:00
Ben Word
bf31b59c6a Merge pull request #1627 from ptrckvzn/webpack-sage-9
webpack implementation improvements
2016-03-24 12:14:42 -03:00
Patrick Vézina
c2658fc5b2 add image-webpack-loader; keep subfolder(s) for images & fonts: 'dist/images/foo/bar.jpg' 2016-03-24 11:07:45 -04:00
Patrick Vézina
9bb62336a8 remove env variable in npm scrpts; rename watch script for clarity 2016-03-15 22:14:04 -04:00
Patrick Vézina
8e2aeb53ab images & fonts : keep the same name 2016-03-15 11:25:50 -04:00
Patrick Vézina
7fa53e3e37 remove SAGE_ENV; uses webpack -d/-p flags; add config file; subfolders in dist/ 2016-03-15 10:47:02 -04:00
Patrick Vézina
55b9feab25 is_page_template() requires the name of the subfolder 2016-03-15 08:16:59 -04:00
Ben Word
82cd4c32f6 Missed during rebase. 3f9b112ffa (commitcomment-16669985) 2016-03-13 18:06:55 -04:00
Ben Word
d1685fee7f Merge pull request #1625 from ptrckvzn/webpack-sage-9
WIP: webpack implementation
2016-03-13 17:55:29 -04:00
Patrick Vézina
7d1baa0fe7 webpack implementation 2016-03-13 17:08:30 -04:00
Ben Word
610c46b3b1 Require PHP 5.5 2016-03-12 13:47:56 -05:00
Ben Word
4d079d9068 Missed during rebase 2016-03-12 12:33:32 -05:00
Ben Word
98b84ec23a Missed during rebase 2016-03-11 18:39:31 -05:00
QWp6t
3f9b112ffa Restructure theme, use autoloader 2016-03-11 18:10:05 -05:00
Jake Cobley
463d6bcf07 removed deprecated gulp-minify-css in favour of gulp-cssnano 2016-03-11 18:09:45 -05:00
Ben Word
13c46811ba Ben Word -> Roots 2016-03-11 18:06:28 -05:00
Ben Word
5551ddebfa Fix BS4 grid after their grid updates 2016-03-11 18:06:28 -05:00
Mike Spainhower
856a482bab Pass the correct template. 2016-03-11 18:06:28 -05:00
QWp6t
b42c425e5c Optimize travis a bit
1. Add apt and composer's cache folder to travis cache
2. Use --prefer-dist to avoid cloning repos
3. Use --no-interaction to inform composer that prompts should be suppressed
4. Use travis_retry to resolve occasional network failures/timeouts
2016-03-11 18:06:28 -05:00
QWp6t
6efa099c79 Move single-post loop to single.php, closes #1582 2016-03-11 18:06:28 -05:00
QWp6t
b491f76974 All function braces need to be on new line 2016-03-11 18:06:27 -05:00
QWp6t
9e2917e4d5 Fix issue with WP loading wrong index.php 2016-03-11 18:06:27 -05:00
Ben Word
16b649627a Remove CONTRIBUTING.md 2016-03-11 18:06:27 -05:00
QWp6t
f598ca9a0b Only use root editorconfig, allow warnings in travis 2016-03-11 18:06:27 -05:00
QWp6t
fe659f4c58 Use 4 spaces for src/*.php 2016-03-11 18:06:27 -05:00
QWp6t
246955c59a Use phpcs.xml for all rules 2016-03-11 18:06:27 -05:00
QWp6t
c5f3724efd Resolve PHPMD warnings 2016-03-11 18:06:27 -05:00
QWp6t
6a4d3bd51a Conform to new rules 2016-03-11 18:03:15 -05:00
QWp6t
2d02544173 Create new phpcs rules 2016-03-11 18:03:15 -05:00
QWp6t
1df3fee010 Remove Template class 2016-03-11 18:03:15 -05:00
QWp6t
12d6ac3c51 Remove closure from sidebar registration 2016-03-11 18:03:15 -05:00
Ben Word
d4461fa1e4 Remove sage.pot 2016-03-11 18:03:15 -05:00
QWp6t
f7194cb7c3 Use Kernighan-Ritchie style braces
Exclusion of PSR-2 rule for BraceOnSameLine is not enough. We need to specifically force this rule.
2016-03-11 18:03:15 -05:00
Ben Word
9eec17dc3f Fix error 2016-03-11 18:03:15 -05:00
Ben Word
abeea0f76c Remove template_part, template_sidebar, temp sidebar fix 2016-03-11 18:03:14 -05:00
Ben Word
67c190fc41 Cleanup 2016-03-11 18:03:14 -05:00
Ben Word
fa0e51faa4 Update asset handles 2016-03-11 18:03:14 -05:00
Ben Word
d217ba6f57 Remove comment-reply JS 2016-03-11 18:03:14 -05:00
Stephen Edgar
21210309b2 Add PHP 7.x "nightlies" to Travis CI and allow to fail 2016-03-11 18:03:14 -05:00
QWp6t
8712dc8e02 Update node in travis, remove unsupported php
Note: We specify CXX env because v8 requires a C++11 compiler
2016-03-11 18:03:14 -05:00
QWp6t
e51e41e0eb Update dependencies, switch to eslint 2016-03-11 18:03:14 -05:00
QWp6t
c9ef232ec1 bootstrap 4 2016-03-11 18:00:06 -05:00
QWp6t
f752470b33 Rename app to src 2016-03-11 18:00:06 -05:00
QWp6t
9283bbbfb3 Fix: page title not displaying 2016-03-11 18:00:06 -05:00
QWp6t
2911c3e015 Update Composer.lock 2016-03-11 18:00:06 -05:00
QWp6t
97906e97e9 Rename interfaces, unset after unwrapping 2016-03-11 18:00:05 -05:00
QWp6t
9eaffa3a2d Restructure theme, use autoloader 2016-03-11 18:00:05 -05:00
Ben Word
8d7bcee4c4 Merge pull request #1621 from roots/8.4.2
Sage 8.4.2
2016-02-19 15:56:50 -07:00
Ben Word
5802138e78 Sage 8.4.2 2016-02-19 15:50:10 -07:00
Ben Word
04da7a6b2d Merge pull request #1618 from lukasbesch/fix/composer-vendor
gitignore composer vendor directory
2016-02-14 15:27:30 -07:00
Lukas Besch
7c440a94ae gitignore composer vendor directory
`composer create-project` (see 6a6ff88536
) adds vendor directory which we do not want to have in version control.
2016-02-14 22:48:03 +01:00
Ben Word
26ea904fb8 Merge pull request #1617 from dafzthomas/master
Fixed build test by removing trailing space
2016-02-12 08:26:38 -08:00
Dafydd Thomas
1cf7af695c Fixed build test by removing trailing space 2016-02-12 11:36:40 +00:00
QWp6t
6787f2b78f Merge pull request #1610 from JakeCobley/master
Removed deprecated gulp-minify-css in favour of gulp-cssnano
2016-02-11 15:19:26 -08:00
Jake Cobley
9b8d641446 added safe:true option to cssnano 2016-02-11 22:46:05 +00:00
Jake Cobley
f93b7aab91 removed options from cssnano 2016-01-31 21:50:37 +00:00
Jake Cobley
9474fe8197 removed deprecated gulp-minify-css in favour of gulp-cssnano 2016-01-31 15:55:42 +00:00
Ben Word
430b05f22a Merge pull request #1607 from roots/8.4.1
Sage 8.4.1
2016-01-27 09:09:46 -08:00
Ben Word
45fdf41925 Sage 8.4.1 2016-01-27 09:03:19 -08:00
Ben Word
1b9c0a3398 Missed in 269346d 2015-12-10 15:40:37 -06:00
Ben Word
61ff4ba132 Merge pull request #1584 from roots/guap-composer
Add composer.json and update installation instructions
2015-12-10 09:35:12 -06:00
QWp6t
6a6ff88536 Add composer.json and update installation instructions 2015-12-09 14:43:04 -08:00
Ben Word
c3b1a12a3e Sage 8.4.0 2015-12-01 00:02:49 -06:00
Ben Word
93da15b03d Merge pull request #1578 from roots/bootstrap-3.3.6
Update to Bootstrap 3.3.6
2015-11-24 22:33:42 -06:00
Ben Word
68213ba77f Update to Bootstrap 3.3.6 2015-11-24 22:26:58 -06:00
Ben Word
4ac7d9e440 Merge pull request #1577 from roots/remove-unnecessary-underscore
Remove unnecessary underscore
2015-11-19 11:05:46 -06:00
Ben Word
269346ddde Remove unnecessary underscore 2015-11-18 23:15:40 -06:00
Ben Word
32dddb00fb Merge pull request #1573 from roots/add-customizer-support
Add support for theme customizer
2015-11-09 13:35:50 -06:00
Ben Word
1607f6e371 Add support for theme customizer 2015-11-09 13:25:04 -06:00
Ben Word
0e60cbb52c Merge pull request #1571 from roots/guap-dropoldbrowsers
Drop support for older browsers
2015-11-09 13:18:32 -06:00
QWp6t
24ca079c42 Drop support for older browsers 2015-11-05 12:50:22 -08:00
Ben Word
8e40824ba6 Merge pull request #1569 from rob006/patch-1
Declare Text Domain in style.css
2015-11-01 18:21:25 -06:00
Ben Word
c660582257 Merge pull request #1570 from 88mpg/assets-align-auto-height
wp-classes alignment (right, left, center) height set to auto for proper scaling
2015-10-30 12:24:05 -05:00
88mpg
24bcc412bc wp-classes alignment (right, left, center) height set to auto for proper scaling 2015-10-30 13:16:57 -04:00
Robert Korulczyk
fa73393a68 Declare Text Domain in style.css
Text Domain must be declared, if we want to translate custom page templates names.
2015-10-28 16:23:07 +01:00
Ben Word
8046666f7c Merge pull request #1565 from 88mpg/assets-alignnone-height
add auto height to .alignnone to prevent vertical stretch of image
2015-10-23 11:12:03 -05:00
Austin Pray
df461ecdbf Merge pull request #1564 from JulienMelissas/tinymce-note
Added note about tinymce file
2015-10-18 20:44:50 -05:00
88mpg
f804b0137f add auto height to .alignnone to prevent vertical stretch of fullwidth image 2015-10-16 15:58:16 -04:00
Julien Melissas
69d25efc4a Added note about tinymce file, per @aumo's request (5a621210db (commitcomment-13791685)) 2015-10-15 11:38:17 -04:00
Ben Word
61022e07e7 Update CHANGELOG [ci skip] 2015-10-14 17:05:20 -05:00
Ben Word
dddd15c07a Merge pull request #1562 from roots/remove-no-js
Remove extraneous no-js
2015-10-14 17:03:30 -05:00
Ben Word
695d7a5080 Merge pull request #1560 from JulienMelissas/tinymce
Simplify/speed up editor style process.
2015-10-14 17:03:21 -05:00
Austin Pray
fde453fee8 Remove extraneous no-js 2015-10-14 11:55:46 -05:00
Julien Melissas
5a621210db Removed editor-style style files in favor of adding a simple _tinymce.scss partial. This cuts styles compiling time in about half.
`add_editor_style` now just references `main.css`
2015-10-13 11:51:57 -04:00
Ben Word
8e271f98bd Merge pull request #1559 from roots/8.3.0
Sage 8.3.0
2015-10-13 09:42:54 -05:00
Ben Word
654719e243 Sage 8.3.0 2015-10-13 09:34:05 -05:00
Ben Word
2435d85d89 Merge pull request #1558 from roots/setup-organization
Setup organization
2015-10-13 09:23:35 -05:00
Ben Word
acd8f5af33 Add link to roots-example-project.com repo [ci skip] 2015-10-11 22:18:28 -05:00
Ben Word
4072bb0d76 Move CSS/JS enqueues to setup.php 2015-10-10 22:58:16 -05:00
Ben Word
aa1026514d Move Soil theme support into setup function 2015-10-10 22:48:03 -05:00
Ben Word
da51434648 Remove DIST_DIR constant 2015-10-10 22:33:44 -05:00
Ben Word
e1e252472a Update CHANGELOG [ci skip] 2015-10-10 15:01:11 -05:00
Ben Word
b764ef6353 Merge pull request #1556 from roots/rename-config-to-setup
Rename config.php to setup.php
2015-10-10 15:00:05 -05:00
Ben Word
045b47b444 Rename config.php to setup.php 2015-10-10 14:53:54 -05:00
Ben Word
8c451e8014 Merge pull request #1557 from asuh/master
Removing redundancy with WAI-ARIA in HTML
2015-10-10 14:18:46 -05:00
Micah
28a25c430f Removing redundancy with WAI-ARIA in HTML 2015-10-10 12:13:29 -07:00
Ben Word
19de3e27a8 Update README [ci skip] 2015-10-10 13:20:42 -05:00
Ben Word
1e69c5e229 Update CHANGELOG [ci skip] 2015-10-10 13:18:09 -05:00
Ben Word
8a4d09e104 Merge pull request #1555 from roots/move-init-to-config
Move init.php to config.php
2015-10-10 13:15:06 -05:00
Ben Word
23ab579f37 Move init.php to config.php 2015-10-10 13:09:20 -05:00
Ben Word
2fa9cd608f Merge pull request #1545 from roots/remove-custom-search-template
Use Sass to style search form, remove search template
2015-10-10 13:02:59 -05:00
Ben Word
9a14571814 Use Sass to style search form, remove search template 2015-10-10 12:53:19 -05:00
Ben Word
2be91c1b5e Merge pull request #1541 from roots/remove-modernizr
Remove Modernizr
2015-10-10 12:52:12 -05:00
Ben Word
4281e6f932 Remove Modernizr 2015-10-10 12:37:44 -05:00
Ben Word
5def47b7d7 Merge pull request #1554 from roots/remove-wp-env-references
Remove references to WP_ENV
2015-10-10 12:33:38 -05:00
Ben Word
a88a4db344 Remove references to WP_ENV 2015-10-10 12:28:19 -05:00
Ben Word
f98db69e3b Merge pull request #1546 from roots/html5-gallery
Use WP core's HTML5 gallery markup
2015-09-22 21:59:55 -05:00
Ben Word
ded39d88cf Use WP core's HTML5 gallery markup 2015-09-22 21:52:36 -05:00
Ben Word
dce3c27b12 Merge pull request #1530 from mikaelmattsson/patch-1
Add compatibility with WooCommerce Multilingual plugin
2015-09-22 20:21:57 -05:00
Ben Word
a6c9d4dd4f Merge pull request #1494 from roots/QWp6t-conditionaltagcheck
Remove ConditonalTagCheck class
2015-09-22 20:21:32 -05:00
Ben Word
2aafd22584 Merge pull request #1486 from palpalani/master
Update newer versions of dependencies
2015-09-15 11:10:19 -05:00
Ben Word
cc95eb4493 Merge pull request #1537 from roots/asset-handles
Use slash in handle names for theme CSS and JS
2015-09-15 10:46:32 -05:00
Ben Word
31e3c3c527 Use slash in handle names for theme CSS and JS 2015-09-11 11:52:50 -05:00
Palaniappan
8d9a56670f Update newer versions of dependencies
Update Bootstrap sass and rename

Update main.scss

Update newer versions of dependencies

Update newer versions of dependencies

Update Bootstrap sass and rename

Update package
2015-08-23 14:07:14 +05:30
Mikael Mattsson
1a4f2abca8 Add compatibility with WPML and WooCommerce
I experienced a conflict between Sage and a WPML and WooCommerce combination, where a translated product archive (specificly product_cat taxonomy page) wouldn't be wrapped in the base template. Just the template file contents would be executed without the master/base template. This could be solved by changeing the priority of the template_include filter for the wrapper to >100. I'm not sure if this is WooCommerce specific or if this would be the case for any translated taxonomy when using WPML.
2015-08-13 13:15:46 +02:00
QWp6t
6d05c67f44 Remove ConditonalTagCheck class 2015-08-11 18:46:58 -07:00
Ben Word
12fe047368 Merge pull request #1524 from kevinlisota/iso8601
fix timezone offset in ISO 8601 date in byline
2015-08-03 10:55:59 -05:00
Kevin Lisota
878f8607ff fix timezone offset in ISO 8601 date in byline
get_the_time('c') returns the local time in ISO 8601 format, but does
not fetch the GMT timezone offset. This is incorrect. get_post_time is
the correct function here, using the true parameter for GMT
2015-08-03 08:47:22 -07:00
Austin Pray
8fe7eb29a0 Merge pull request #1522 from chrisk2020/jscs-update
Update jscs validateJSDoc to jsDoc rule
2015-07-28 11:05:28 -05:00
Chris Knight
bcefb5908f Update jscs validateJSDoc to jsDoc rule 2015-07-28 12:39:07 +01:00
Ben Word
cd6095da82 Merge pull request #1496 from martinvd/patch-1
Fix source map paths
2015-06-20 20:45:10 -07:00
Austin Pray
a08273efb1 Merge pull request #1487 from austinpray/gulpDebug
Allow `debugger` statements in development JS
2015-06-20 22:39:10 -05:00
Austin Pray
6c0c69b618 Allow debugger statements in development JS
fixes https://github.com/roots/sage/issues/1480
2015-06-20 22:36:41 -05:00
martinvd
ca9d7a2bb5 Fix sourcemaps sourceRoot 2015-06-20 01:41:07 +02:00
Scott Walkinshaw
5bcd06396e Merge pull request #1501 from kalenjohnson/patch-2
Fix jQuery being compiled in main.js
2015-06-17 17:59:29 -04:00
Kalen Johnson
7175cc833b Fix jQuery being compiled in main.js
Cause that happened, not blaming anyone
2015-06-17 14:58:03 -07:00
Ben Word
45ee2df2c5 Merge pull request #1499 from KayCreations/patch-1
Update bootstrap-sass-official to 3.3.5
2015-06-17 10:04:17 -07:00
Kevin Krummnacker
2305dbe439 Update bootstrap-sass-official to 3.3.5 2015-06-17 01:02:15 +02:00
Scott Walkinshaw
71c2e78b0e Merge pull request #1482 from Psykar/typofix
Adjust comments on ConditionalTagCheck to match actual functionality.
2015-06-02 10:14:11 -04:00
Louis des Landes
4c51724b25 Adjust comments on ConditionalTagCheck to match actual functionality.
The check returns false, if any of it's tags are true, not vise versa.
2015-06-02 15:08:03 +10:00
Ben Word
fd8d9accb7 Merge pull request #1468 from roots/remove-jquery-cdn-remnants
Remove unnecessary references to jQuery
2015-05-17 11:21:31 -05:00
Ben Word
d089414a6d Merge pull request #1471 from JulienMelissas/move-html-to-base
Moved opening html tag to base.php
2015-05-17 11:20:32 -05:00
Ben Word
11bcfa7507 Merge pull request #1472 from eballeste/svg-optimization-improvements
Keep SVG element IDs during gulp images task
2015-05-17 11:19:26 -05:00
Enrique Balleste
696dd15df3 Keep SVG element IDs during gulp images task 2015-05-16 16:37:53 -04:00
Julien Melissas
9e6d0ee587 Moved opening html tag to base.php
Still using the `head.php` partial at this point.
2015-05-15 15:45:45 -04:00
Ben Word
d6878cb4b0 Remove unnecessary references to jQuery 2015-05-14 14:12:04 -05:00
Ben Word
3c8a487f79 Merge pull request #1464 from JulienMelissas/README-fix-nav-menu-cleanup
Nav cleanup is in Soil now, updating documentation.
2015-05-11 19:28:30 -05:00
Ben Word
4fb88ef193 Merge pull request #1439 from entr/master
Trigger `get_footer` action before including footer template
2015-05-11 19:28:18 -05:00
Ben Word
241f7dc52b Merge pull request #1466 from kalenjohnson/patch-1
Update page-header.php
2015-05-11 19:28:07 -05:00
Kalen Johnson
7ca7bb4a73 Update page-header.php
This was always kind of strange to me, everything else seems to be preferred to be on a single line.
2015-05-11 17:16:12 -07:00
Julien Melissas
0fa6082dcb Nav cleanup is in Soil now, updating documentation.
Ref ca0f1c2a63 and 9fe32088d9
Just moving the line down.
2015-05-11 09:23:26 -04:00
Ben Word
9a02cc1292 Merge pull request #1461 from JulienMelissas/remove-jquery-cdn-info
Remove jQuery CDN info
2015-05-10 12:24:36 -05:00
Julien Melissas
a16475c1ad Removed jQuery CDN info. [ci-skip]
Now that the CDN option is in soil, there's no need for this information to be in the file (and it was outdated).
2015-05-09 15:24:16 -04:00
Zlatko Zlatev
7625b11aaf trigger get_footer action before including footer template 2015-05-08 09:51:08 +03:00
Ben Word
c1c9886c25 Merge pull request #1459 from roots/search-templates
Add search templates
2015-05-07 15:23:07 -05:00
Ben Word
5313ac720b Add search templates 2015-05-07 11:33:10 -05:00
Ben Word
3b58d769f6 Merge pull request #1458 from roots/8.2.1
Sage 8.2.1
2015-05-07 00:13:42 -05:00
Ben Word
262b30e660 Sage 8.2.1 [ci skip] 2015-05-07 00:13:19 -05:00
Austin Pray
46d1fd257e Merge pull request #1448 from austinpray/bump
Bump node dependencies
2015-05-06 23:42:23 -05:00
Austin Pray
ddb71b3581 Merge pull request #1457 from joemaller/browsersync_update
update BrowserSync
2015-05-06 23:42:06 -05:00
Austin Pray
8c3c5214c9 Bump browsersync and gulp-sass
https://github.com/dlmanning/gulp-sass/issues/247
https://github.com/BrowserSync/browser-sync/issues/606
2015-05-06 23:23:16 -05:00
Joe Maller
e0cce8ff9d BrowserSync task stream reloading
See https://github.com/roots/sage/pull/1457#issuecomment-99560449
This is option 2.
2015-05-06 21:39:30 -04:00
Joe Maller
8d4b4de691 update BrowserSync to latest 2015-05-06 11:40:49 -04:00
Ben Word
61677ee5ab Fix CHANGELOG [ci skip] 2015-05-05 20:24:57 -05:00
Austin Pray
a6ac181c45 Update CHANGELOG.md 2015-05-05 19:05:05 -05:00
Austin Pray
09ef46e789 Merge pull request #1456 from colinduwe/allow-revved-files-on-dev
Allow revved production files on dev environment
2015-05-05 19:00:22 -05:00
Colin Duwe
999adc6466 Allow revved production files on dev environment 2015-05-05 16:49:49 -07:00
QWp6t
067927f391 Merge pull request #1455 from roots/pr/1450
Fix glyphicon font path
2015-05-05 11:57:38 -07:00
Matthew Moen
a797edccbc Fix glyphicon font path 2015-05-05 10:39:15 -07:00
Austin Pray
bde9c80bce Merge pull request #1452 from austinpray/master
Fix incorrect file path in compiled assets
2015-05-04 11:38:53 -05:00
Austin Pray
cf928c85eb Turn off advanced CSS optimizations 2015-05-04 11:25:12 -05:00
Austin Pray
f45f0950c6 Merge pull request #1445 from joemaller/gulp-plugins
Remove gulp-load-plugins dependency
2015-04-30 16:26:21 -05:00
Joe Maller
4a9b066df9 Remove gulp-load-plugins dependency
Simplify the gulpfile by removing gulp-load-plugins dependency.
2015-04-30 17:12:47 -04:00
Ben Word
c3d7d0afec Merge pull request #1440 from roots/8.2.0
Sage 8.2.0
2015-04-29 10:48:40 -05:00
Ben Word
13a7c898e6 Sage 8.2.0 2015-04-29 10:42:02 -05:00
Ben Word
0185cfacb4 Merge pull request #1437 from roots/make-sass-default
Use Sass Bootstrap by default
2015-04-29 10:40:35 -05:00
Ben Word
73dd84a76f Update sage.pot 2015-04-29 10:40:15 -05:00
Ben Word
d635063570 Use Bootstrap Sass by default 2015-04-29 00:04:06 -05:00
Ben Word
ca0f1c2a63 Merge pull request #1427 from roots/move-walker-and-remove-bootstrap-header
Remove nav walker and Bootstrap navbar
2015-04-29 00:01:12 -05:00
Ben Word
64e78cf003 Remove nav walker and Bootstrap navbar 2015-04-28 23:59:59 -05:00
Ben Word
9efeb67daf Merge pull request #1421 from roots/remove-bootstrap-gallery
Remove Bootstrap gallery
2015-04-28 23:51:29 -05:00
Ben Word
7066299690 Remove Bootstrap gallery 2015-04-28 23:49:27 -05:00
Austin Pray
5b9786b8ce Merge pull request #1430 from roots/qwp6t-gulp
Limit file patterns in gulp watch
2015-04-20 22:41:07 -05:00
QWp6t
adb8309851 Merge pull request #1432 from radarhere/patch-1
Fixed README typo
2015-04-20 17:41:30 -07:00
Andrew Murray
d1073b0ca9 Fixed README typo 2015-04-21 10:29:58 +10:00
QWp6t
8699a299c9 Limit file patterns in gulp watch 2015-04-19 16:34:39 -07:00
Ben Word
15ae6d3e14 Merge pull request #1426 from roots/remove-hardcoded-feed-link
Remove hardcoded feed link
2015-04-14 12:18:51 -05:00
Ben Word
d7c142f8c6 Remove hardcoded feed link 2015-04-14 11:51:14 -05:00
Ben Word
7556474ba0 Merge pull request #1422 from roots/move-jquery-google-cdn-to-soil
Move jQuery CDN feature to Soil
2015-04-14 11:49:51 -05:00
Ben Word
22329a401c Move jQuery CDN feature to Soil 2015-04-14 11:48:57 -05:00
Austin Pray
78b147a767 Pin browser-sync at 2.5.0
because 2.6.0 has a regression
ref https://github.com/BrowserSync/browser-sync/issues/573
2015-04-12 21:17:03 -05:00
Austin Pray
49c310b2c6 Merge pull request #1419 from austinpray/bumpDeps
Bump gulp-load-plugins to 0.10.0
2015-04-11 19:01:03 -05:00
Austin Pray
8a37b24a3e Bump gulp-load-plugins to 0.10.0 2015-04-11 18:57:45 -05:00
Austin Pray
82df8b3284 Merge pull request #1418 from austinpray/removeyargs
Switch from yargs to minimist
2015-04-11 18:45:41 -05:00
Austin Pray
75e3579e3d Switch from yargs to minimist
For our simple usecase we do not need the extra functionality of yargs.
This removes 4 dependencies from our dependency graph.

https://github.com/bcoe/yargs
https://github.com/substack/minimist
2015-04-11 13:16:41 -05:00
Ben Word
25d75de332 Merge pull request #1417 from roots/remove-content_width
Remove $content_width
2015-04-11 11:01:00 -05:00
Ben Word
c8693d858e Remove $content_width 2015-04-10 21:34:44 -05:00
Ben Word
e07cf54efd Merge pull request #1409 from roots/minor-h5bp-update
From H5BP: Lowercase X-UA-Compatible
2015-04-02 10:32:04 -05:00
Ben Word
af774749b3 Lowercase 2015-04-02 10:22:10 -05:00
Ben Word
82215b35cf Merge pull request #1384 from roots/QWp6t-optionsGA
Remove mention of Google Analytics from the config
2015-04-02 10:11:45 -05:00
QWp6t
1be28dff01 Remove Google Analytics 2015-04-01 17:46:56 -07:00
Ben Word
af2a6a063e Merge pull request #1407 from roots/phpcs-update
Verify that operators have valid spacing surrounding them
2015-04-01 16:43:58 -05:00
Ben Word
46d29c0ff7 Pass new ruleset 2015-04-01 16:39:30 -05:00
Ben Word
2a4a355c35 Verify that operators have valid spacing surrounding them [ci skip] 2015-04-01 16:38:28 -05:00
Ben Word
1b0457b6f9 Merge pull request #1405 from lamosty/better_sass_integration
Clarify Sass integration
2015-04-01 13:32:15 -05:00
Rastislav Lamos
cd47721830 Clarify Sass integration 2015-03-31 19:43:50 +02:00
Ben Word
dc9a0eb22e Merge pull request #1403 from roots/8.1.1
Sage 8.1.1
2015-03-30 23:30:31 -05:00
Ben Word
27cc495b2f Sage 8.1.1 2015-03-30 23:29:34 -05:00
Ben Word
061db4f41f Merge pull request #1402 from austinpray/fixsourcemaps
Removes gulp-pleeease dependency
2015-03-30 23:27:22 -05:00
Austin Pray
c09410c927 Removes gulp-pleeease dependency
This gulp plugin was more trouble than it was worth.

ref https://github.com/roots/sage/issues/1386
ref https://discourse.roots.io/t/sourcemaps-no-longer-working-as-expected-with-sage-update/3022/1
2015-03-30 23:23:15 -05:00
Ben Word
3a271a3df9 Merge pull request #1401 from austinpray/sanicthehedgehog
Run styles and scripts in sequence
2015-03-30 23:18:54 -05:00
Austin Pray
39caa2d391 Run styles and scripts in sequence
Prevents potential race condition where styles and scripts write to the
manifest at the same time

ref https://github.com/roots/sage/issues/1398

Updates changelog
2015-03-30 19:48:56 -05:00
Ben Word
ae1463ff5d Merge pull request #1394 from JulienMelissas/bump-deps
Bumped all the deps (except for pleeease).
2015-03-22 23:13:16 -05:00
Julien Melissas
cb3c26e2cd Bumped all the deps (except for pleeease). 2015-03-22 22:52:15 -04:00
Scott Walkinshaw
0eedae3ec8 Merge pull request #1392 from JulienMelissas/patch-2
use the right words
2015-03-22 22:07:44 -04:00
Julien Melissas
d3cb2a66fa use the right words
oops, not sure how we (I) missed that.
2015-03-22 21:36:57 -04:00
Scott Walkinshaw
a179515796 Merge pull request #1391 from fullyint/nav-walker
Change SageNavWalker to NavWalker in comments
2015-03-22 15:35:13 -04:00
Phil Nelson
6b90341d5f Change SageNavWalker to NavWalker in comments 2015-03-22 12:25:36 -04:00
Ben Word
03b9f40464 Merge pull request #1390 from kalenjohnson/conditional-tag-patch
Referencing ConditionalTagCheck directly
2015-03-18 17:58:08 -05:00
Kalen Johnson
796eaf1600 Referencing ConditionalTagCheck directly 2015-03-18 14:09:10 -07:00
Kalen Johnson
897782e65d Changing SageNavWalker to NavWalker, and referencing it directly in the template 2015-03-18 13:52:15 -07:00
Ben Word
a7ec5423db Merge pull request #1388 from roots/fix-sourcemaps
Temporary sourcemaps fix
2015-03-18 14:03:12 -05:00
Ben Word
e63fdafdff Temporary sourcemaps fix - Ref #1386 2015-03-18 13:56:26 -05:00
Ben Word
e60a2e3359 Merge pull request #1387 from roots/bootstrap-3-3-4
Update to Bootstrap 3.3.4
2015-03-17 23:35:55 -05:00
Ben Word
108d68d440 Update to Bootstrap 3.3.4 2015-03-17 23:29:29 -05:00
Austin Pray
cb2efcd46a Merge pull request #1383 from kalenjohnson/patch-2
Watch manifest.json
2015-03-13 16:02:33 -05:00
Kalen Johnson
8a897f0ff2 Watch manifest.json
Working on a project, when I want to modify manifest.json it helps the workflow if I don't need to run `gulp` every time I make a change.
2015-03-13 13:57:49 -07:00
Ben Word
632fa83136 Sage 8.1.0 2015-03-13 11:01:10 -05:00
Ben Word
403ec062c9 Merge pull request #1382 from roots/QWp6t-ga
Move GA snippet to roots/soil
2015-03-13 10:59:04 -05:00
Ben Word
d240605356 Update CHANGELOG 2015-03-13 10:09:32 -05:00
QWp6t
67acc1ae3d Move GA snippet to roots/soil 2015-03-13 00:48:25 -07:00
Ben Word
535e71b216 Merge pull request #1380 from JulienMelissas/bs-docs
Added more explicit instructions for BrowserSync.
2015-03-12 15:21:01 -05:00
Julien Melissas
fce3433ff7 Added more explicit instructions for BrowserSync.
http vs no http more consistent.
2015-03-12 16:11:49 -04:00
Ben Word
6786e17a96 Merge pull request #1379 from austinpray/deps
Bump gulp-plumber to 1.0.0
2015-03-11 11:02:15 -05:00
Austin Pray
4a107331d3 Bump gulp-plumber to 1.0.0 2015-03-10 22:59:14 -05:00
Ben Word
ca1700f280 Merge pull request #1378 from kalenjohnson/patch-1
Run `build` if `bower.json` is changed
2015-03-10 18:03:23 -05:00
Kalen Johnson
d8a24db287 Run build if bower.json is changed 2015-03-10 15:50:25 -07:00
Ben Word
6a71f880d8 Merge pull request #1372 from kalenjohnson/patch-1
Remove namespace from base.php
2015-03-06 13:58:35 -06:00
Kalen Johnson
29a97c9d1a Remove namespace from base.php 2015-03-06 11:54:09 -08:00
Ben Word
24219b3fff Merge pull request #1369 from roots/fix-travis
Fix ruleset after PHP_CodeSniffer 2.3.0 update
2015-03-05 12:09:56 -06:00
Ben Word
2717fb7e66 Fix ruleset after PHP_CodeSniffer 2.3.0 update 2015-03-05 12:05:20 -06:00
Ben Word
f595b05658 Merge pull request #1367 from roots/austinpray-patch-1
better instructions for sass install
2015-03-04 18:59:34 -06:00
Austin Pray
e2f7ebb54c better instructions for sass install
[ci skip]
2015-03-04 18:50:54 -06:00
Ben Word
63231756a7 Merge pull request #1363 from roots/QWp6t-jqueryfallback
Apply script_loader_src filter to jquery fallback
2015-03-03 19:44:08 -06:00
QWp6t
39d635b9cf Apply script_loader_src filter to jquery fallback 2015-03-03 14:13:12 -08:00
Ben Word
c5939545f1 Update CHANGELOG 2015-03-03 14:44:44 -06:00
Ben Word
57df3ae07f Merge pull request #1366 from roots/add-build-dir-constant
Use a constant for the build directory path
2015-03-03 14:39:22 -06:00
Ben Word
a57e07b14a Use a constant for the build directory path
Ref #1352
2015-03-03 14:37:47 -06:00
Ben Word
0c25df7e09 Merge pull request #1365 from roots/conditional-tag-check-args-fix
Update ConditionalTagCheck and usage docs
2015-03-03 14:32:03 -06:00
Ben Word
6a9e437427 Merge pull request #1352 from emaildano/patch-2
Handle $dist_path as var
2015-03-03 14:31:04 -06:00
Ben Word
f0d825b58f Merge pull request #1364 from leogono/patch-1
Change gallery columns default to 3
2015-03-03 14:30:49 -06:00
Scott Walkinshaw
fe94039e70 Update ConditionalTagCheck and usage docs
When passing an argument to a function for ConditionalTagCheck, the
argument should *not* always be an array. The function will be called
wit the arguments as is and not modified. So if the function takes a
string argument, keep it as a string. If it takes an array, use an
array.
2015-03-03 15:26:30 -05:00
Leo Gono
566563e701 change default columns to 3.
Issue is if you set 3 in Gallery options it will output 4 columns in the frontend. The default WordPress column is 3 for gallery and if it's set to 3, it does not added any column attribute to the shortcode which cause the issue. Setting the default to 3 should fix the issue.
2015-03-03 15:26:50 +08:00
Ben Word
9ee41494f7 Merge pull request #1360 from roots/QWp6t-readmerequirements
Add table of requirements
2015-03-01 10:31:53 -06:00
QWp6t
b49d856455 Add table of requirements 2015-03-01 07:36:59 -08:00
Scott Walkinshaw
fd8c437ca8 Merge pull request #1359 from roots/travis-updates
Travis updates
2015-03-01 00:07:02 -06:00
Scott Walkinshaw
99d2b0064d cache bower and node directories 2015-02-28 23:30:35 -06:00
Scott Walkinshaw
e31049aa39 Add hhvm 2015-02-28 23:30:20 -06:00
Ben Word
2e1a4bf67e Merge pull request #1355 from TomasVotruba/patch-1
travis: PHP 7.0 nightly added
2015-02-28 23:28:37 -06:00
Tomas Votruba
c14ca51f17 travis: PHP 7.0 nightly added 2015-03-01 00:56:15 +01:00
Scott Walkinshaw
65382410b5 Restore template-custom to sidebar config 2015-02-27 22:07:43 -06:00
Scott Walkinshaw
c5587b6c34 Bump Node.js requirement to 0.12.0
This is the latest stable release which also contains the latest npm so
there's no need for a separate requirement for it.
2015-02-27 18:36:47 -06:00
Daniel Olson
6cc7b7f189 Merge pull request #1 from austinpray/distvar
dist_var -> dist_dir
2015-02-26 18:21:39 -05:00
Austin Pray
12d0f21e03 dist_var -> dist_dir 2015-02-26 17:07:31 -06:00
Daniel Olson
c64d70f1bb Corrected $dist_path var 2015-02-26 17:32:53 -05:00
Ben Word
018d83969c Sage 8.0.1 2015-02-26 16:17:48 -06:00
Ben Word
6af91c211a Merge pull request #1353 from austinpray/master
Adds windows compatibilty
2015-02-26 16:15:42 -06:00
Austin Pray
bb4404c3d4 Adds windows compatibilty
Bumps asset-builder to 1.0.1

Closes https://github.com/roots/sage/issues/1351
2015-02-26 16:10:56 -06:00
Daniel Olson
11713f1ec8 Handle $dist_path as var
Based on this thread: https://discourse.roots.io/t/sage-and-augmenting-my-workflow/2965/3

This sets up the opportunity to change the path of `dist/` for those needing to reference a different build.
2015-02-26 16:39:53 -05:00
Ben Word
2e5f82bf11 Merge pull request #1350 from wonderboys/template-improvements
added localized string for 'Toggle navigation' in /templates/header.php
2015-02-26 10:02:34 -06:00
Ben Word
a4582bb70b Merge pull request #1349 from roots/austinpray-patch-1
Document fixing Sass example
2015-02-26 10:02:11 -06:00
Stefan Lindberg
9d3b058612 added localized string for 'Toggle navigation' in /templates/header.php 2015-02-26 12:35:16 +01:00
Austin Pray
06c71809eb Document fixing Sass example 2015-02-25 19:46:46 -06:00
Austin Pray
9fbf9df1df whoops 2015-02-25 15:14:30 -06:00
Ben Word
ce01c79893 Merge pull request #1251 from roots/8.0.0
Sage 8.0.0
2015-02-25 10:04:55 -06:00
Ben Word
6ac8ee06b7 Merge pull request #1347 from roots/launch-sage
Update files for 8.0.0 launch
2015-02-25 10:04:24 -06:00
Ben Word
d25becd13e Add link to asset-builder 2015-02-24 20:29:47 -06:00
Ben Word
0db9a0becf 8.0.0 release date 2015-02-24 20:26:27 -06:00
Ben Word
d6a2792aee Update badge URLs for renamed repo 2015-02-24 20:26:19 -06:00
Ben Word
a3d972665c Merge pull request #1346 from roots/wiredep-note
Add note about not manually editing wiredep injected deps
2015-02-24 12:06:12 -06:00
Ben Word
81979785fc Add note about not manually editing wiredep injected deps 2015-02-24 12:04:41 -06:00
Ben Word
1d4554f0ff Merge pull request #1342 from austinpray/fixWatch
fix less breaking during watch on error
2015-02-23 19:06:39 -06:00
Austin Pray
ad4523fef6 fix less breaking during watch on error
If the `--production` flag is set: hard fail the build if there is a
precompiler error. If unset, log an error and end the task
successfully.

fixes https://github.com/roots/roots/issues/1288
2015-02-23 19:02:57 -06:00
Ben Word
bcb782dff7 Merge pull request #1343 from austinpray/fixWiredep
Only save a wiredepped file if Sha1 differs
2015-02-23 18:47:40 -06:00
Austin Pray
6c988aa533 Readds wiredep as dep to styles task
Wiredep runs automatically as a part of the `gulp` task now
2015-02-23 18:38:27 -06:00
Austin Pray
27cc623c53 Only save a wiredepped file if Sha1 differs
fixes https://github.com/roots/roots/issues/1340
2015-02-23 16:37:42 -06:00
Austin Pray
1d68d38495 Merge pull request #1341 from austinpray/bumpYargs
Bump yargs
2015-02-23 12:47:25 -06:00
Austin Pray
26c736d757 Bump yargs 2015-02-22 17:40:48 -06:00
Ben Word
34aa9816bc Merge pull request #1338 from JulienMelissas/patch-1
Bumping gulp-less to 3.0.1
2015-02-21 23:32:10 -06:00
Julien Melissas
6b0f42044b Bumping gulp-less to 3.0.1 2015-02-22 00:31:14 -05:00
Ben Word
1915f5a72c Merge pull request #1337 from roots/update-translation-pot
Update sage.pot
2015-02-21 14:34:51 -06:00
Ben Word
9561564b3b Update sage.pot 2015-02-21 14:34:19 -06:00
Ben Word
982605a9a7 Merge pull request #1336 from roots/readme-and-changelog-updates
README and CHANGELOG updates
2015-02-21 14:31:14 -06:00
Ben Word
812b169e26 Update README 2015-02-21 14:30:00 -06:00
Ben Word
374eeabfd8 Update CHANGELOG 2015-02-21 14:15:04 -06:00
Ben Word
446a35573e Merge pull request #1334 from sprightco/8.0.0
add bootstrap glyphicons woff2 to bower.json
2015-02-21 01:49:17 -06:00
Keith Grennan
dc3ad131dc add bootstrap glyphicons woff2 to bower.json 2015-02-20 23:44:17 -08:00
Ben Word
db797d4b81 🔍 2015-02-20 16:42:30 -06:00
Ben Word
39ffaff448 🔍 2015-02-20 16:38:23 -06:00
Ben Word
52d9d1a9aa Merge pull request #1333 from roots/config-cleanup
config.php clean up
2015-02-20 16:22:23 -06:00
Ben Word
3fe2fa9d92 config.php clean up 2015-02-20 16:21:32 -06:00
Ben Word
6e7c887b63 Merge pull request #1329 from roots/conditional-tag-check
[WIP] Conditional tag check
2015-02-20 16:01:07 -06:00
Ben Word
feb4430898 Merge pull request #1331 from roots/simplify-404
Simplify 404 page
2015-02-20 15:16:55 -06:00
Ben Word
80b821575a Simplify 404 page
Related: 782aefab7e
2015-02-20 15:16:19 -06:00
Ben Word
a8819028f0 Update links 2015-02-20 15:06:12 -06:00
Ben Word
a361d2b130 Merge pull request #1328 from roots/styles-reorg
Re-organizing the styles directory
2015-02-20 14:58:29 -06:00
Ben Word
e902b7c566 Update Sass instructions 2015-02-19 19:52:14 -06:00
Ben Word
7c118f8565 ✂️ 2015-02-19 19:44:53 -06:00
Scott Walkinshaw
e1663c5d2f Convert Sidebar to ConditionalTagCheck
Simplify and generalize class since it had nothing to do directly with
the sidebar. Now it can be used for other purposes as well.
2015-02-19 15:36:42 -05:00
Ben Word
17b3aa5d59 Add common folder, add grid component, remove home placeholder
* New `common/` folder for `_variables` and `_global`
* Move grid styles to new `_grid` component
* Remove `layouts/pages/_home`
2015-02-19 14:17:50 -06:00
Ben Word
fc05091971 Gallery styling now unnecessary, move caption styling to _wp-classes 2015-02-19 13:49:30 -06:00
Ben Word
fc5a1547ba Remove comments 2015-02-19 13:44:22 -06:00
Ben Word
75c0dc826f 🔍 2015-02-19 11:31:26 -06:00
Ben Word
73fa0de4d5 Merge branch 'master' into 8.0.0
Conflicts:
	lib/sidebar.php
2015-02-19 11:18:49 -06:00
Ben Word
4ae21f4e5a Merge pull request #1321 from roots/nicks-nav-rejig-for-8.0.0
Migrate @Foxaii's nav-rejig for 8.0.0
2015-02-19 11:13:23 -06:00
Ben Word
4df4ee93ed Merge pull request #1320 from roots/bumpdeps
Bump asset-builder and yargs
2015-02-19 11:09:59 -06:00
Ben Word
9aa80d2ab8 Merge pull request #1322 from roots/better-support-for-cpt-templates
Ref #1033 - better support for CPT templates
2015-02-19 11:09:42 -06:00
Ben Word
17a04ee696 Migrate @Foxaii's nav-rejig for 8.0.0 2015-02-19 11:08:47 -06:00
Ben Word
f641aac9a2 Merge pull request #1327 from amekusa/fixlang
Fix missing "msgstr" in .POT
2015-02-17 01:03:54 -06:00
amekusa
26df03ce6d Fix missing "msgstr" in .POT 2015-02-17 15:05:40 +09:00
Ben Word
2a68daa30e Ref #1033 - better support for CPT templates 2015-02-12 23:38:58 -06:00
Austin Pray
7c695cc30e Bump asset-builder and yargs 2015-02-12 22:50:16 -06:00
Austin Pray
2f48ce289f bump gulp-less for 0.12 2015-02-12 22:48:58 -06:00
Ben Word
91a1944af8 Reference contributing guidelines guidelines repo 2015-02-12 22:28:19 -06:00
Ben Word
b02f0dd42f Merge pull request #1318 from roots/svgo-tweak
Disable removeUnknownsAndDefaults on svgo
2015-02-12 20:07:27 -06:00
Ben Word
e84d25047d Merge pull request #1319 from gegere/8.0.0
use correct editor-style.css filename for tinymce editor
2015-02-12 20:06:45 -06:00
Jason Gegere
031c4e17c0 use correct filename editor-style.css on dev or editor-style-*.css listed in manifest file for tinymce editor 2015-02-12 20:02:54 -06:00
Ben Word
f9803004bc Disable removeUnknownsAndDefaults on svgo 2015-02-12 16:40:09 -06:00
Ben Word
6e8e75ceac Merge pull request #1317 from roots/austinpray-patch-1
Remove /**/* glob from js by default
2015-02-12 16:34:08 -06:00
Austin Pray
659aa60e19 Remove /**/* glob from js by default
See https://discourse.roots.io/t/adding-none-bower-js-libs-to-gulp-manifest-json/2890?u=austin
2015-02-12 01:20:15 -06:00
Ben Word
419fefd33f Merge pull request #1316 from roots/gulp-watch
Add fonts and images to gulp watch
2015-02-11 13:12:38 -06:00
Ben Word
8c8eff1ab2 Add fonts and images to gulp watch 2015-02-11 01:15:27 -06:00
Ben Word
b942809c97 Remove unnecessary forward slash from editor style path 2015-02-11 01:07:04 -06:00
Ben Word
616e613ba2 Merge pull request #1315 from roots/browsersync-tweaks
BrowserSync tweaks
2015-02-11 01:02:47 -06:00
Ben Word
71b753eaca Update BrowserSync whitelist/blacklist
Ref #1298
Ref https://github.com/roots/roots/issues/1298#issuecomment-72854302
Ref https://github.com/BrowserSync/browser-sync/issues/373#issuecomment-72854259
2015-02-11 00:58:56 -06:00
Ben Word
9423042956 Bump BrowserSync version 2015-02-11 00:56:35 -06:00
Ben Word
8d41db496a Merge pull request #1301 from austinpray/fix1286CDN
[8.0.0] reconcile bower dependency versions with CDN url
2015-02-11 00:52:11 -06:00
Ben Word
376cca68dd Update Bootstrap version 2015-02-11 00:51:13 -06:00
Austin Pray
74391a1df5 Merge pull request #1308 from austinpray/reqnpm2
Require the latest version of npm
2015-02-09 14:07:26 -06:00
Austin Pray
268ef21dec Merge pull request #1312 from kalenjohnson/patch-1
Fixing bootstrap-sass overrides
2015-02-09 13:55:02 -06:00
Kalen Johnson
8ba83e6479 Fixing bootstrap-sass overrides 2015-02-09 11:29:04 -08:00
Austin Pray
8c374e2136 Require the latest version of npm
The npm that ships with 0.10 is 1.2.x and it is riddled with
race conditions.
2015-02-05 01:22:06 -06:00
Austin Pray
68e6419aee Merge pull request #1306 from austinpray/bumpab
Bumps asset-builder verison
2015-02-04 07:45:02 -06:00
Austin Pray
c0307c9159 Bumps asset-builder verison
use carrot to get latest minor version as well
ref https://github.com/austinpray/asset-builder/issues/14
2015-02-03 23:45:14 -06:00
Ben Word
9a39dbf072 Merge pull request #1303 from JulienMelissas/browserSync-ignore-admin
Added wp-admin pages to browserSync ignore path.
2015-02-01 10:56:37 -06:00
Julien Melissas
28a8642578 Added wp-admin pages to browserSync ignore path.
Code from https://github.com/roots/roots/issues/1298#issuecomment-72369925
Closes https://github.com/roots/roots/issues/1298
2015-02-01 11:47:12 -05:00
Austin Pray
7b54b36afd Adds get_path method to JsonManifest 2015-01-31 12:08:13 -06:00
Austin Pray
979b99f397 reconcile bower dependency versions with CDN url 2015-01-31 00:33:07 -06:00
Austin Pray
f93a1f2c8c Memoize asset_path function
Previously roots would do a file operation each time asset_path is
called. Now it will only parse the json manifest one time per program
execution.

Extract json reading to class that can be used to read bower.json
2015-01-30 23:25:55 -06:00
Austin Pray
3f7c8459f7 Merge pull request #1294 from austinpray/fixtravis
Fix node-sass and npm cache on travis
2015-01-30 20:26:17 -06:00
Austin Pray
56f850eb23 Fix node-sass and npm cache on travis
`cache: npm` isn't even a valid config anyway

https://stackoverflow.com/questions/15393821/npm-err-cb-never-called/15483897#15483897
https://github.com/sass/node-sass/issues/638
e227568521/lib/build.sh (L183)
2015-01-30 12:10:49 -06:00
Austin Pray
83287a854b Merge pull request #1293 from austinpray/8.0.0
Documents BrowserSync in gulpfile.
2015-01-30 09:13:45 -06:00
Ben Word
0fd9686147 Show outdated browser alert for <IE9 2015-01-29 23:20:07 -06:00
Ben Word
f1628550e7 Merge pull request #1300 from leopuleo/8.0.0
Uniform wp_link_pages between posts and pages
2015-01-29 18:39:40 -06:00
Leonardo Giacone
a465a4dde5 Uniform wp_link_pages between posts and pages
wp_link_pages is both included in posts and pages with the same
structure. Removed Bootstrap class.
2015-01-30 01:27:07 +01:00
Austin Pray
393abd9355 Merge pull request #1296 from austinpray/fixbrowsersync
Fixes browsersync hard refresh
2015-01-29 14:25:42 -06:00
Austin Pray
c3f559b818 Fixes browsersync hard refresh
Whitelists js and css and does not send maps to browsersync.

ref: https://github.com/roots/roots/issues/1287#issuecomment-72085636
ref: http://discourse.roots.io/t/gulpfile-with-browsersync/2834/2
2015-01-29 14:13:58 -06:00
Ben Word
5f7e2cfdcf Merge pull request #1295 from montchr/phpcs-typo-fix
Fix typo in PHPCS ruleset comment
2015-01-29 11:51:58 -06:00
Chris Montgomery
2eaf742c6a fix typo in phpcs ruleset comment
See #1279 for discussion.
2015-01-29 09:01:40 -05:00
Austin Pray
073412312d Documents BrowserSync in gulpfile.
Cleans up capitalization and punctuation.
Cleans up example code formatting
2015-01-29 01:10:54 -06:00
Austin Pray
2ef60f316f Merge pull request #1292 from Tidal-Wave/fix/spelling-errors-in-gulpfile-notes
fix a few errors in notes of gulpfile
2015-01-28 14:46:07 -06:00
Eric Wafford
226f0f9fc7 fix a few errors in notes of gulpfile 2015-01-28 14:42:44 -06:00
Austin Pray
84437f738e Merge pull request #1291 from Tidal-Wave/fix/remove-lodash
remove lodash from gulpfile and package.json
2015-01-28 14:18:28 -06:00
Eric Wafford
805e123a90 remove lodash from gulpfile and package.json 2015-01-28 14:01:02 -06:00
Austin Pray
5175071c41 Update CHANGELOG.md 2015-01-28 11:28:46 -06:00
Austin Pray
28214a8132 Merge pull request #1289 from guix77/8.0.0
browserSync
2015-01-28 11:24:41 -06:00
guix77
ff207dfab9 Merge pull request #1 from austinpray/guix77-8.0.0
Switches from livereload to browsersync
2015-01-28 18:21:03 +01:00
Austin Pray
c85d059239 Switches from livereload to browsersync
Formatting
Removes references to livereload
Removes enqueued livereload client
2015-01-28 09:22:05 -06:00
guix
cf4f58d5cc localhost proxy by default 2015-01-28 07:49:40 +01:00
guix
3735730569 browserSync 2015-01-28 07:40:49 +01:00
Ben Word
594251ae44 Update referenced file name 2015-01-27 16:40:38 -06:00
Ben Word
b8608db3ec minor 2015-01-27 14:12:09 -06:00
Austin Pray
a3d3a427c5 Merge pull request #1283 from austinpray/gulp-rev
Fixes revved files base
2015-01-25 17:27:25 -06:00
Austin Pray
c6fd38afc1 Fixes revved files base 2015-01-25 17:20:57 -06:00
Austin Pray
005ea820b3 Merge pull request #1280 from roots/austinpray-patch-1
Clean up json config files
2015-01-24 14:09:33 -06:00
Austin Pray
dfe0cd8a2c Merge pull request #1270 from austinpray/fix-gulp-rev
[WIP] [8.0.0] Reworks asset revving
2015-01-24 14:05:11 -06:00
Austin Pray
a3040c496a Update package.json 2015-01-24 14:05:02 -06:00
Austin Pray
e45dc36736 Update .gitignore 2015-01-24 14:04:48 -06:00
Austin Pray
55367f4106 Updates rev documentation 2015-01-24 13:57:44 -06:00
Austin Pray
d5d2d02459 Fixes livereload
If the environment is development -> try loading the livereload client
being served by `gulp watch`
2015-01-24 13:17:25 -06:00
Austin Pray
c95261e8a8 Merge branch '8.0.0' of github.com:roots/roots into fix-gulp-rev
Conflicts:
	gulpfile.js
	package.json
2015-01-24 11:41:59 -06:00
Austin Pray
dc1baa4bef No version in bower.json
It doesn't do anything and we should only have to keep track of it in one place.
2015-01-24 10:43:09 -06:00
Austin Pray
d822bed5e1 Block publishing to npm 2015-01-24 10:40:47 -06:00
Austin Pray
04528c2603 Merge branch 'add-jscs' into merge-add-jscs
Conflicts:
	.travis.yml
2015-01-24 10:36:04 -06:00
Austin Pray
ae62873779 Adds JSCS for gulpfile and scripts
install JSCS globally npm install jscs -g
use `npm run jscs`
2015-01-24 10:26:30 -06:00
Ben Word
8e1eb461f5 Merge pull request #1279 from roots/phpcs
[8.0.0] Coding standards, run PHP_CodeSniffer on Travis
2015-01-24 10:20:36 -06:00
Ben Word
0b98a1e41a [skip ci] Update CHANGELOG 2015-01-24 01:11:38 -06:00
Ben Word
f4d64d23c9 Update PHP files to pass coding standards 2015-01-24 00:48:50 -06:00
Ben Word
33fe490cb0 Add PHPCS to Travis 2015-01-24 00:37:48 -06:00
Ben Word
78fd50212d Add Roots coding standards based on PSR-2 2015-01-24 00:24:52 -06:00
Austin Pray
09e494683b Merge pull request #1276 from roots/remove-jshint
remove trailing option
2015-01-23 11:30:13 -06:00
Austin Pray
2b39b64909 remove trailing option
fixes https://github.com/roots/roots/issues/1275

ref https://github.com/jshint/jshint/pull/1554
2015-01-23 11:27:58 -06:00
Austin Pray
c60b9052bf Enhance asset revving
conditional asset revving based on --production
make assets.php respect new asset revving flow
2015-01-23 03:13:01 -06:00
Scott Walkinshaw
507de3a045 Merge pull request #1272 from roots/google-analytics-improvement
Improve Google Analytics conditional loading
2015-01-21 23:31:27 -05:00
Scott Walkinshaw
4911ebcaaa Merge pull request #1274 from roots/austinpray-patch-1
Safe console.log
2015-01-21 11:43:17 -05:00
Austin Pray
1f098c242b Safe console.log 2015-01-21 10:41:46 -06:00
Scott Walkinshaw
4467d41325 Improve Google Analytics conditional loading
The current logic for condtionally including the GA snippet is confusing
and bit inconsistent. In development you would see logging when the
snippet wasn't included but this wouldn't happen if you were a logged in
admin.

Now there's only two cases:

1. Production non admin user: GA snippet is loaded.
2. Anything else (development or admin user): log output
2015-01-20 23:35:01 -05:00
Ben Word
015814c99f Merge pull request #1271 from roots/use-theme-styles-for-editor-styles
Use the theme styles for the editor stylesheet
2015-01-19 22:51:00 -06:00
Ben Word
cf2bd6b70f Use the theme styles for the editor stylesheet 2015-01-19 22:47:35 -06:00
Ben Word
1d7205891b Fix editor style path 2015-01-19 16:19:57 -06:00
Austin Pray
37f8a2646f docs -> docco 2015-01-19 15:25:27 -06:00
Austin Pray
c6a0f6eab9 Reworks asset revving
fixes https://github.com/roots/roots/issues/1266
2015-01-19 15:19:26 -06:00
Scott Walkinshaw
327ee7ac3a Merge pull request #1269 from emaildano/patch-1
Formatting edits for `travis.yml`
2015-01-19 11:12:19 -05:00
Daniel Olson
caba05a0b1 Formatting edits for travis.yml
Edits according to the travis-ci.com docs: http://docs.travis-ci.com/user/languages/php/#Choosing-PHP-versions-to-test-against
2015-01-19 11:10:55 -05:00
Ben Word
67f3811a6d app.js -> main.js 2015-01-18 17:30:49 -06:00
Ben Word
95cbd1713d Use minified jQuery
See 3a4ae77b1e (commitcomment-9235183)
2015-01-18 17:08:38 -06:00
Ben Word
ae04179822 Merge pull request #1268 from roots/short-array-syntax
[8.0.0] Use short array syntax
2015-01-18 16:51:06 -06:00
Austin Pray
d66f30a905 Fix node requirements 2015-01-18 16:49:21 -06:00
Ben Word
a903e08b86 Use short array syntax 2015-01-18 16:45:18 -06:00
Ben Word
747882c85e Merge pull request #1267 from roots/short-echo-syntax
[8.0.0] Use short echo syntax, bump required PHP version to 5.4
2015-01-18 16:33:23 -06:00
Ben Word
203c4c39e0 Use short echo syntax, bump required PHP version to 5.4 2015-01-18 16:29:23 -06:00
Ben Word
7016d92f07 Move is_element_empty to nav.php 2015-01-18 04:23:30 -06:00
Ben Word
eb8030abcc Merge pull request #1265 from roots/use-new-nav-template-tag
Use new core navigation template tag
2015-01-18 04:19:02 -06:00
Ben Word
d328bfec91 Use new core navigation template tag 2015-01-18 04:18:11 -06:00
Ben Word
77e9cba688 Merge pull request #1263 from austinpray/8.0.0
Fixes watch and wiredep
2015-01-17 14:25:20 -06:00
Austin Pray
2e62ebe8ff Fixes watch and wiredep
wiredep now only touches your files if the destination file is different
from the source file
2015-01-17 08:45:56 -06:00
Ben Word
4d9fd697cb Merge pull request #1262 from JulienMelissas/js-finalize
Adding JavaScript finalize back in
2015-01-16 14:26:15 -06:00
Ben Word
0698cee734 Merge pull request #1260 from austinpray/8.0.0
Fixes watch task
2015-01-16 14:24:52 -06:00
Julien Melissas
3fa4d86df4 Adding JavaScript finalize back in.
Addresses d6fc59e041 (commitcomment-6183775)
2015-01-16 14:43:27 -05:00
Austin Pray
5d58b86feb Merge pull request #1261 from JulienMelissas/livereload-triggers
Adding live reload triggers to JS and CSS changes.
2015-01-16 01:48:40 -06:00
Julien Melissas
e4a03682b3 Adding live reload triggers to JS and CSS changes. 2015-01-16 02:29:58 -05:00
Austin Pray
2009419a5d Fixes watch task 2015-01-16 00:23:44 -06:00
Austin Pray
4ed15a97d9 Merge pull request #1255 from austinpray/8.0.0
Use new manifest format
2015-01-15 20:59:44 -06:00
Austin Pray
6bb9fb21cb Use new manifest format
Simplifies and consolidates gulp tasks

Adds a --production flag to disable source maps

Uses pleeease.io for css optimization
2015-01-15 12:06:52 -06:00
Ben Word
4d272d5bf1 Merge pull request #1253 from austinpray/readme
Add bower install to readme
2015-01-11 12:14:01 -06:00
Austin Pray
151248ae44 Add bower install to readme
ref https://github.com/roots/roots/issues/1252
2015-01-11 12:12:39 -06:00
Ben Word
d6625c20d1 Update CHANGELOG 2015-01-10 15:22:21 -06:00
Ben Word
a09fb0f132 Merge pull request #1246 from roots/remove-activation
Remove theme activation
2015-01-10 14:54:44 -06:00
Ben Word
7f64125701 Remove theme activation 2015-01-10 14:53:33 -06:00
Ben Word
8f6edbb995 Merge pull request #1248 from roots/add-namespace
Add namespace
2015-01-10 14:50:13 -06:00
Ben Word
587fbf6c35 Add namespace 2015-01-10 14:49:46 -06:00
Ben Word
9e1922b06f Merge pull request #1247 from roots/sage
Rename theme from Roots to Sage
2015-01-09 21:00:13 -06:00
Ben Word
030c084134 Rename to Sage 2015-01-09 20:52:29 -06:00
Ben Word
eaf4d7b73b Fix error after master merge because of new assets directory structure 2015-01-09 19:15:24 -06:00
Ben Word
dadb2ce632 Merge master 2015-01-09 19:09:46 -06:00
Ben Word
2ac5a1e0d4 README tweaks 2015-01-09 18:41:51 -06:00
Ben Word
c4b535eb09 Merge pull request #1245 from roots/bootstrap-sass-example
Add example of how to use bootstrap-sass
2015-01-09 17:57:19 -06:00
Ben Word
ebc18f724c Add example of how to use bootstrap-sass 2015-01-09 17:53:13 -06:00
Ben Word
3d3265f65a Merge pull request #1244 from austinpray/gulp
fixes wiredep task
2015-01-09 17:14:21 -06:00
Ben Word
fcc685f9df Update to jQuery 1.11.2 2015-01-06 11:54:18 -06:00
Ben Word
d87854d931 Not needed 2015-01-06 11:53:32 -06:00
Austin Pray
b9722e93b5 fixes wiredep task 2015-01-04 20:04:07 -06:00
Ben Word
6a7764f2ee README tweaks 2015-01-03 01:22:27 -06:00
Scott Walkinshaw
870a14168c Update .travis.yml with npm cache and php 5.6 2014-12-31 17:29:32 -05:00
Ben Word
771527bcff Merge pull request #1240 from austinpray/gulp
Have Travis run JSHint and verify that the build process runs successfully
2014-12-28 13:17:06 -06:00
Ben Word
7e78b81881 Merge pull request #1241 from austinpray/fixreadme
Update and tidy README
2014-12-24 19:17:53 -06:00
Austin Pray
ba1aee86bf Update and tidy README
Removes references to defunct modernizr build generator
Removes repetition
Gulp -> gulp
https://github.com/gulpjs/gulp/blob/master/docs/FAQ.md#is-it-gulp-or-gulp
Removes references to Sass fork, it is dead
Removes "Organized file and template structure" as a feature
Some opinionated usage changes in the Contributing section
Adds my twitter to Readme so I can be reached for gulp stuff
Pimps bedrock
2014-12-24 18:52:38 -06:00
Austin Pray
fc627d43ac Adds travis 2014-12-24 17:45:47 -06:00
Scott Walkinshaw
2723692852 Merge pull request #1126 from mikespainhower/patch-display-sidebar
Update Sidebar to fix default template check
2014-12-23 08:25:56 -05:00
QWp6t
07fd684131 Fix tyop 2014-12-18 23:52:37 -08:00
Ben Word
271fad502a Roots 7.0.3 2014-12-18 14:18:29 -06:00
Ben Word
3bfc0ee7b4 Merge pull request #1235 from roots/archive-titles
Use get_the_archive_title
2014-12-18 14:13:22 -06:00
Ben Word
53f22694bd Merge pull request #1234 from roots/title-tag
Remove wp_title, add title-tag theme support
2014-12-18 14:12:32 -06:00
Ben Word
4f26c81bb1 Use get_the_archive_title 2014-12-18 14:11:35 -06:00
Ben Word
49221085d1 Remove wp_title, add title-tag theme support 2014-12-18 14:07:43 -06:00
Ben Word
97a15623d7 Merge pull request #1228 from austinpray/gulp
Adds a bowerrc
2014-12-10 14:15:56 -06:00
Austin Pray
fd4dbccf86 Adds a bowerrc
Related:
https://github.com/roots/roots/issues/1226

http://bower.io/docs/config/#placement--order
2014-12-10 14:11:12 -06:00
Ben Word
63a2be27bf Be consistent 2014-12-06 22:34:25 -06:00
Ben Word
3defeac93a Merge pull request #1225 from merchantguru/jquery-in-footer-comment
Update comments now that jQuery & Modernizr load in the footer
2014-12-05 17:48:46 -06:00
Joe Fletcher
41e9f3ea68 update comments now that jQuery & Modernizr load in the footer 2014-12-05 14:34:11 -08:00
Ben Word
248c07289f Merge pull request #1224 from austinpray/gulp
Fixes modernizr not being enqueued
2014-12-05 10:05:10 -06:00
Austin Pray
44f69cf0a5 Fixes modernizr not being enqueued
https://github.com/roots/roots/issues/1223
https://github.com/roots/roots/issues/1223#issuecomment-65754009
2014-12-05 01:00:07 -06:00
Scott Walkinshaw
f13d52d38a Use csswring and autoprefixer via postcss
csswring supports minification and sourcemaps
2014-12-03 18:44:59 -05:00
QWp6t
55c7976e37 Merge pull request #1217 from leopuleo/master
Remove Roots_Nav_Walker as default for all menu
2014-12-02 04:04:08 -08:00
Leonardo Giacone
d37c9a8604 Removed Roots_Nav_Walker as default for all menus 2014-12-02 00:52:34 +01:00
Ben Word
9af009da00 Merge pull request #1215 from austinpray/austinpray-gulp
Gulp manifest.json Asset Pipeline
2014-12-01 16:48:08 -06:00
Austin Pray
063a77d149 Refactor: remove manifest file concerns
https://github.com/austinpray/asset-builder
Moves all manifest parsing concerns to separate node module
2014-11-24 14:23:15 -06:00
Austin Pray
df004917b7 Use wiredep for sass and less injection
https://github.com/taptapship/wiredep
all third-party deps are injected via wiredep rather than manually managed
2014-11-24 12:42:52 -06:00
Austin Pray
e2091ef880 Implement JSON file based asset pipeline
Adds manifest.json which contains all of the mappings for the assets
ref: https://github.com/roots/roots/pull/1138#issuecomment-62593715

Prune and update NPM deps
2014-11-24 12:42:41 -06:00
Austin Pray
75db78a9a1 Remove disparity between dev and prod gulp tasks
removes `gulp dev` in favor of `gulp`

adds `gulp --rev` to produce revved asset manifest

adds `gulp --tasks` to the readme

removes postinstall script
removes bower dep
2014-11-24 12:42:30 -06:00
Austin Pray
3a4ae77b1e Reorganizes asset file structure
Separates assets into
- Source assets: `assets`
- Compiled assets: `dist`

Edits assets.php to reflect changes

Removes '.min' from filenames

Fixes:
- removes 'clean' from build step.
2014-11-24 12:34:11 -06:00
Ben Word
3f2c5a89a8 Merge pull request #1209 from markthethomas/patch-1
Bump Bootstrap to 3.3.1
2014-11-17 15:31:39 -06:00
Mark Thomas
d4cf20b225 Bump to 3.3.1
Just bumpin'.
2014-11-17 08:29:35 -08:00
Mike Spainhower
1195739c70 Update Sidebar to fix default template check 2014-11-16 07:49:07 -07:00
Ben Word
c866f4532d Use main-bower-files to copy fonts 2014-11-14 23:41:38 -06:00
Ben Word
c3379fabd8 Add gulp-clean 2014-11-14 18:58:19 -06:00
Ben Word
3d9db730d8 Update Bootstrap
(and remove Respond)
2014-11-14 18:43:04 -06:00
Ben Word
394d6c7c76 Merge pull request #1203 from CFXd/gulp
Watch bower.json for override changes, installs, and uninstalls
2014-11-14 17:49:10 -06:00
Ben Word
0ea4b8c266 Merge pull request #1191 from alexsomeoddpilot/unused-parameters
Unused parameters and declared properties
2014-11-14 17:48:26 -06:00
Ben Word
83aecc5181 Merge pull request #1204 from CFXd/move-wp_head-last
Move wp_head() to be the last markup before </head>
2014-11-14 17:48:03 -06:00
Ben Word
4485970ebd Merge pull request #1199 from kalenjohnson/master
Updating npm dependencies
2014-11-14 17:46:35 -06:00
Michael Silber
1d05b41197 Move wp_head() to be the last markup before </head> 2014-11-13 19:41:45 -05:00
Michael Silber
604fe1278c Merge branch 'gulp-watch-bower.json' into gulp 2014-11-13 15:27:39 -05:00
Michael Silber
087fd5878a Watch bower.json for override changes, installs, and uninstalls 2014-11-13 15:27:19 -05:00
Ben Word
554e3e7339 Merge pull request #1196 from QWp6t/master
Store display_sidebar in static variable
2014-11-11 18:20:24 -06:00
QWp6t
d1e2196f2c Store display_sidebar in static variable 2014-11-11 14:50:56 -08:00
Kalen Johnson
3c5560128e Updating npm dependencies 2014-11-11 11:48:59 -08:00
Ben Word
49765c7450 Merge pull request #1136 from tomdxw/feature/1134-template_include
Check for template_include passing non-strings. Fixes #1134
2014-11-11 12:33:34 -06:00
Ben Word
337f64d99c Add fonts and images tasks to dev 2014-11-11 12:17:51 -06:00
Ben Word
1c591f9243 Fix Glyphicons path 2014-11-11 12:14:51 -06:00
Ben Word
a237cd7bdf Merge pull request #1182 from c2itllc/master
Make search term `required` in search form.
2014-11-11 11:57:13 -06:00
Ben Word
835980f653 Merge pull request #1195 from kalenjohnson/gulp
Added editor-style build to dev and build tasks
2014-11-11 11:52:13 -06:00
Ben Word
a58f20752a Formatting / syntax fix 2014-11-11 11:47:41 -06:00
Ben Word
7129926cd9 Merge pull request #1198 from roots/base-comment-styling
Add some base comment styling
2014-11-11 11:36:16 -06:00
Ben Word
6681d2480d Add some base comment styling
Ref #1197, #1111, #1181
2014-11-11 11:34:38 -06:00
Kalen Johnson
329102d630 Added correct path to editor-styles.css 2014-10-31 12:29:34 -07:00
Kalen Johnson
52cd504c27 Added editor-style build to dev and build tasks 2014-10-31 12:24:57 -07:00
Ben Word
a56b8b4c3e Merge pull request #1193 from markthethomas/master
Bump Bootstrap SemVer to 3.3.0
2014-10-31 13:50:25 -05:00
Ben Word
212c860483 Merge pull request #1194 from kalenjohnson/gulp
CSS must be minified before saving it to dist
2014-10-31 13:50:13 -05:00
Kalen Johnson
a89283df32 CSS must be minified before saving it to dist 2014-10-31 11:21:57 -07:00
Mark Thomas
653608ab4d Bump Bootstrap to 3.3.0 2014-10-30 09:50:40 -07:00
alexsomeoddpilot
2072b30918 Declaring properties on Roots_Wrapping 2014-10-30 09:47:00 -05:00
alexsomeoddpilot
de67c88b92 Removing dead variables in activation 2014-10-30 09:41:56 -05:00
alexsomeoddpilot
2e470c7903 Fixing dead variables and params 2014-10-30 09:24:33 -05:00
Ben Word
7b4182702c Merge pull request #1186 from roots/asset-improvements-gulp
Asset improvements (gulp)
2014-10-27 18:47:31 -05:00
Ben Word
e8822a2d67 Asset improvements (gulp)
Ref #1149 & https://github.com/roots/roots/blob/assets-improvements/lib/assets.php
2014-10-27 18:45:35 -05:00
Ben Word
5389bd63c3 Don't use gulp-modernizr 2014-10-27 12:43:29 -05:00
Ben Word
27b34dc05c Merge pull request #1183 from roots/src-and-dist-folders
Introduce src/ and dist/ folders (gulp)
2014-10-27 12:25:18 -05:00
Ben Word
7636ddaa4c Fix sourcemaps 2014-10-27 12:24:43 -05:00
Ben Word
5b22f0bd9d Introduce src/ and dist/ folders
Separate minifying/renaming of files to prod-only tasks

Add tasks for copying jQuery and fonts

Ref #1138, #1070, #1155
2014-10-27 12:16:01 -05:00
Chris Carr
b935e14c6a Make search term required in search form. 2014-10-25 07:08:52 -07:00
Ben Word
e3266279e6 Remove custom Bower directory 2014-10-24 18:04:29 -05:00
Ben Word
7dd0f0b755 Merge master 2014-10-24 17:56:17 -05:00
Ben Word
246594f230 Roots 7.0.2 2014-10-24 17:21:44 -05:00
Ben Word
2c91354d17 Update CHANGELOG 2014-10-24 17:09:52 -05:00
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
cb83184d84 Merge pull request #1181 from roots/remove-comment-templates
Simplify comments, use core comment form and list
2014-10-24 17:07:56 -05:00
Ben Word
0c1ae408e0 Simplify comments, use core comment form and list 2014-10-24 17:06:41 -05:00
Ben Word
b7094fcc2d Remove HTML5 shiv from Modernizr build 2014-10-24 15:44:17 -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
Ben Word
2978eb3d97 Update CHANGELOG 2014-10-24 13:00:14 -05:00
Ben Word
08104ea19a Merge pull request #1175 from c2itllc/master
Update hEntry schema to use `updated` instead of `published`
2014-10-21 00:46:36 -05:00
Chris Carr
9cf5709813 Update hEntry schema to use updated instead of published on the time element 2014-10-20 13:41:23 -07:00
Ben Word
53289add70 Merge pull request #1165 from Tidal-Wave/enhancement/roots-body-class
Add roots_body_class function to check for page slug in body_class and add it as needed.
2014-10-19 11:47:12 -06:00
Eric Wafford
43507e4dd3 Fix Spaces 2014-10-19 12:20:56 -05:00
Ben Word
9b8eb85fb6 Merge branch 'austinpray-austinpray-gulp' into gulp 2014-10-18 23:50:35 -06:00
Ben Word
365b3670a3 Fix conflict 2014-10-18 23:50:15 -06:00
Ben Word
fe32434754 Merge pull request #1173 from CFXd/easier-less-variables
Move variables into main.less in case it needs to come after other imports (e.g., Fontawesome)
2014-10-18 23:10:58 -06:00
Michael Silber
dcab2b3040 Move variables into main.less in case it needs to come after other imports (e.g., fontawesome) 2014-10-18 19:32:10 -04: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
1b333d6ec9 Merge pull request #1157 from CFXd/remove-wp_footer-from-footer-content-template
Move wp_footer() from footer template into base.php for easier customization and DRY
2014-09-28 09:28:49 -06:00
Michael Silber
977a76cc42 Move wp_footer() from footer template into base.php for easier footer customization and DRY 2014-09-28 10:21:18 -04:00
Ben Word
5b597b3fdb Merge pull request #1154 from zumwalt/gulp
Removed errant semicolon in gulpfile.js
2014-09-19 07:50:54 -05:00
Casey Zumwalt
34b297a339 Removed errant semicolon in gulpfile.js 2014-09-19 01:47:44 -07:00
Austin Pray
79fdfcb21c Adds gulp images
Lossless image optimization including pngcrush(1)
2014-09-11 23:37:09 -05:00
Austin Pray
6e0e036ae7 Enhance Gulp dependency compilation
Gulp automatically grabs all of the dependencies listed as main files in
`bower.json` except for jQuery and modernizr

Deletes plugin directory, bad development pattern. Doesn't make sense
with the existence of `vendor` directory anyway.

Concat all of the js in the js directory except vendor and compiled
files
2014-09-11 23:13:02 -05:00
Austin Pray
45a00cec0e Use gulp-load-plugins
https://www.npmjs.org/package/gulp-load-plugins
2014-09-11 22:15:45 -05:00
Ben Word
e9b31cc8f0 Merge pull request #1146 from kalenjohnson/gulp
Set up livereload to refresh after LESS/JS compiling
2014-09-05 00:07:04 -05:00
kalenjohnson
21f653c1b1 Set up livereload to refresh after LESS/JS compiling 2014-09-04 22:03:54 -07:00
QWp6t
c5488950f7 Fix typo. 2014-08-29 04:30:05 -07:00
QWp6t
a68ae6091c Merge pull request #1142 from QWp6t/master
Adds Bower installation instructions
2014-08-29 04:24:56 -07:00
QWp6t
76dff64731 Adds notes about privileges. 2014-08-28 21:16:51 -07:00
QWp6t
ee1f86d2c1 Adds Bower installation instructions 2014-08-28 20:37:52 -07:00
Ben Word
f1844b6a14 Formatting fixes 2014-08-24 17:41:17 -05:00
Ben Word
3021b182fe Also ignore minified JS 2014-08-24 17:01:28 -05:00
Ben Word
7d422d7f5c Update README for switch to Gulp 2014-08-24 16:57:09 -05:00
Ben Word
534fef3262 Use gulp-rev for versioning CSS and JS 2014-08-24 16:51:08 -05:00
Ben Word
ed7a0d75c6 Remove Grunt completely, add gulp-rev 2014-08-24 16:45:06 -05:00
Ben Word
9e50fdc82f Gulp WIP 2014-08-24 16:43:33 -05:00
Tom Adams
2a06b3dfba Check for template_include passing non-strings. Fixes #1134 2014-08-21 15:36:51 -04:00
Ben Word
ee3fc7119d Update editor-style 2014-08-19 21:29:58 -05:00
Ben Word
c7a7d99417 Update order and comments for custom variables 2014-08-19 20:44:21 -05:00
Ben Word
91a08216c6 Roots 7.0.1 2014-08-15 12:56:53 -05:00
Ben Word
30823445e9 Update devDependencies 2014-08-15 12:54:59 -05:00
Ben Word
ebf121204d Remove mention of feature removed from Soil 2014-08-15 12:53:59 -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
kalenjohnson
d680d473e7 Gruntfile reduced to only grunt-only "version" plugin. Gulpfile set up. package.json updated with gulp dependencies 2014-08-15 01:46:35 -07:00
Ben Word
d12bd1de1c Add dev dependency status badge 2014-08-14 23:45:24 -05:00
QWp6t
3431bc33d6 Merge pull request #1125 from QWp6t/master
Defines WP_ENV if it is not already defined.
2014-08-13 23:55:32 -07:00
QWp6t
1c171bc4cb Defines WP_ENV if it is not already defined 2014-08-13 23:50:39 -07:00
Ben Word
9b260f11cc Remove Grunt badge 2014-08-11 17:26:51 -05: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
Ben Word
576d70eb60 Merge pull request #1118 from LibLogic/master
updated package.json to use version 1.3.9 or greater
2014-08-06 18:39:30 -05:00
Tom Hodgkinson
57337d4ac9 updated package.json to use version 1.3.9 or greater 2014-08-06 19:21:16 -04:00
QWp6t
97f5f34b03 Runs platform agnostic postinstall. Closes #1078
Global node binary is used to execute bower.
Global grunt binary (from grunt-cli) is used to run `dev` task.
2014-08-04 10:58:04 -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
Ben Word
cf91138317 Merge pull request #1105 from kevinlisota/html5-captions
use WP HTML5 markup for captions instead of Soil
2014-07-26 00:33:59 -05: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
Scott Walkinshaw
fe336fe0fd Merge pull request #1096 from CFXd/remove-extra-fwd-slash-after-navbar-home_url
Remove extra forward slash after navbar home_url()
2014-07-16 20:45:10 -04:00
Michael Silber
d511c33963 Remove extra forward slash after navbar home_url() 2014-07-16 20:27:48 -04:00
QWp6t
2632d776ba Merge pull request #1085 from CFXd/make-wp_env-check-positive-if-statement
Make WP_ENV check a positive if statement to improve semantics and readability
2014-07-10 08:18:24 -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
QWp6t
4cdab4497f Splits mixins into separate imports, fixes import order. 2014-07-08 23:16:37 -07:00
Ben Word
ce00b582de Merge pull request #1083 from jholl/patch-1
add _responsive-embed.less
2014-07-08 22:16:15 -05:00
James Holland
6733c38a87 add _responsive-embed.less 2014-07-08 21:51:10 -04:00
Ben Word
ec48ace04c Merge pull request #1082 from fullyint/update-autoprefixer
Update autoprefixer map option
2014-07-07 19:27:17 -05:00
Phil Nelson
0adeb3e5a9 Update autoprefixer map option
Accommodate the grunt-autoprefixer 0.8.0 options refactor
by passing an object (instead of string) to map option
a la nDmitry/grunt-autoprefixer@c658fb7
and nDmitry/grunt-autoprefixer@1b7af91
2014-07-07 19:58:41 -04:00
Ben Word
a42b5a52b5 Merge pull request #1080 from fullyint/loop-template-custom
Initiate the loop for template-custom.php
2014-07-07 16:13:48 -05:00
Phil Nelson
1994666b44 Initiate the loop for template-custom.php
Just as #1056 added a loop-start to page.php, this adds a
loop-start to template-custom.php.
2014-07-07 07:29:14 -04:00
Ben Word
e4513d7cbe Merge pull request #1044 from CFXd/add-collapsed-default-class-to-navbar-collapse-button
Add "collapsed" default class to navbar collapse button
2014-07-06 19:51:39 -05:00
Michael Silber
507a81445b Add "collapsed" default class to navbar collapse button 2014-07-06 19:47:59 -04:00
Scott Walkinshaw
702517e378 Merge pull request #1079 from kevinlisota/patch-1
Update Roots version number in bower.json
2014-07-05 11:40:13 -04:00
Kevin Lisota
f66c4f48f8 update roots version number in bower.json 2014-07-05 08:23:46 -07:00
Scott Walkinshaw
7a61f09ea0 Merge pull request #1076 from CFXd/modrnizr_update_misspelling
Typo: Updage -> Update
2014-07-03 15:52:09 -04:00
Michael Silber
b61a91aa26 Updage -> Update 2014-07-03 15:30:31 -04:00
Ben Word
35832fc2a3 Roots 7.0.0 2014-07-03 11:52:07 -05:00
Ben Word
17716e5918 Merge pull request #982 from roots/7.0.0
Roots 7.0.0
2014-07-03 11:50:58 -05:00
Ben Word
1788272133 Generate new roots.pot 2014-07-03 11:49:42 -05:00
Ben Word
acc397573d Merge master 2014-07-03 11:45:57 -05:00
Ben Word
6c09c173ff Merge pull request #1056 from joshlevinson/master
Initiate the loop before the title is called on pages.
2014-07-03 11:40:01 -05:00
Ben Word
f1fbfaf37f Merge pull request #1067 from kalenjohnson/master
Updated all instances of home_url() with esc_url()
2014-07-03 11:39:33 -05:00
Nicholas Fox
eb5ff6f187 Add library comments 2014-07-02 18:43:08 +01:00
kalenjohnson
1a5c29ac1a Changed esc_url to esc_url_raw in redirect 2014-06-30 10:16:50 -07:00
kalenjohnson
b18756206c Fixed search value, changed back to get_search_query, removed unnecessary check 2014-06-30 10:15:26 -07:00
Ben Word
0bf851a763 Merge pull request #1072 from ntwb/patch-1
Bump NPM package versions
2014-06-30 11:13:38 -05:00
Stephen Edgar
600677d2eb Bump NPM package versions 2014-06-30 17:31:30 +10: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
Ben Word
a06d4d2450 Add note about roots-sass 2014-06-29 23:59:58 -05:00
Ben Word
c040970dac Update style.css 2014-06-29 23:56:27 -05:00
Ben Word
323fd4027a Update CHANGELOG 2014-06-29 23:53:29 -05:00
Ben Word
b1645b590d README updates 2014-06-29 23:47:31 -05:00
Ben Word
9441ec5ed2 README updates 2014-06-29 23:27:50 -05:00
Ben Word
34bef3e8fc Ref #1071 - Update to Bootstrap 3.2.0 2014-06-29 23:19:30 -05:00
kalenjohnson
7c39d5b039 Updated all instances of home_url() with esc_url() 2014-06-27 09:05:41 -07:00
Scott Walkinshaw
aceb4bd1cd Merge pull request #1066 from kalenjohnson/master
Escaping home_url
2014-06-26 17:22:59 -04:00
kalenjohnson
6339e96137 Escaping home_url 2014-06-26 13:47:39 -07:00
Scott Walkinshaw
9f029d1d62 Merge pull request #1065 from jmslbam/patch-1
Use `get_comment_date` instead of `comment_date`
2014-06-24 08:35:27 -04:00
Jaime Martínez
7691ce4548 Use get_comment_date instead of comment_date
Because `comment_date` already displays / echo's it value.  
http://codex.wordpress.org/Function_Reference/comment_date  
http://codex.wordpress.org/Function_Reference/get_comment_date
2014-06-24 11:30:22 +02:00
Scott Walkinshaw
bffefdf2ea Merge pull request #1027 from CFXd/comments_link-fix-in-comments-template
Move comments.php conditionals inside <section> tags to ensure comments_link() does not break (and clean up spacing)
2014-06-18 00:07:11 -04:00
Michael Silber
be9c7704da Move comments.php conditionals inside <section> tags to ensure section#comments and section#respond are always present to avoid breaking comments_link() function
Line 54 __( --> _e(
2014-06-17 23:59:59 -04: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
Scott Walkinshaw
d2ad613010 Merge pull request #1058 from BastianHofmann/patch-1
Fix is_element_empty util function.
2014-06-17 10:12:58 -04:00
BastianHofmann
6ddbd6e9de Fix is_element_empty util function. 2014-06-17 16:03:20 +02:00
joshlevinson
5f6c137a17 Update page.php 2014-06-16 12:41:45 -04:00
QWp6t
a766ea166a Merge pull request #1042 from al-the-x/better-partial-includes
Trigger an error when a required include fails to be included...
2014-06-15 21:40:26 -07:00
David Rogers
a19b89f023 Reducing duplication and better utilizing the WP built-in locate_template()
Re recommendations from @QWp6t in roots/roots#1042
2014-06-16 00:03:46 -04:00
Ben Word
47e0558c0d Merge pull request #1050 from iloveitaly/remote-footer-copyright
Remove footer copyright element
2014-06-15 02:16:27 -05:00
Ben Word
dffa1b4672 Merge pull request #1055 from al-the-x/watch-js-plugins
Make `grunt watch:js` include `assets/js/plugins/**/*.js`
2014-06-15 02:03:19 -05:00
Josh Levinson
2d1c77837b Initiate the loop before the title is called on pages. Failing to do so causes checks that run on the loop's status to fail. 2014-06-13 14:09:20 -04:00
David Rogers
0804074fdf Make grunt watch:js include assets/js/plugins/**/*.js
If I add JavaScript packages to my `assets/js/plugins/` directory, they must be concatenated, uglified, and added to `scripts.js` to be used in my theme. The `watch:js` task should also note changes to those files and directories.
2014-06-06 16:50:27 +00:00
Ben Word
4653b9c6ea Merge pull request #1049 from QWp6t/patch-1
Retrieve manifest.json from local file system. Fixes  #1048
2014-06-06 11:16:58 -05:00
Michael Bianco
d91cfa8c5b Remove footer copyright element 2014-06-01 19:34:57 -04:00
QWp6t
d82daf2c57 Get menifest.json from file system. Fixes #1048 2014-05-30 23:23:45 -07:00
Ben Word
4e38d4681d Use <!doctype html> instead of <!DOCTYPE html>
See e67e9cc7c1
2014-05-21 18:34:39 -05:00
Ben Word
f1937445e9 Update packages 2014-05-21 18:33:51 -05:00
Ben Word
af9d06fefd Update to latest Modernizr 2014-05-21 18:26:16 -05:00
Ben Word
7552cd4d97 Update to jQuery 1.11.1 2014-05-21 18:24:25 -05:00
Scott Walkinshaw
dbb80938e0 Merge pull request #1034 from jaavid/patch-1
Update fa_IR.po
2014-05-12 08:24:08 -04:00
jaavid
ccbf7a9823 Update fa_IR.po 2014-05-12 11:58:17 +04:30
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
Ben Word
a50dfa7ebb Merge pull request #1015 from leoj3n/comment-title-fix
Fix comment log out title echo
2014-04-07 11:17:38 -05: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
Joel Kuzmarski
0e3eca9cc4 Fix comment log out title echo 2014-03-31 07:57:14 -05:00
Ben Word
be14fdb69c Use grunt-wp-assets 2014-03-30 23:01:59 -05:00
Ben Word
b524fb8b4d Update README 2014-03-30 22:17:23 -05:00
Ben Word
c7453f62dc Update watch tasks 2014-03-30 21:49:04 -05:00
Ben Word
2442d7bdf7 Use sr-only class on searchform, move label again because of input-group styles 2014-03-30 21:30:08 -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
1a9b71edcf Add time-grunt 2014-03-30 20:38:08 -05:00
Ben Word
bb604f36b8 Add grunt-autoprefixer 2014-03-30 20:12:30 -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
5ba5de8ee5 Swap input/label on searchform 2014-03-30 19:19:33 -05:00
Ben Word
8c04f4a3df LiveReload - reference non-minifed assets 2014-03-30 19:17:26 -05:00
Ben Word
87ef63f58b Move translations outside repo
See https://github.com/roots/roots-translations
2014-03-30 19:12:38 -05:00
Scott Walkinshaw
18e4db6d4a Merge pull request #1013 from lainga9/patch-1
Bug in roots_request_filter()
2014-03-25 12:15:55 -04: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
Ben Word
f411b8d0c8 Merge pull request #1010 from JulienMelissas/master
Adding comment to reduce confusion about div tag closing in lib/comments.php
2014-03-20 12:00:07 -05:00
Julien Melissas
e3012cb845 Adding comment to reduce confusion about div tag closing. 2014-03-20 12:57:03 -04:00
Ben Word
5ec68b8bc3 Merge pull request #1006 from AmitT/patch-1
Update he_IL.po
2014-03-18 10:23:09 -05:00
Ben Word
ec5dfc3049 Merge pull request #1007 from ragulka/estonian-translation
Add estonian translation
2014-03-18 10:22:51 -05:00
Ben Word
1101e3b72d Merge pull request #1008 from ragulka/more-i18n
Make Home and Primary Navigation translatable
2014-03-18 10:22:30 -05:00
Illimar Tambek
554374fb07 Make Home and Primary Navigation translatable 2014-03-18 08:33:04 +02:00
Illimar Tambek
aaaa141f33 Add estonian translation 2014-03-17 23:05:53 +02:00
Amit
e6ec690972 Update he_IL.po
Removing unnecessary quote sign.
2014-03-16 07:44:07 +02:00
Scott Walkinshaw
fac1b95973 Merge pull request #1003 from artbelov/master
Updated Russian translation.
2014-03-12 11:39:41 -04:00
Artem Belov
fd972e4aff Updated Russian translation. 2014-03-12 18:46:46 +04:00
Ben Word
289ea01fc2 Separate containers 2014-03-12 00:04:56 -05:00
Ben Word
70054b7d08 Just enqueue JS instead of register + enqueue 2014-03-11 23:57:03 -05:00
Ben Word
373910b515 Update version numbers, CHANGELOG 2014-03-11 23:51:41 -05:00
Ben Word
272afb78d1 Update screenshot resolution to 880x660, change to blank image 2014-03-11 23:38: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
Scott Walkinshaw
8bafd87237 Merge pull request #997 from chrillep/master
Updated Swedish translation
2014-03-01 10:23:16 -05:00
Christian Widlund
c3cf74ebe9 Updated Swedish translation 2014-03-01 14:51:14 +01:00
Ben Word
6d8b82a7e5 Add .gitkeep to assets/js/plugins 2014-02-22 12:11:47 -06: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
94cc2949a2 Use load-grunt-tasks 2014-02-21 22:08:43 -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
f5e03e96a4 Use latest Bootstrap 2014-02-21 20:59:33 -06:00
Ben Word
4e70c60d68 Update clean task for versioned assets 2014-02-21 20:55:36 -06:00
Ben Word
53c2829915 Fix parseFiles in grunt-modernizr task 2014-02-21 20:52:40 -06:00
Ben Word
c3263f0553 Run bower install after npm install 2014-02-21 20:47:45 -06:00
Ben Word
26b7281299 Close #991 - Move footer container 2014-02-21 20:41:17 -06:00
Ben Word
55994a8cb8 Merge pull request #990 from hariadi/7.0.0-grunt-wp-asset
Use grunt-wp-assets for version task
2014-02-21 20:38:26 -06:00
Hariadi Hinta
77e2fdb4bd Use grunt-wp-assets for version task
* default use filename version revving instead of querystring
* versioning file will be ignore
2014-02-20 11:17:36 +08:00
Ben Word
432493a9da Merge pull request #988 from roots/bootstrap-3.1.1
Update to Bootstrap 3.1.1
2014-02-13 16:24:44 -06:00
Ben Word
fa6b8eced0 Update to Bootstrap 3.1.1 2014-02-13 16:23:15 -06:00
Scott Walkinshaw
e88cf58d45 Merge pull request #984 from hariadi/ms_MY
Update Malay language
2014-02-06 08:29:28 -05:00
Hariadi Hinta
6e4cb72ec4 Update Malay language
Ref: #740
2014-02-06 17:49:51 +08:00
Ben Word
11930de7ed Ref #867 - Add Respond.js (not enqueued by default) 2014-02-04 23:37:14 -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
6b176ecb67 Specific Bootstrap version 2014-02-04 22:51:22 -06:00
Ben Word
810768c5c3 Merge branch 'bower' into 7.0.0 2014-02-04 22:45:59 -06:00
Ben Word
999759c375 Roots 6.5.2 2014-02-04 22:44:25 -06:00
Ben Word
57c60ef632 Merge pull request #981 from AmitT/master
Fix for Hebrew .mo file
2014-02-04 20:40:00 -08:00
Ben Word
cf91bcfbab Merge pull request #976 from PayteR/master
Slovak language translation added
2014-02-04 20:39:43 -08:00
AmitT
c181607ed2 tying to fix Hebrew .mo file 2014-02-03 23:41:01 +02:00
Scott Walkinshaw
4b0bc1ee15 Merge pull request #980 from lautreamont3/master
Small changes to sr_RS
2014-02-03 12:36:18 -08:00
lautreamont3
b10d456d5b Small changes to sr_RS 2014-02-03 21:31:02 +01:00
Ben Word
b395bedb1d Merge pull request #979 from AmitT/master
Hebrew translation
2014-02-03 09:29:11 -08:00
AmitT
a959c89a83 fixing a few strings 2014-02-03 08:21:22 +02:00
AmitT
2f28d81328 Hebrew translation added 2014-02-03 08:16:36 +02:00
Ben Word
645cf9939b Load Bootstrap via Bower
TODO:
- Update README
- Use grunt-bower-task?
2014-02-02 22:10:00 -06:00
Peter Payter Gašparík
21380d2744 Slovak language translation added 2014-02-01 10:47:16 +01:00
Foxaii
a182430df7 Merge pull request #974 from roots/three_one
Bootstrap 3.1.0
2014-01-30 15:12:21 -08:00
Foxaii
553347d59a Bootstrap 3.1.0 2014-01-30 20:45:30 +00:00
Foxaii
7fef040e0b Merge pull request #973 from roots/jquery_nc
JS wrap, better comments
2014-01-29 16:39:08 -08:00
Foxaii
8eb921e549 JS wrap, better comments 2014-01-30 00:34:12 +00:00
Ben Word
bf28288e15 Merge pull request #968 from yzlow/patch-1
Add trailing slash using the $path parameter
2014-01-29 12:56:37 -08:00
Ben Word
580a463d72 Merge pull request #972 from gracix/master
Add Japanese language files
2014-01-29 12:53:59 -08:00
Ben Word
2ba9bd1646 Merge pull request #969 from roots/jquery-1.11.0
Update to jQuery 1.11.0
2014-01-29 12:53:19 -08:00
Takefumi Ota
d825f9c00e Correction japanese language file
Delete excess strings after line 268.
2014-01-29 10:10:50 +09:00
Takefumi Ota
a96e2788c6 Add japanese language
Add Japanese language files.
2014-01-28 16:36:49 +09:00
Ben Word
c095bd361a Update to jQuery 1.11.0 2014-01-24 12:12:21 -06:00
yzlow
94b5a4f59a Add trailing slash using the $path parameter 2014-01-25 01:31:23 +08:00
Foxaii
3affb6f803 Merge pull request #966 from roots/avatar_fix
Fix avatar classes
2014-01-22 11:18:16 -08:00
Foxaii
98e7fc0b89 Fix avatar classes 2014-01-22 18:24:10 +00:00
Ben Word
d6fc59e041 Add comments to _main.js, remove finalize 2014-01-18 18:43:25 -06:00
Ben Word
9663bb489f Remove widget-inner
No longer needed with box-sizing: border-box
2014-01-18 00:26:32 -06:00
Ben Word
5de5adae6c Fix permissions 2014-01-18 00:23:07 -06:00
Ben Word
e73eb910e1 Merge pull request #963 from patrickocoffeyo/master
Update Grunt to 0.4.2
2014-01-15 15:54:44 -08:00
Patrick Coffey
3da2b86703 Update Grunt to 0.4.2 2014-01-15 17:39:14 -06:00
Ben Word
56cc1863f2 Use get_feed_link for RSS URL 2014-01-15 15:20:00 -06:00
Scott Walkinshaw
9bcd427ab6 Fixes #962 - Not used anymore 2014-01-15 13:45:24 -05:00
Ben Word
70ace1d7f4 Don't encourage use of Roots Rewrites plugin
Instead, use Bedrock.
2014-01-14 18:34:43 -06:00
Ben Word
d214e594bd Remove analytics
No longer necessary with https://github.com/blog/1672-introducing-github-traffic-analytics
2014-01-07 14:02:44 -06:00
Foxaii
378841c8a8 Merge pull request #947 from leoj3n/gallery-fix
Fix gallery link option
2014-01-05 07:33:41 -08:00
Foxaii
39dd0d2499 Merge pull request #956 from roscius/register_script
Match wp_register_script function signature
2014-01-04 10:48:45 -08:00
Roscius
940b8b5399 Match wp_register_script function signature
Although the third parameter currently works when false to indicate
no dependancies, it works by side-effect, the function signature uses
an empty array to indicate no dependancies.
2014-01-03 23:33:43 -05:00
Ben Word
72cc5550d1 Ignore LESS source map 2014-01-02 23:10:06 -06:00
Ben Word
7222d855b9 Add analytics 2014-01-02 12:11:32 -06:00
Ben Word
93d4e1281c Generate new roots.pot 2013-12-29 15:15:10 -06:00
Ben Word
a0534e8c90 Add notice to theme activation, tidy activation table markup 2013-12-29 14:31:42 -06:00
Ben Word
e4ac25853c screen_icon has been deprecated with WP 3.8 2013-12-29 14:13:23 -06:00
Ben Word
d581900fe8 Remove changing media folder from theme activation 2013-12-29 14:10:41 -06:00
Joel Kuzmarski
261fb43776 Fix gallery link option
Galleries should support three link types:

* Attachment Page (default): [gallery ids="1,2,3"]
* Media File: [gallery link="file" ids="1,2,3"]
* None: [gallery link="none" ids="1,2,3"]
2013-12-20 06:47:52 -06:00
Ben Word
c79e67ddcf Add Grunt badge 2013-12-16 13:35:20 -06:00
Scott Walkinshaw
17ea6019e4 Merge pull request #942 from roots/language-attributes
Remove lang cleanup and fix dir
2013-12-14 14:42:21 -08:00
Foxaii
72fa70aed2 Merge pull request #943 from roots/rel_url
Fix relative url changes
2013-12-14 13:31:55 -08:00
Foxaii
51b246ea92 Fix relative url changes 2013-12-14 21:02:49 +00:00
Scott Walkinshaw
d19f17bc17 Remove lang cleanup and fix dir 2013-12-14 10:56:21 -05:00
Foxaii
1e26ad1b4a Merge pull request #941 from roots/rel_url_f
Port support for rel urls
2013-12-13 12:09:27 -08:00
Foxaii
7f88525175 Port support for rel urls 2013-12-13 19:52:39 +00:00
Scott Walkinshaw
7bc827cefe Merge pull request #938 from meip/master
Fix german translation: Continued should be Weiterlesen
2013-12-06 12:20:58 -08:00
Philipp Meier
4f8a43812f Fix german translation: Continued should be Weiterlesen 2013-12-06 16:33:24 +01:00
Ben Word
71e23dcae0 Merge pull request #936 from roots/bootstrap_3.0.3
Update to Bootstrap 3.0.3
2013-12-05 12:13:23 -08:00
Foxaii
aa59cede7f Update to Bootstrap 3.0.3 2013-12-05 19:27:34 +00:00
Foxaii
9fca562a61 Merge pull request #908 from bjornerik/figurefix
Add 10 px to the width of <figure> to avoid figure overflow
2013-12-04 12:32:52 -08:00
Foxaii
e68a498dce Merge pull request #929 from teknologi/fix-unstyled-list
fixed deprecated class name for unstyled lists
2013-12-04 04:15:18 -08:00
Ben Word
d9a86ee25e Merge pull request #928 from teknologi/danish-translation-update
Update Danish language files
2013-12-03 17:40:12 -08:00
Hans Czajkowski Jørgensen
c72a8a7e79 fixed deprecated class name for unstyled lists 2013-12-01 16:40:18 +01:00
Scott Walkinshaw
2c95ed3a97 Merge pull request #927 from jakobhans/update_lang_spanish
Updated spanish language to new paths
2013-12-01 06:44:32 -08:00
Hans Czajkowski Jørgensen
0f88e58e15 Corrected a few minor discrepancies 2013-12-01 12:39:58 +01:00
Hans Czajkowski Jørgensen
6bd354e0c3 Update Danish language files to match current lang/roots.po 2013-12-01 12:25:57 +01:00
Jakob Renpening
0ad3f8169f Updated spanish language to new paths 2013-12-01 01:08:45 -06:00
Scott Walkinshaw
5257831b65 Merge pull request #924 from Okeanos/master
Fixed some spelling errors in the German translation files
2013-11-23 09:48:54 -08:00
Nikolas Grottendieck
9c5222cf21 Fixed some spelling errors in the German translation files 2013-11-23 18:43:24 +01:00
Ben Word
04efa7baa7 Use main element 2013-11-18 09:46:09 -06:00
Ben Word
94991089c9 Update to Modernizr 2.7.0 2013-11-18 09:46:09 -06:00
Scott Walkinshaw
fb34c2d4e8 Merge pull request #921 from magox-git/roots_title
roots_title() returns a value
2013-11-13 09:43:19 -08:00
magox
bfd07ce8ff restore apply_filters and switch echo to return 2013-11-13 17:58:00 +01:00
magox
6cbdcd63e2 add a space after the comma L:28 2013-11-13 17:22:57 +01:00
magox
aca0793f87 roots_title() returns a value
Instead of printing the value directly, now the function returns a
value which can printed with echo (like it is in page-header.php) or
stored in a $var when needed.
2013-11-13 16:40:25 +01:00
Ben Word
41107b1b2b Don't run JSHint on plugins 2013-11-09 12:10:28 -06:00
Scott Walkinshaw
857b46c0f1 Merge pull request #919 from Okeanos/master
Updated German language files to latest version
2013-11-09 09:30:31 -08:00
Nikolas Grottendieck
40d22b148c Updated German language files to latest version 2013-11-09 18:26:08 +01:00
Ben Word
840ee637bf Formatting, adding/updating links 2013-11-07 21:28:52 -06:00
Ben Word
e362daecf2 Disable warnings about undefined variables 2013-11-07 21:04:39 -06:00
Ben Word
e8e5e82a05 Merge pull request #917 from roots/h5bp-updates
Merge in updates from HTML5 Boilerplate
2013-11-07 17:40:55 -08:00
Ben Word
3c163bdd4b Merge in updates from HTML5 Boilerplate 2013-11-07 19:39:04 -06:00
Ben Word
ecf150853b Merge pull request #916 from roots/js-source-map
Make enabling a JS source map easy
2013-11-07 17:32:05 -08:00
Ben Word
12ff6bd04e Make enabling a JS source map easy 2013-11-07 19:27:57 -06:00
Ben Word
0bf2489184 Update description and link 2013-11-07 19:14:11 -06:00
Ben Word
8bae01fdfc Green Roots logo 2013-11-07 19:12:51 -06:00
Ben Word
68134b983b Merge pull request #914 from roots/bootstrap-3.0.2
Update to Bootstrap 3.0.2
2013-11-06 17:17:40 -08:00
Ben Word
5fe6c44dab Update to Bootstrap 3.0.2 2013-11-06 19:16:58 -06:00
Ben Word
8b5e7fa27a Merge pull request #913 from roots/grunt-contrib-less
Switch to grunt-contrib-less, add LESS source maps support
2013-11-06 17:14:28 -08:00
Ben Word
35649e3a9d watch: recess -> less 2013-11-06 15:31:14 -06:00
Ben Word
3b64f10111 Switch to grunt-contrib-less, add LESS source maps support 2013-11-06 13:38:21 -06:00
Ben Word
b08510fcba Merge pull request #912 from roots/move-rewrites-to-plugin
Move rewrites to a plugin, Roots 6.5.1
2013-11-05 13:13:36 -08:00
Ben Word
f8bc0ca80b Move rewrites to a plugin, Roots 6.5.1 2013-11-05 14:54:09 -06:00
Ben Word
8575130b02 Merge pull request #893 from RistoNiinemets/master
Filter titles
2013-11-03 14:09:47 -08:00
Ben Word
e4c3364eef Close #881 - Update editor-style.css and instructions 2013-11-03 16:08:52 -06:00
Ben Word
a6d3139269 Close #888 - Add comment about Universal Analytics 2013-11-03 16:04:50 -06:00
Ben Word
8d94d6e3f6 Merge pull request #910 from c2itllc/master
Update to Bootstrap 3.0.1
2013-10-30 15:16:13 -07:00
Chris Carr
4ce5eb2dc4 Update to Bootstrap 3.0.1 2013-10-30 15:13:15 -07:00
Scott Walkinshaw
a3f2210e8e Merge pull request #907 from bjornerik/master
Nynorsk (Norwegian) language fixes
2013-10-28 15:48:29 -07:00
bjornerik
92dee5ad5e Add 10 px to the width of <figure> to avoid figure overflow 2013-10-28 21:54:58 +01:00
bjornerik
9b8fa9356d Completion and a language cleanup of the Nynorsk language file. 2013-10-28 20:54:07 +01:00
Scott Walkinshaw
29d5709606 Merge pull request #902 from leopuleo/master
Italian Translation - Final Update
2013-10-14 08:06:24 -07:00
leopuleo
21bac8bf18 Italian Translation - Final Update
Italian Translation - Final Update
2013-10-14 14:18:36 +02:00
Scott Walkinshaw
01461b78fa Merge pull request #899 from elkebirmed/master
Correct theme activation link typo
2013-10-13 07:38:34 -07:00
Mohamed Elkebir
659d49d6e6 Correct theme activation link typo 2013-10-13 07:19:06 +01:00
Scott Walkinshaw
2bd82ad4e4 Merge pull request #897 from ShutterBrandon/master
Update rewrites.php
2013-10-11 13:55:38 -07:00
Brandon Shutter
beb3467ed9 Update rewrites.php
Broken link.
2013-10-11 16:41:08 -04:00
RistoNiinemets
20f9383c4d filter titles 2013-10-09 15:23:20 +03:00
Scott Walkinshaw
866d6e4b5a Merge pull request #892 from fingli/20131007
Update Bulgarian translation
2013-10-07 12:06:13 -07:00
fingli
fe02f6963a Update Bulgarian translation 2013-10-07 22:01:25 +03:00
Scott Walkinshaw
57a2da4d8a Merge pull request #883 from visioncan/translation
Update Traditional Chinese translation
2013-09-18 13:13:58 -07:00
visioncan
964bd836c3 Update Traditional Chinese translation 2013-09-19 03:46:04 +08:00
Ben Word
b7186198bb Merge pull request #873 from kevinlisota/patch-1
Change IE conditional statement so alert appears on IE7
2013-09-11 08:15:37 -07:00
Ben Word
e38385cae9 Merge pull request #875 from weslly/jshint-predef-modernizr
Predefine Modernizr object to avoid JSHint errors
2013-09-09 15:25:35 -07:00
Weslly Honorato
ec74a64d73 Predefine Modernizr function to avoid JSHint errors 2013-09-09 19:16:25 -03:00
Kevin Lisota
f413eb4914 Change IE conditional statement so alert appears on IE7
Bootstrap 3 no longer supports IE7. The roots outdated browser warning should now appear on anything earlier than IE8.
2013-09-09 07:43:36 -07:00
Ben Word
c66c20b7f2 Close #842 - Move version task to a grunt plugin 2013-09-08 18:05:40 -05:00
Ben Word
3a79ebfb9f Merge pull request #872 from weslly/update-bs-alerts
Updated alert boxes to bootstrap v3
2013-09-08 12:47:25 -07:00
Weslly Honorato
71d099af83 Updated alerts to bootstrap v3 2013-09-08 16:27:26 -03:00
Ben Word
2a3fbf0d66 Make sure jQuery fallback is immediately after jQuery 2013-09-08 12:02:42 -05:00
Ben Word
acab6fe5f7 Latest build 2013-09-08 11:24:27 -05:00
Ben Word
b5f5c492b6 Close #853 - Add Romanian translation by @AlexAlexandru 2013-09-08 11:23:26 -05:00
Ben Word
9daafe04d8 Update versions 2013-09-08 11:19:43 -05:00
Scott Walkinshaw
1c7d3bb041 Merge pull request #863 from patrickocoffeyo/master
Indented aside tag within conditional
2013-09-07 14:51:12 -07:00
Scott Walkinshaw
30e19b88df Merge pull request #868 from jmjf/comment--specify-excerpt-length-unit
Comment config.php excerpt length is in words
2013-09-07 14:47:24 -07:00
Ben Word
1d6544b4a6 Merge pull request #871 from jrivera84/master
Update Bootstrap 3 Customize URL
2013-09-04 18:18:00 -07:00
jrivera84
ad64e76e2a Update Bootstrap 3 Customize URL
Fix for issue #870
2013-09-04 20:57:48 -04:00
Scott Walkinshaw
54c08d6d95 Merge pull request #869 from 01walid/master
Add Arabic translation
2013-09-04 05:12:04 -07:00
Walid ZIOUCHE
c5656fb8c4 Add Arabic translation 2013-09-04 10:57:30 +01:00
Jamee Mikell
029e0c61e0 Update comment per swalkinshaw's suggestion 2013-09-03 13:32:06 -04:00
Ben Word
525ac75cd4 Merge pull request #856 from weslly/grunt-watch-livereload
Added browser live reloading to Grunt
2013-09-02 09:25:23 -07:00
Jamee Mikell
1a40ba6530 Comment config.php excerpt length is in words
Add comment to POST_EXCERPT_LENGTH to indicate it is in words, not
characters.
2013-09-01 13:19:41 -04:00
Ben Word
eefcec83f8 Merge pull request #864 from schrapel/master
Hide Google Analytics to admins to prevent obscured data.
2013-08-31 16:28:56 -07:00
Foxaii
433a0c229b Merge pull request #865 from roots/docs
Add fonts to Nginx rewrites
2013-08-30 06:07:51 -07:00
Foxaii
fd351fd7c4 Add fonts to Nginx rewrites 2013-08-30 14:04:33 +01:00
Toby
409939bf82 Hide Google Analytics to admins to prevent obscured data. 2013-08-30 10:34:33 +01:00
Patrick Coffey
82aae34d42 Indented aside tag within conditional
Just noticed this wasn't indented like the rest. :)
2013-08-29 09:59:47 -05:00
Scott Walkinshaw
bdde0e5ae1 Merge pull request #861 from novrian/develop
Update translation in Bahasa Indonesia
2013-08-28 15:56:32 -07:00
Novrian Y.F
40494717eb Merge branch 'update-id_ID' into develop 2013-08-29 06:48:46 +08:00
Novrian Y.F
1d1231f4d4 Update translation in Bahasa Indonesia 2013-08-29 06:47:52 +08:00
Ben Word
0d6a8dbdfd Update $content_width 2013-08-25 20:06:17 -05:00
Ben Word
536080600a Update npm install instructions 2013-08-25 19:08:42 -05:00
Weslly Honorato
f2d54129ff Add .php files to livereload 2013-08-25 20:49:12 -03:00
Scott Walkinshaw
5fa178032f Merge pull request #859 from weslly/patch-1
Updated app.less version
2013-08-25 14:01:31 -07:00
Weslly Honorato
34ab26d439 Updated app.less version 2013-08-25 17:59:39 -03:00
Scott Walkinshaw
b7118abb31 Merge pull request #858 from leoj3n/app-less-formatting
Fix formatting in app.less
2013-08-25 13:53:51 -07:00
Joel Kuzmarski
d689fd5647 Fix formatting in app.less 2013-08-25 13:58:12 -05:00
Scott Walkinshaw
2530180948 Merge pull request #855 from weslly/fix-jshint
Fixed error with jshint's ES5 option
2013-08-25 09:47:17 -07:00
Weslly Honorato
30ace3c647 Added browser live reloading to Grunt 2013-08-24 17:23:14 -03:00
Weslly Honorato
c41d4cea66 Fixed error with jshint's ES5 option 2013-08-24 17:05:11 -03:00
Ben Word
41085d2e55 Merge pull request #852 from roots/6.5.0
Roots 6.5.0
2013-08-22 21:48:04 -07:00
Ben Word
d20aa0fe50 Roots 6.5.0 2013-08-22 22:25:58 -05:00
Ben Word
59237e584c Merge pull request #851 from retlehs/grunt
Merge grunt into master
2013-08-22 17:19:28 -07:00
Ben Word
4f4ffa1171 Merge pull request #850 from weslly/grunt
Update grunt dependencies and node.js version
2013-08-22 17:14:04 -07:00
Weslly Honorato
d9e22fa5a2 Update node version 2013-08-22 17:16:42 -03:00
Weslly Honorato
1c1269ed8b Update grunt dependencies 2013-08-22 17:14:00 -03:00
Ben Word
0f64a4f74e Use Bootstrap variables for media queries 2013-08-21 10:18:37 -05:00
Ben Word
0b9f64c675 Update to Bootstrap 3.0.0 2013-08-19 18:46:52 -05:00
Scott Walkinshaw
96be48c074 Merge pull request #845 from Foxaii/sidebar-args
Sidebar support for args array
2013-08-19 16:28:51 -07:00
Ben Word
71dd266db8 Merge pull request #847 from Foxaii/v3.0.0
Update to Bootstrap 3.0.0
2013-08-19 16:19:09 -07:00
Foxaii
f2f2a7261f Update CHANGELOG.md 2013-08-19 23:46:34 +01:00
Foxaii
c63fa4f1e5 Navbar & Column Classes 2013-08-19 23:32:50 +01:00
Foxaii
97c6eb2544 BS3 Final 2013-08-19 22:54:05 +01:00
Foxaii
e5ca12d41c Sidebar support for args array 2013-08-18 23:47:23 +01:00
Scott Walkinshaw
a56551a9e0 Merge pull request #844 from kukac7/master
hungarian lang update
2013-08-16 09:00:57 -07:00
béla
20b8a02d46 hungarian lang update 2013-08-16 17:49:45 +02:00
Scott Walkinshaw
875da192dd Merge pull request #843 from davoudrafati/patch-1
Update usage.md
2013-08-14 05:33:34 -07:00
Davoud Rafati
295cd80463 Update usage.md 2013-08-14 11:35:31 +04:30
Ben Word
fb8bc0973a Update to latest Bootstrap 3 (RC2) 2013-08-13 22:55:47 -05:00
Ben Word
865558534b Update to latest Bootstrap 3 (RC2) 2013-08-13 22:50:59 -05:00
Ben Word
08d2368cd1 Import Bootstrap from app.less 2013-08-13 22:30:55 -05:00
Ben Word
bdbbda9f6b Merge branch 'master' into grunt 2013-08-13 22:24:24 -05:00
Scott Walkinshaw
be01f33d0b Merge pull request #839 from weslly/master
Updated pt_BR translation
2013-08-12 10:56:02 -07:00
Weslly Honorato
243fa3e107 Updated pt_BR translation 2013-08-12 14:02:49 -03:00
Ben Word
336706a1b8 Merge pull request #838 from Foxaii/nav-depth
Allow nav depth override
2013-08-11 19:54:35 -07:00
Foxaii
80e77837dd Allow nav depth override 2013-08-11 21:59:19 +01:00
Scott Walkinshaw
b449d6ffab Merge pull request #836 from coolalpaca/grunt
Closes #785 - Added grunt-imageoptim task
2013-08-11 10:08:19 -07:00
Scott Walkinshaw
a8d1a09612 Merge pull request #827 from montchr/rewrites-assets
reduce specificity in activation assets rewrites
2013-08-11 10:07:44 -07:00
Scott Walkinshaw
8d97cf862e Merge pull request #837 from zareh777/master
persian language
2013-08-11 10:05:39 -07:00
zareh777
ee41b74766 persian language
persian language
2013-08-11 14:17:08 +04:30
Bryce Tymrick
a99ff32e74 Added grunt-imageoptim task 2013-08-10 22:08:05 -06:00
Ben Word
cc888077f2 Merge pull request #824 from lautreamont3/master
Serbian Translation 1.1 (update)
2013-08-10 07:53:12 -07:00
lautreamont3
14ab6f2774 Add translation to list 2013-08-07 20:57:38 +02:00
Chris Montgomery
dfc566203f reduce specificity in activation assets rewrites
Allows for easier customization of assets directory without needing to add new rewrite rules for each new directory.
2013-08-06 09:54:23 -04:00
lautreamont3
6ad470cc97 Merge remote-tracking branch 'upstream/master' 2013-08-03 03:57:39 +02:00
lautreamont3
a4d801bc6e new sr_RS.pot and sr_RS.mo 2013-08-02 17:10:56 +02:00
lautreamont3
9377d91c4a delete sr_sr.pot sr_rs.mo 2013-08-02 17:06:33 +02:00
lautreamont3
d1daf9481b Serbian Translation 1.1
updated text and change filename to sr_RS
2013-08-02 17:00:43 +02:00
Scott Walkinshaw
8f5df2ee8f Merge pull request #822 from Foxaii/search-fix-3.6
Search form support for WordPress 3.6+
2013-08-01 17:02:09 -07:00
Foxaii
c319801ad4 Update searchform and meta templates 2013-08-02 00:56:51 +01:00
Foxaii
61f2296a75 Search form support for WordPress 3.6+ 2013-08-01 22:59:37 +01:00
Ben Word
16aad5478c Merge pull request #820 from Foxaii/gallery-bs3
Update Gallery to BS3
2013-07-31 07:41:57 -07:00
Foxaii
f10271ff0a Update Gallery to BS3 2013-07-31 03:18:38 +01:00
Ben Word
70b27b81c5 Bootstrap 3 RC1 2013-07-28 12:32:45 -05:00
Ben Word
7f9a6c79ba Merge pull request #818 from Foxaii/BS3
Bootstrap 3 RC1
2013-07-28 10:17:12 -07:00
Ben Word
d85dcf5760 Update CHANGELOG 2013-07-28 12:16:12 -05:00
Ben Word
3e6e52b9b5 Use same sizes for small grid 2013-07-28 12:03:57 -05:00
Ben Word
34696d2a80 Clean up top navbar markup 2013-07-28 11:52:42 -05:00
Ben Word
f303996666 Add btn-default class to search submit 2013-07-28 11:51:24 -05:00
Ben Word
d9315af7c6 Remove comment about old BS2 responsive CSS file 2013-07-28 11:48:54 -05:00
Ben Word
3765fdf0a4 Comment form markup 2013-07-28 11:48:04 -05:00
Foxaii
cd20e417d2 Library changes 2013-07-28 13:23:38 +01:00
Foxaii
3bde5dbf77 BS3 markup for templates 2013-07-28 13:21:50 +01:00
Foxaii
e00a7251de Update JS, CSS, remove glyphicons 2013-07-28 13:18:45 +01:00
Foxaii
e40d6e0c75 Update LESS 2013-07-28 13:15:24 +01:00
Ben Word
941c92126c Merge pull request #815 from leoj3n/jquery-1.10.2
jquery-1.10.2
2013-07-24 08:11:46 -07:00
Joel Kuzmarski
81447be8db fix #814: jquery-1.10.1 remove, jquery-1.10.2 add 2013-07-23 23:20:14 -05:00
Ben Word
49c6b3460f Merge pull request #811 from singlow/grunt
update grunt-contrib-clean to 0.5.x
2013-07-17 14:37:38 -07:00
Jacob Williams
cd8e902032 update grunt-contrib-clean to 0.5.x
Version 0.4.x doesn't seem to work with grunt 0.4.1
2013-07-16 16:01:43 -05:00
Ben Word
2f03e92a9e Merge pull request #806 from hariadi/ms_MY
Update malay translation
2013-07-07 11:35:28 -07:00
Hariadi Hinta
704a541752 Update malay translation #740 2013-07-08 02:04:12 +08:00
Scott Walkinshaw
1279023bc2 Merge pull request #805 from remyvv/master
Fixed broken sidebar_path function
2013-07-06 10:52:36 -07:00
remyvv
be62fcf61d Fixed broken sidebar_path function 2013-07-06 19:42:16 +02:00
Ben Word
ff6c287371 Merge pull request #801 from Foxaii/wrapper
Rework Roots_Wrapping class
2013-07-06 09:25:21 -07:00
Ben Word
27a44d14af Merge pull request #804 from leoj3n/topic.walker
fixes #799
2013-07-06 09:25:08 -07:00
Ben Word
88f3ca4677 Merge pull request #802 from zensimilia/translation
Update translation
2013-07-06 09:24:56 -07:00
Joel Kuzmarski
84ea1b51dc fixes #799 2013-07-06 07:18:32 -05:00
Di M Dub
beaceb3d9f Update russian translation 2013-07-05 01:56:56 +04:00
Di M Dub
68b36d0aea Add translation to outdated browser alert 2013-07-05 01:56:23 +04:00
Foxaii
78eab9c702 Rework Roots_Wrapping class
Apply the wrapper to any template by creating a new instance.
2013-07-04 17:01:29 +01:00
Scott Walkinshaw
428141ce73 Merge pull request #800 from zensimilia/translation
Updated POT file
2013-07-03 14:02:23 -07:00
Di M Dub
2ee1fb93ac Updated POT file 2013-07-04 00:50:11 +04:00
Ben Word
206e8642d8 Add link to newsletter subscription page 2013-07-03 15:07:58 -05:00
Ben Word
e793a71a53 Merge pull request #795 from zensimilia/master
Update Russian translation
2013-06-30 16:59:50 -07:00
Di M Dub
93b2000bb9 Updated russian translation. 2013-07-01 03:33:49 +04:00
Ben Word
287c374480 Fix #793 - Remove Chome Frame from outdated browser alert
Match the latest update from HTML5 Boilerplate
02713eedd2
2013-06-30 11:34:52 -05:00
Ben Word
fe6183bd65 Merge pull request #792 from ssteinerx/patch-1
Corrected reference to 'utils.php', actual code is in 'wrapper.php', add...
2013-06-28 08:21:30 -07:00
Steve Steiner
0408cf62ab Corrected reference to 'utils.php', actual code is in 'wrapper.php', added location info for 'base.php' 2013-06-28 10:10:00 -04:00
Ben Word
59c1e86c27 'Primary Sidebar' -> 'Primary' 2013-06-23 12:26:57 -05:00
Ben Word
c89a994c92 Update comments 2013-06-23 12:25:52 -05:00
Ben Word
c444314d67 Close #789 - Don't automatically enqueue style.css for child themes 2013-06-23 12:24:02 -05:00
Ben Word
a54c43d880 Move page titles into separate file 2013-06-23 12:22:32 -05:00
Ben Word
893244bbd3 Move gallery shortcode into separate file 2013-06-23 12:19:49 -05:00
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
ccb79488c9 Move helper constants to config.php 2013-06-23 12:13:15 -05:00
Ben Word
7c13142f96 Merge pull request #787 from Foxaii/gallery_shortcode_fix
Gallery Shortcode Fix
2013-06-15 13:10:15 -07:00
Foxaii
c08712c720 Gallery Shortcode Fix
A quick fix for http://core.trac.wordpress.org/ticket/23298
N.B. images now link to the file as default
2013-06-15 20:39:23 +02:00
Ben Word
273c2e3f72 Merge master 2013-06-10 12:51:39 -05:00
Ben Word
4cd6cea04d Match outdated browser alert with H5BP 2013-06-04 17:15:24 -05:00
Ben Word
db13eaddaa Change media directory to /media/ 2013-06-03 17:58:56 -05:00
Ben Word
ddb5b7c2bf Update CHANGELOG 2013-06-03 17:55:12 -05:00
Ben Word
05fabcd512 Close #766 - Update to Bootstrap 2.3.2 2013-06-03 17:53:35 -05:00
Ben Word
66ac187564 Close #758 - Update to Google Universal Analytics 2013-06-03 17:44:16 -05:00
Ben Word
72a9ffa305 Merge pull request #780 from Fouppy/fouppy/update
Update to jQuery 1.10.1
2013-06-03 08:33:55 -07:00
Fouppy
5b662cdeed Update to jQuery 1.10.1 2013-05-31 16:14:18 +02:00
Ben Word
7f2e6a33b7 Merge pull request #779 from Foxaii/author_archiv
Show author display name in author archive
2013-05-30 16:23:42 -07:00
Ben Word
b466a8861b Merge pull request #775 from lautreamont3/master
Serbian translation
2013-05-30 16:23:27 -07:00
Foxaii
bc80370953 Show author display name in author archive. 2013-05-26 23:39:33 +02:00
lautreamont3
52edfcfcae Serbian translation
Serbian translation of Roots theme with Cyrillic and Latin scripts
(latin with KimmoSuominen srlatin plugin from wordpress-sr-sr version).
2013-05-25 02:32:16 +02:00
Ben Word
f0f2d6b2bd Google Videos has been shut down for a while 2013-05-24 13:11:33 -05:00
Ben Word
6f1aca2b84 Remove post tags from templates 2013-05-24 13:07:55 -05:00
Ben Word
5fd83abb5d Remove TinyMCE valid elements tweaks (no longer necessary) 2013-05-24 12:58:49 -05:00
Ben Word
01617bb077 Remove additional widget classes 2013-05-24 12:50:47 -05:00
Ben Word
4c5c8ef3c3 Merge pull request #771 from gruvii/patch-1
Add roots_display_sidebar filter
2013-05-23 08:25:30 -07:00
Mark Figueredo
9fbecfc2c6 Removed extra space before apply filters 2013-05-23 12:06:42 -03:00
Ben Word
ef06f8a654 Merge pull request #763 from louisremi/preserve_media
Only display media if it is meaningful
2013-05-22 16:04:09 -07:00
Mark Figueredo
7ff73d0f6b Add roots_display_sidebar filter
Add filter to sidebar display to have the ability to change when it is displayed in child themes and other circumstances.

https://github.com/retlehs/roots/issues/767
2013-05-22 15:29:53 -03:00
Ben Word
e506262602 Update CHANGELOG 2013-05-21 20:12:30 -05:00
Ben Word
05a9741653 /assets/css/less/ -> /assets/less/ 2013-05-21 20:10:38 -05:00
Ben Word
530b0731f6 /assets/css/less/ -> /assets/less/ 2013-05-21 20:06:57 -05:00
Louis-Rémi Babé
de206a2cf7 Only display media if it is meaningful 2013-05-14 20:06:33 +03:00
Louis-Rémi Babé
ecfaefd751 Never remove media attribute on link tags 2013-05-14 19:02:09 +03:00
Ben Word
2b0e5f5420 Merge pull request #757 from Foxaii/wrapper_filter
Wrapper Templates Filter
2013-05-13 09:50:58 -07:00
Foxaii
06f424d371 Renamed Wrapper Templates Filter 2013-05-13 18:44:14 +02:00
Ben Word
b50b438465 Merge pull request #755 from leoj3n/topic.reorganize
reorganize init defines
2013-05-13 09:21:52 -07:00
Ben Word
dc4847951b Merge pull request #759 from hariadi/update-ms_MY
Update Malay language.
2013-05-13 09:06:50 -07:00
Hariadi Hinta
25005f3c22 Update Malay language. 2013-05-13 13:47:08 +08:00
Foxaii
f006dd2087 Wrapper Templates Filter
Allows manual control over the base and sidebar templates being used.
2013-05-11 18:53:11 +02:00
Ben Word
5e0b0a263e Add version task to LESS updates 2013-05-10 15:19:28 -05:00
Ben Word
f0016fccbb Merge branch 'master' into grunt 2013-05-10 15:17:43 -05:00
Joel Kuczmarski
9c183bb7f4 reorganize init defines 2013-05-09 19:22:03 -05:00
Scott Walkinshaw
9ac6bc698e Use SERVER_NAME to avoid parsing site_url()
site_url() was previously retrieved and parsed many times per page
before. This is cleaner and done for optimization purposes.
2013-05-09 17:04:26 -04:00
Ben Word
93037bed24 Merge branch 'master' into grunt 2013-05-08 20:32:28 -05:00
Scott Walkinshaw
679fe6829c Fix CHANGELOG entry 2013-05-08 17:04:50 -04:00
Scott Walkinshaw
af05cffbe8 Merge pull request #754 from retlehs/external_urls_fix
Only make URLs relative if its not external
2013-05-08 14:03:05 -07:00
Scott Walkinshaw
d611a219a5 Only make URLs relative if its not external 2013-05-08 17:02:53 -04:00
Ben Word
5af746fe35 Merge pull request #751 from Fouppy/dev/fouppy/bug/1
Assets redirection on multisite
2013-05-06 11:01:42 -07:00
Fouppy
fba4b0cc5b Assets redirection on multisite 2013-05-04 19:08:54 +02:00
Ben Word
01a4e07749 Roots 6.4.0 2013-05-01 18:03:48 -05:00
Ben Word
8f40f40ba6 Merge branch 'master' into grunt 2013-05-01 18:02:00 -05:00
Ben Word
3dab3d05dc Roots 6.4.0 2013-05-01 18:01:45 -05:00
Ben Word
31fbc92a0c Add new logo by Jens Windolf
http://www.jenswindolf.de/
2013-05-01 17:36:05 -05:00
Scott Walkinshaw
34ec6f27b1 Merge pull request #750 from retlehs/fix_activation
Fix activation page
2013-05-01 15:33:01 -07:00
Scott Walkinshaw
ed5ff26e0a Fixes #697 - Cleanup activation 2013-05-01 18:32:33 -04:00
Ben Word
a8c543753a Fix clean URL issues with non-standard setups 2013-05-01 15:51:59 -05:00
Ben Word
ec94cfb2f5 Make sure rewrites are added to .htaccess immediately after activation 2013-05-01 11:05:23 -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
df0329f8d0 Update to latest H5BP htaccess 2013-04-30 21:13:06 -05:00
Ben Word
aa0311741d Accidentally removed with be2e203cc5 2013-04-30 21:07:30 -05:00
Ben Word
553dc1cfb7 Rename page-custom.php to template-custom.php 2013-04-30 20:51:18 -05:00
Ben Word
5f7073ca69 Merge pull request #745 from patrickocoffeyo/grunt
Add uglify and version to watch
2013-04-16 13:34:25 -07:00
Patrick Coffey
68fbecc6f8 Add uglify and version to watch 2013-04-16 14:52:07 -05:00
Ben Word
f0db29b387 Merge pull request #742 from leoj3n/patch-1
Re-Add Comment ID
2013-04-14 08:20:56 -07:00
Joel Kuzmarski
1df09d4852 Re-Add Comment ID
ooops
2013-04-14 02:13:27 -05:00
Ben Word
bc7e35ff8e Merge pull request #740 from hariadi/ms_MY
Added Malay language translation (ms_MY)
2013-04-12 13:30:44 -07:00
Hariadi Hinta
3f1b8687d7 Added Malay language translation (ms_MY) 2013-04-11 15:25:47 +08:00
Ben Word
e65705553b Merge pull request #739 from royduin/master
Update Dutch translation
2013-04-10 08:37:44 -07:00
Roy
2a3b18be16 Updated the Dutch translation 2013-04-10 17:34:19 +02:00
Ben Word
39e8797980 Merge branch 'master' into grunt 2013-04-10 10:15:45 -05:00
Ben Word
d0df0da472 Update CHANGELOG 2013-04-10 10:15:27 -05:00
Ben Word
a3801f7a2a Remove tabs that were added during contributions 2013-04-10 10:08:38 -05:00
royduin
11c513d146 Update nl_NL.po 2013-04-10 13:28:37 +03:00
Ben Word
1d7e99fdc8 Merge pull request #727 from amsross/master
is_dropdown can evaluate to true even if depth is not specified in wp_nav_menu() arguments
2013-04-04 18:00:35 -07:00
Matt Ross
6b988418cb Spacing adjustments 2013-04-04 21:48:08 -03:00
Ben Word
5afbd11833 Update roots.pot 2013-04-04 17:21:29 -05:00
Ben Word
6d73bd8a15 Merge pull request #730 from Foxaii/master
Added missing collapse class.
2013-04-04 15:13:27 -07:00
Scott Walkinshaw
59c7d06942 Merge pull request #731 from tomdxw/feature/htaccess-warning
Don't warn about unwritable htaccess if that option is disabled
2013-04-04 13:08:23 -07:00
Tom Adams
72958cbaaf Don't warn about unwritable htaccess if that option is disabled 2013-04-04 15:55:35 -04:00
Foxaii
47763e95bb Added missing collapse class.
The collapsed navbar does not increase height to accomodate dropdowns without it.
2013-04-03 01:18:53 +02:00
Ben Word
c4e07a8a5f Merge pull request #718 from leoj3n/topic.comment_template
add comment template
2013-03-29 14:00:44 -07:00
Joel Kuczmarski
37e5423b77 add comment template 2013-03-29 15:46:58 -05:00
Matt Ross
06c03489bb changed is_dropdown evaluation
is_dropdown can evaluate to true even if max_depth is 0. This is the WordPress default and implies that dropdowns are enabled.
2013-03-28 22:47:17 -03:00
Ben Word
b6e4e92278 Fix #720 - Re-organize archives template
- Move posts exists check and post navigation to index.php

- templates/content.php now only contains the post that's pulled
in from index.php

- Specific post format templates now properly work
2013-03-24 17:07:23 -05:00
Ben Word
35f5c5b6b8 Fix #722 - Add comment ID 2013-03-24 16:40:45 -05:00
Ben Word
a7221902c5 Merge pull request #714 from sfradel/b6b755b2bfa540700123b4aaa479eb9c0ea67849
Comment rendering fix
2013-03-24 14:30:30 -07:00
Ben Word
5e2640ee1f Merge pull request #717 from ntwb/BumpGrunt
Bump grunt branch versions to 6.3
2013-03-20 13:57:01 -07:00
Stephen Edgar
ff74657a98 Bump grunt branch versions to 6.3 2013-03-20 11:59:09 +11:00
Ben Word
0acc7f3813 hNews consistency 2013-03-17 19:02:03 -05:00
Ben Word
dba3e55e3c Merge branch 'master' into grunt 2013-03-17 18:57:43 -05:00
Ben Word
9fc2eb7f2f Add wp_title() filter 2013-03-17 18:56:23 -05:00
sfradel
b6b755b2bf div class="media-body" nesting fix 2013-03-16 10:42:59 +02:00
Ben Word
c3e7861705 Merge pull request #707 from kara-todd/master
Navbar items break if the menu depth is set to exclude children
2013-03-10 14:28:24 -07:00
Ben Word
30c69e4aa2 Merge pull request #709 from weslly/master
Updated pt-br translation
2013-03-10 10:52:51 -07:00
Weslly Honorato
b46226496b Updated pt-br translation 2013-03-09 22:27:38 -03:00
kara-todd
302579705d Fix for navbar dropdowns
Navbar items with children broke if the menu depth excluded the children.
Such as: wp_nav_menu(array('depth' => 1)) where 2nd level children exist
2013-03-08 14:01:14 -05:00
Ben Word
44dd8f120b Merge pull request #706 from singlow/rewrite-docs-plugin-php-file-fix
Add instructions to Nginx rewrite config
2013-03-08 10:43:28 -08:00
Jacob Williams
f4dae32bdc Add instructions to Nginx rewrite config
Prevent problems when plugins include direct-access php files.
2013-03-06 12:19:39 -06:00
Ben Word
3bd541a074 Merge pull request #704 from Foxaii/master
Add jQuery CDN to theme features
2013-03-06 09:31:52 -08:00
Foxaii
6298ec18c7 Add jQuery CDN to theme features. 2013-03-06 17:23:43 +00:00
Foxaii
b7cd04899d Add jQuery CDN to theme features. 2013-03-06 17:19:57 +00:00
Ben Word
545b125092 Merge branch 'master' into grunt 2013-03-04 21:59:38 -06:00
Jonathan Stanley
33a9c7cd50 correct logic in roots_enable_root_relative_urls 2013-03-04 21:57:36 -06:00
sfradel
86fd8e8d43 Added Greek language translation 2013-03-04 21:52:47 -06:00
Ben Word
838bea1402 Merge master 2013-03-04 21:30:25 -06:00
Ben Word
ac8d15b509 Ref #699 - Update to Bootstrap 2.3.1 2013-03-04 21:27:30 -06:00
Ben Word
b7dd06418f Simplify wp_title()
We recommend you use the WordPress SEO plugin for <title> management
2013-03-04 21:23:01 -06:00
Ben Word
947b4a1cb9 Merge pull request #696 from vdrnn/grunt
Fix typo
2013-03-03 10:29:22 -08:00
Vedran Zgela
dfc5063d81 Fixes typo 2013-03-02 00:32:58 +01:00
Scott Walkinshaw
452a2f34eb Merge pull request #695 from sumkincpp/master
Updated russian translation
2013-03-01 09:27:53 -08:00
Fedor Sumkin
6ea90f2754 updated russian translation 2013-03-01 21:19:57 +04:00
Ben Word
421438456e Fix names for enqueued CSS/JS 2013-02-28 19:32:56 -06:00
Ben Word
68f41bd77d Merge pull request #694 from adam-lynch/patch-2
Update lib/h5bp-htaccess
2013-02-28 15:11:53 -08:00
Adam Lynch
7d37b88562 Update lib/h5bp-htaccess
Removed redundant duplication comment. Just a tiny a tiny thing
2013-02-24 00:59:11 +01:00
Ben Word
678b18b820 Merge pull request #692 from kevva/grunt
Add support for grunt 0.4.0
2013-02-22 12:12:59 -08:00
Kevin Martensson
b7d9f187aa Add support for grunt 0.4.0 2013-02-22 20:17:48 +01:00
Ben Word
cc6d4eba30 Merge branch 'master' into grunt 2013-02-22 09:49:29 -06:00
Ben Word
43f44a4f01 Merge pull request #691 from damianregan/relativeurls
Fix for admin bar
2013-02-22 07:49:06 -08:00
Ben Word
315ab1ba80 Merge branch 'master' into grunt 2013-02-22 09:36:04 -06:00
Damian Regan
9a31a94b58 Fix for admin bar 2013-02-22 09:49:46 +00:00
Ben Word
cbd740031f Merge pull request #688 from damianregan/relativeurls
Relative URL fixes
2013-02-21 12:10:11 -08:00
Damian Regan
ec87eabbaf Fix (hack) for subdir installs 2013-02-21 19:39:36 +00:00
Damian Regan
78031a9ffe added conditional 2013-02-21 18:06:34 +00:00
Damian Regan
e69ceeea1f comment 2013-02-21 16:57:10 +00:00
Damian Regan
a398c298c3 Root relative URLs 2013-02-21 16:53:09 +00:00
Ben Word
32e5560395 Merge pull request #687 from ShutterBrandon/patch-1
Update doc/usage.md
2013-02-17 17:45:43 -08:00
Brandon Shutter
813f52bda6 Update doc/usage.md
HTML5 Boilerplate documentation link was incorrect.
2013-02-17 19:32:28 -06:00
Ben Word
260fc4c353 Comments clean up, consistent formatting 2013-02-15 12:13:18 -06:00
Ben Word
9a72a57b96 Merge branch 'master' into grunt 2013-02-15 11:00:26 -06:00
Ben Word
601d66f9a1 Update CHANGELOG with changes since 6.3.0 2013-02-15 11:00:08 -06:00
Casper Klenz-Kitenge
f0af91d740 Update danish lang files 2013-02-15 10:46:13 -06:00
Ben Word
87a561241c Update editor-style.css
- Bring in latest Bootstrap changes

- Add instructions on how to update the file
2013-02-14 14:43:48 -06:00
Ben Word
8bb57d3cf8 Simplify alerts 2013-02-12 15:34:05 -06:00
Ben Word
129be210c6 Add section about grunt to README 2013-02-12 15:09:16 -06:00
Ben Word
6b19c3a5ae Remove disabled post nav links 2013-02-12 14:54:14 -06:00
Ben Word
f5b24ba2d0 Ref #652 - Add installation/config info to docs TOC 2013-02-12 11:53:46 -06:00
Ben Word
2fb3d3f391 Merge pull request #683 from retlehs/bs_media_object_comments
Use Bootstrap media object for listing comments
2013-02-12 08:12:08 -08: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
90138a4646 Merge pull request #681 from netboy/master
Update Polish translation
2013-02-11 14:30:59 -08:00
Ben Word
61a3665fc3 Remove WP Super Cache, add Soil to Recommended Plugins
Recommend only W3TC instead of both W3TC and Super Cache since it
could be confusing:

https://groups.google.com/forum/?fromgroups=#!topic/roots-theme/nOfLGhq90Ow
2013-02-11 16:07:47 -06:00
netboy
a9520061ed Updated polish translation 2013-02-11 22:58:44 +01:00
Ben Word
7b7aeb86c8 Update README 2013-02-11 14:53:00 -06:00
Ben Word
596a0a7304 Update contributing guidelines 2013-02-11 14:30:08 -06:00
Ben Word
1a7017c1a7 Close #680 - Move Google Analytics to scripts.php 2013-02-10 19:35:43 -06:00
Ben Word
8ba19a0155 Static top navbar instead of fixed
This change allows us to simplify the code in both
app.css and cleanup.php
2013-02-09 17:41:45 -06:00
Ben Word
768865cf38 Roots 6.3.0 2013-02-08 10:13:55 -06:00
Ben Word
135aded63f Merge branch 'master' into grunt 2013-02-08 10:11:02 -06:00
Ben Word
3875728c32 Roots 6.3.0 2013-02-08 10:10:43 -06:00
Ben Word
d11b6ab363 Update to Bootstrap 2.3.0 2013-02-08 10:07:59 -06:00
Ben Word
031cd6d856 Update to Bootstrap 2.3.0 2013-02-08 10:04:38 -06:00
Ben Word
9f5169fac4 Merge branch 'master' into grunt 2013-02-08 09:59:45 -06:00
Ben Word
f9ff9f10ac Update CHANGELOG 2013-02-08 09:54:00 -06:00
Ben Word
bc52a4e09b Close #670 - Update to jQuery 1.9.1 2013-02-08 09:47:08 -06:00
Ben Word
4093095dc7 Fix #677 - Output author title with get_the_author 2013-02-08 09:29:57 -06:00
Ben Word
271a3f5921 Add EditorConfig 2013-02-08 09:18:02 -06:00
Ben Word
10cf6b0a64 Update 404 template based on H5BP 2013-02-07 15:30:36 -06:00
Ben Word
be2e203cc5 Update included H5BP .htaccess
- Add latest updates from H5BP

- Remove various parts that were previously commented out
2013-02-07 14:54:06 -06:00
Ben Word
8128bfda4c Don't show comments on passworded posts 2013-02-06 15:45:41 -06:00
Ben Word
714982fa42 Fix #639 - Add do_action('get_header') 2013-02-06 14:30:39 -06:00
Ben Word
f07454b09e Simplify entry meta 2013-02-06 11:40:48 -06:00
Ben Word
6a361846e0 Merge pull request #671 from disusered/roots-granular-watch
Organize grunt watch
2013-02-05 14:22:55 -08:00
Ben Word
85890038cb Merge pull request #672 from tomdxw/fix-search-form-bug
Allow get_search_form() to be called more than once per request
2013-02-05 14:20:07 -08:00
Ben Word
2dc7024497 Merge master 2013-02-05 16:13:43 -06:00
Ben Word
6354758ad4 Change JS ordering
- Load jQuery before Modernizr so that the fallback method will
always be applied immediately after jQuery. If a script is
enqueued in the footer after jQuery, then the fallback shows up
in the footer. Modernizr will always be in the head so this
issue won't occur.

- Move plugins.js and main.js to footer

jQuery is still kept in the head to avoid conflicts with plugins
2013-02-05 16:10:19 -06:00
Tom Adams
43a0f3c24f Allow get_search_form() to be called more than once per request 2013-02-05 16:33:40 -05:00
Carlos Rosquillas
5defccb529 Use path wildcard for Less watcher 2013-02-05 12:01:40 -08:00
Carlos Rosquillas
acf0b7e554 More granular watch 2013-02-04 21:56:50 -08:00
Ben Word
d05220eb04 Merge master 2013-02-04 22:35:15 -06:00
Ben Word
eb9f9896a4 Update comment about jQuery 2013-02-04 22:30:48 -06:00
Ben Word
6e73031346 Merge pull request #668 from redfrost/master
Update Korean translation
2013-02-04 20:20:57 -08:00
Ben Word
56f25ff00a JavaScript clean up
- Modernizr is now enqueued and included after stylesheets

- jQuery is no longer hardcoded since WP now supports protocol-relative
URLs

- jQuery fallback output is handled by a new function in lib/scripts.php
(the method is still the same one from HTML5 Boilerplate)
2013-02-04 22:16:31 -06:00
Redfrost
02dafe6522 Update Korean Translation 2013-02-05 16:53:31 +13:00
Ben Word
5b9b7c64f1 Updated Macedonian translation (thx @maced0n) 2013-02-04 20:16:47 -06:00
Ben Word
cbbb23f1b9 Remove conditional feed in head.php
Since most sites will have a blog, simply remove the feed link if
you don't want to include it.
2013-02-04 20:12:07 -06:00
Ben Word
9042be77fa Introduce add_theme_support('bootstrap-gallery')
Only apply the Roots [gallery] shortcode if enabled in config.php
2013-02-04 20:11:00 -06:00
Ben Word
d9461cdd31 config.php organization 2013-02-04 20:04:00 -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
df6a72e839 Merge pull request #664 from fingli/upstream
Update Bulgarian translation
2013-02-04 07:34:56 -08:00
Ben Word
6081d9fa6e Merge pull request #666 from karalamalar/master
Turkish translation updated
2013-02-04 07:34:15 -08:00
Emre Erkan
ec55a6afc5 Turkish translation updated 2013-02-04 14:39:17 +02:00
fingli
241a79dd30 Update Bulgarian l10n 2013-02-03 22:31:41 +02:00
fingli
8b1273919c Update Bulgarian l10n
Several new strings are added
2013-02-03 22:26:36 +02:00
Ben Word
3adf929efa Merge pull request #661 from LeoColomb/master
Updated French translation
2013-02-03 10:49:12 -08:00
LeoColomb
52eee212ef Plural-Forms Fix - French 2013-02-02 16:59:11 +01:00
Ben Word
7bc5c285f5 Generate new roots.pot with makepot.php
See http://codex.wordpress.org/I18n_for_WordPress_Developers#Generating_a_POT_file

See #659
2013-02-01 15:26:39 -06:00
Ben Word
af3e95080e Merge pull request #657 from petermartin/patch-1
Add backslash to add_editor_style
2013-01-31 09:59:16 -08:00
Ben Word
6a9cb5f2c3 Use relative paths in README and docs TOC
https://github.com/blog/1395-relative-links-in-markup-files
2013-01-31 11:54:47 -06:00
petermartin
51ba28379b Added backslash to add_editor_style
Editor style css wasn't being applied for me until adding the backslash.
2013-01-31 12:13:21 -05:00
Ben Word
f66db56d3e Merge pull request #655 from LeoColomb/master
Update French translation
2013-01-29 07:17:34 -08:00
LeoColomb
454d48c122 French Translation 2013-01-29 12:42:30 +01:00
Ben Word
433ad26e4d Close #638 - Add add_theme_support for Nice Search 2013-01-27 20:42:40 -06:00
Ben Word
edfb82618a Close #645 - Fix for search with no result 2013-01-27 20:37:20 -06:00
Ben Word
17c2dfa691 Close #646 - Replace ID's with classes 2013-01-27 20:32:57 -06:00
Scott Walkinshaw
52064b609d Merge pull request #650 from retlehs/dynamic_sidebars
Dynamic Sidebars
2013-01-23 19:15:27 -08:00
Scott Walkinshaw
429cd0b3be Update CHANGELOG 2013-01-23 15:52:10 -05:00
Scott Walkinshaw
f6f86aa268 Replace sidebar template call with path function 2013-01-23 15:44:21 -05:00
Scott Walkinshaw
0abc07d11c Add dynamic sidebars to template wrapper 2013-01-23 15:43:31 -05:00
Ben Word
1724452e35 Fix #643 - Fix PHP notice on search with no results 2013-01-20 15:21:04 -06:00
Ben Word
af7759d1fd Update Roots version in package.json 2013-01-15 17:19:35 -06:00
Ben Word
40058a230b Update to jQuery 1.9.0 2013-01-15 12:23:43 -06:00
Ben Word
2ed9738afd Close #635 - Update to jQuery 1.9.0 2013-01-15 12:22:21 -06:00
Ben Word
979df4e2dd Merge branch 'master' into grunt 2013-01-13 15:30:22 -06:00
Ben Word
3b0bb0d5d8 Roots 6.2.0 2013-01-13 15:30:04 -06:00
Ben Word
cf355c6032 Remove year from copyright 2013-01-13 15:24:16 -06:00
Ben Word
69d05bdfe2 Merge pull request #628 from redfrost/master
Add Korean Translation
2013-01-08 15:17:43 -08:00
Redfrost
c07a11985e Add Korean Translation
Translated and fully tested.
2013-01-05 19:47:28 +13:00
Ben Word
9853474705 Merge pull request #627 from novrian/master
Add Indonesian Translation
2013-01-01 11:14:50 -08:00
Novrian Y.F
87fdb19b6b Adding Indonesian gettext Translation 2012-12-31 11:47:07 +08:00
Scott Walkinshaw
aa8d428016 Merge pull request #619 from leoj3n/suggestion.title_function
move template title to function
2012-12-26 15:23:46 -08:00
Ben Word
a139878fcd Merge pull request #622 from yuanl/master
Add Simplified Chinese
2012-12-26 09:42:18 -08:00
Ben Word
6ae15813aa Implement latest Nice Search 2012-12-26 11:36:35 -06:00
Ben Word
8000e5c611 Update [gallery] shortcode
- Roll in changes added from WordPress 3.5

- More minimal code output
2012-12-26 11:22:28 -06:00
YuanL.Lee
7fa8673b78 add Simplified Chinese translation. base on the traditional chinese translation by Chih-Wei Lee. 2012-12-21 15:09:22 +08:00
Joel Kuczmarski
1f1b45b5f3 reformat roots_title syntax again 2012-12-12 21:07:25 -06:00
Joel Kuczmarski
319c485976 reformat roots_title syntax 2012-12-12 21:01:55 -06:00
Joel Kuczmarski
3bfea0daf4 move template title to function 2012-12-12 20:20:49 -06:00
Ben Word
906744589d Merge master 2012-12-11 16:19:08 -06:00
Ben Word
e3f7365ec6 Update to Bootstrap 2.2.2 - Close #616 2012-12-10 17:37:46 -06:00
Ben Word
68e2a613be Merge pull request #593 from clarkbw/search_value_preserved
Preserve the search query in the search input
2012-12-06 09:52:17 -08:00
Ben Word
18daddee74 Merge branch 'master' of https://github.com/retlehs/roots 2012-12-06 11:49:04 -06:00
Ben Word
31d58cb938 Update to jQuery 1.8.3 2012-12-06 11:47:49 -06:00
Ben Word
18fcbd06e4 Merge pull request #604 from Foxaii/master
Move Posts/Comments Pager to Unordered List
2012-12-02 09:58:54 -08:00
Ben Word
f7128c6836 Merge branch 'master' of https://github.com/Foxaii/roots 2012-12-02 11:55:57 -06:00
Ben Word
80ffa5bfd2 Merge pull request #609 from dlackty/zh_TW
Add Traditional Chinese translations
2012-11-29 10:37:03 -08:00
Chih-Wei Lee
098ca07f26 Add zh_TW localization files. 2012-11-29 18:13:32 +08:00
Scott Walkinshaw
4183060c6f Merge pull request #606 from paulyoder/grunt
Merged changes in 'master' branch to 'grunt' branch
2012-11-22 18:03:35 -08:00
Foxaii
4d64cbebd6 Prettier code is consistent. 2012-11-22 23:30:50 +00:00
Foxaii
4f1395aba7 Code is prettier when consistent. 2012-11-22 23:28:45 +00:00
Paul Yoder
e0b68ce649 Merge branch 'master' into grunt 2012-11-22 05:51:56 -06:00
Foxaii
dc1f2cedb0 Move comments pager to unordered list. 2012-11-18 21:07:42 +00:00
Foxaii
dee4ddd2de Move posts pager to unordered list. 2012-11-18 21:06:34 +00:00
Ben Word
a9d4cf35dd Replace wiki link with docs link 2012-11-11 11:03:58 -06:00
Ben Word
73bc6993f1 Update editor-style.css, remove margin on body 2012-11-11 11:00:44 -06:00
Scott Walkinshaw
4db03fb63d first_run logically makes sense now 2012-11-05 13:37:26 -07:00
Scott Walkinshaw
658f8318ce Once more 2012-11-05 15:23:35 -05:00
Scott Walkinshaw
f03fbac894 Fix activation first run check 2012-11-05 15:14:06 -05:00
Scott Walkinshaw
81c449b150 Merge pull request #592 from retlehs/activation_cleanup
Activation cleanup
2012-11-05 12:07:18 -08:00
Scott Walkinshaw
f165a26800 Update CHANGELOG 2012-11-05 15:06:56 -05:00
Scott Walkinshaw
d55ce57cbb Fix option name variable 2012-11-05 15:06:45 -05:00
Scott Walkinshaw
2c1fe0b2ef Simplify even more 2012-11-05 15:06:45 -05:00
Scott Walkinshaw
18acf1af0b Yes, this is PHP 2012-11-05 15:06:45 -05:00
Scott Walkinshaw
d36127b147 Refactor activation options validation 2012-11-05 15:06:45 -05:00
Bryan Clark
eca7244b50 Preserve the search query in the search input when the user performs a search.
This allows people to alter the text instead of retyping their query upon re-searching.
2012-11-04 10:47:23 -08:00
Ben Word
81dff4e465 Merge pull request #584 from LeoColomb/master
Update French translation
2012-11-04 09:35:48 -08:00
Ben Word
e6586f94ba Use entry-summary class for excerpts - Closes #589 2012-11-04 11:27:59 -06:00
Ben Word
9a48ccff70 Clean up 26deb029ee 2012-11-02 11:19:46 -05:00
Ben Word
998474f4fc Merge pull request #587 from wilsonwc/master
Fix for compatibility with ubermenu
2012-11-02 08:42:30 -07:00
Ben Word
79bc17f8c7 Merge branch 'master' into grunt 2012-11-02 01:13:16 -05: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
Ben Word
26deb029ee Fix #580 - Menu always gets added & set on activation
Also updated the method of setting the permalink structure
on activation.
2012-11-01 18:23:49 -05:00
Ben Word
ac18e86fe8 Merge master, update to Bootstrap 2.2.1 2012-11-01 09:28:34 -05:00
Ross Wilson
ac6057ecf4 Fix for compatibility with ubermenu
Fix for issue #586
2012-10-31 22:08:01 -06:00
Ben Word
b843a0fee8 Update to Bootstrap 2.2.1 2012-10-31 09:23:46 -05:00
Ben Word
a0549355f1 Update conditional feed method 2012-10-30 19:55:31 -05:00
Ben Word
85b0f59455 Update to Bootstrap v2.2.0 2012-10-30 19:26:59 -05:00
Ben Word
6735edced0 Update to Bootstrap v2.2.0 2012-10-30 18:04:28 -05:00
LeoColomb
cc19b1988b Update French translation
Organisation - Typo - ...
2012-10-24 15:10:29 +02:00
Ben Word
bb1a4cb53b Fix grunt watch Bootstrap LESS directory 2012-10-22 21:55:01 -05:00
Ben Word
ffc62829b9 Merge branch 'master' into grunt 2012-10-22 21:54:18 -05:00
Ben Word
332b990a3d Merge pull request #577 from Foxaii/master
Nav walker support for unset menu
2012-10-17 10:37:50 -07:00
Foxaii
14bf987971 Corrected spacing before pull. 2012-10-16 14:07:10 +02:00
Ben Word
5e8e0e78c1 Update docs for new sidebar exclusion method 2012-10-15 20:26:23 -05:00
Ben Word
826483fb61 Add note about lib/init.php to README 2012-10-15 20:18:54 -05:00
Foxaii
47df2fb3fa Unset menu bugfix. Support for additional classes.
Previous nav walker resulted in an error when no menu is set.
This fix supports supplementary classes i.e. nav-header nav-header-blue. 
N.B. Bootstrap classes (nav-header, divider, divider-vertical) must be added first.
2012-10-15 21:41:51 +02:00
Scott Walkinshaw
20da3cc79a Merge pull request #576 from jloosli/master
Fix bug on roots_fix_duplicate_subfolder_urls
2012-10-11 19:04:07 -07:00
jloosli
a01a1281bb fix roots_fix_duplicate_subfolder_urls isset check
function checked if $matches[1] & $matches[2] were set, but next line operates on $matches[1][0] & $matches[2][0], so under certain circumstances, you get the following Notice: Undefined offset: 0.

Now it checks for the [0] offsets from the start.
2012-10-11 17:18:40 -06:00
Scott Walkinshaw
e0979b7b62 Return instead of echo class names 2012-10-10 16:04:47 -04:00
Scott Walkinshaw
f45f4f5fcb Comment should be consistent 2012-10-03 15:03:20 -04:00
Scott Walkinshaw
a27b194fe6 Allow the sidebar config functions to accepts args 2012-10-03 14:53:30 -04: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
Ben Word
ddea8b597f Add grunt.js build script
- Move Bootstrap LESS files into new subdirectory

- Change app.css to app.less, add @import's to utilize
Bootstrap variables and mixins

- Remove plugins.js and main.js

- Move Bootstrap JS plugins into new subdirectory

- Add new _main.js file with example DOM-based routing
script that works off the WordPress body_class

- lib/scripts.php has been updated to remove all extra
CSS and JS files and also places JavaScript in the footer
2012-10-03 08:32:58 -05:00
Ben Word
15d67295aa Roots 6.1.0 2012-10-02 18:43:44 -05:00
Ben Word
9e9aa92044 Fix #561 - Use TOC.md for documentation TOC 2012-10-02 18:41:19 -05:00
Ben Word
65c13c6ea9 Use PHP Alternative Syntax in header templates 2012-10-02 18:38:01 -05:00
Ben Word
c0f8559cc2 Update .gitignore 2012-10-02 18:35:35 -05:00
Ben Word
bfdd804c73 Add missing semicolons 2012-10-02 18:34:30 -05:00
Ben Word
7e705f4493 Single template now has same tags output as archive 2012-10-02 18:32:51 -05:00
Scott Walkinshaw
f8d2010def Merge pull request #556 from retlehs/sidebar_config
Sidebar config
2012-10-02 12:55:38 -07:00
Scott Walkinshaw
c02f877b59 Fix callback reference 2012-10-02 15:52:31 -04:00
Scott Walkinshaw
7f5eea8c69 Refactor Roots_Sidebar 2012-10-02 15:37:26 -04:00
Scott Walkinshaw
85596e11d0 Clarity over cleverness 2012-10-02 15:20:28 -04:00
Scott Walkinshaw
a7ab3e0307 Minor naming tweak 2012-10-02 15:20:28 -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
33d78b7a0d Merge pull request #558 from retlehs/config_setup_reorg
Re-organize theme configuration and setup
2012-09-26 09:19:00 -07:00
Scott Walkinshaw
af1b44e3dc Better comment regarding $content_width 2012-09-26 12:07:06 -04:00
Scott Walkinshaw
eec11c76b9 Re-order init file 2012-09-21 16:27:33 -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
b2c340da05 Merge pull request #557 from retlehs/jquery-1.8.2
Update to jQuery 1.8.2
2012-09-21 12:57:29 -07:00
Scott Walkinshaw
81d1c8dd9e Update to jQuery 1.8.2 2012-09-21 08:32:07 -06:00
Scott Walkinshaw
671cb95ebc Replace has_posts with built-in have_posts 2012-09-20 12:42:46 -06:00
Scott Walkinshaw
ca582c1aff Be consistent with PHP template tags 2012-09-20 12:40:43 -06:00
Scott Walkinshaw
4fda0a7ddf Merge pull request #555 from retlehs/vcard_refactor
vCard refactor
2012-09-20 10:15:00 -07:00
Scott Walkinshaw
43e66ac2db Update CHANGELOG 2012-09-20 10:41:13 -06:00
Scott Walkinshaw
25d13f4a4d Simplify updating instance 2012-09-20 10:30:48 -06:00
Scott Walkinshaw
0f375836f2 Use PHP5 __construct 2012-09-20 10:30:39 -06:00
Scott Walkinshaw
88f9863cf2 Fix initial display 2012-09-20 10:24:27 -06:00
Scott Walkinshaw
afa059dfa6 DRY up vCard Widget 2012-09-20 00:16:32 -04:00
Scott Walkinshaw
9116c3a69f Merge pull request #554 from retlehs/move_html_into_templates
Move HTML into templates
2012-09-19 13:04:07 -07:00
Scott Walkinshaw
989fb246ba Add note about CONTRIBUTING.md 2012-09-19 16:03:21 -04:00
Scott Walkinshaw
fbd9d591da Fix CHANGELOG 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
a44397aa30 template-tags.php does not exist anymore 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
38a51d06ec Update docs 2012-09-19 16:03:20 -04:00
Scott Walkinshaw
b61a3b0285 Move roots_entry_meta into its own template
No need for this HTML to be in a function. Now instead of calling the
function, just use get_template_part
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
Scott Walkinshaw
e08024b730 Move feed link into template
All HTML should be in the templates whenever possible.
2012-09-19 16:03:20 -04:00
Scott Walkinshaw
b9cb9de4b9 Move is_element_empty function to utils 2012-09-19 14:57:14 -04:00
Scott Walkinshaw
a54850cd44 Formatting 2012-09-19 14:46:06 -04:00
Scott Walkinshaw
c707448a72 Enforce code standards
Correct this is not.
2012-09-18 16:47:46 -03:00
Ben Word
7b510d61f4 Add CONTRIBUTING.md to assist with the new GitHub UI 2012-09-17 22:52:23 -05:00
Ben Word
626b8ca6d9 Update editor-style.css 2012-09-17 22:41:09 -05:00
Ben Word
0b506d42c0 Merge pull request #550 from Foxaii/master
Add nav walker support for CSS dividers and nav-header
2012-09-16 16:51:00 -07:00
Foxaii
c27b9218b4 Corrected spacing. 2012-09-17 01:24:42 +02:00
Foxaii
83b0984eab Support for dividers & nav header classes 2012-09-16 21:45:33 +02:00
Ben Word
81bd8cb73b Roots 6.0.0 2012-09-16 10:20:23 -05:00
Scott Walkinshaw
d3497a7063 Fixes #542 - Simplify nav & add 3rd level dropdown 2012-09-12 12:34:30 -06:00
Ben Word
580d3f26d1 Add jQuery version to wp_register_script 2012-09-06 19:36:44 -05:00
Ben Word
c9e4ef6f2f Add has_nav_menu() check for navigation menus 2012-09-06 19:35:51 -05:00
Ben Word
852004a1f9 Update CHANGELOG 2012-09-04 23:39:56 -05:00
Ben Word
f9959b4da0 Update to Bootstrap 2.1.1, jQuery 1.8.1, Modernizr 2.6.2 2012-09-04 23:34:13 -05:00
Ben Word
8d76195661 Update to Bootstrap 2.1.1, jQuery 1.8.1, Modernizr 2.6.2 2012-09-04 23:33:35 -05:00
Ben Word
7fdb2f07f5 Add new theme documentation 2012-09-03 11:01:29 -05:00
Ben Word
f538aa0116 Cleanup clean up, reorganization 2012-09-03 09:43:38 -05:00
Scott Walkinshaw
141cb513a5 Update Changelog 2012-08-31 16:21:20 -03:00
Scott Walkinshaw
b30a64abda Merge pull request #539 from retlehs/alternative_syntax
Consistent use of PHP alternative syntax
2012-08-31 12:19:24 -07:00
Scott Walkinshaw
96648f0056 Consistent use of PHP alternative syntax 2012-08-31 14:56:29 -04:00
Ben Word
09b236e6bb Merge pull request #535 from limenet/master
Allow dropdowns to have a regular anchor
2012-08-28 19:54:04 -07:00
Ben Word
ed8adf2526 Add License URI 2012-08-28 21:53:29 -05:00
Scott Walkinshaw
765019e3d0 Merge pull request #536 from weslly/master
Re-generate roots.pot and update Brazilian Portuguese translation files
2012-08-28 07:43:42 -07:00
Weslly Honorato
dcde854f17 Re-generate roots.pot file and update Brazilian Portuguese translation files 2012-08-28 11:32:35 -03:00
Linus Metzler
b9cc398396 fixed dropdown bug
when a dropdown parent contains a link itself, a data-target="#" is needed
2012-08-26 22:36:30 +03:00
Linus Metzler
181e9f7a68 Revert "fixed dropdown bug"
This reverts commit c89d68fc7c.
2012-08-26 21:34:10 +02:00
Linus Metzler
c89d68fc7c fixed dropdown bug
Due to updates (jQuery and Bootstrap), dropdowns stopped working because
of missing "data-target" (see
http://twitter.github.com/bootstrap/javascript.html#dropdowns)
2012-08-26 12:39:46 +02:00
Ben Word
4a1129bc73 Keep plugins/ rewrite to root 2012-08-21 09:10:05 -05:00
Ben Word
4a79a6c6c0 Fix #527 - Link to scribu's post on theme wrappers 2012-08-21 08:47:26 -05:00
Ben Word
6e874ec630 Update path to editor-style.css 2012-08-21 08:45:05 -05:00
Ben Word
dc386dd611 Refs #526 - Update to Bootstrap 2.1 2012-08-20 19:51:11 -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
611d4d9f2f Ref #525 - Move css/, img/, and js/ into assets/ 2012-08-20 19:28:36 -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
bf222893b6 Add MIT License 2012-08-18 18:58:14 -05:00
Ben Word
db41099f5b Add theme wrapper, re-organize template files
- Implement scribu’s Theme Wrapper (see base.php)

- Move templates, comments.php, and searchform.php to templates/ folder

- Rename loop- files to content-

- Remove all hooks except roots_head and roots_footer

- Use templates/page-header.php for page titles

- Use head.php for everything in <head>
2012-08-18 18:49:45 -05:00
Ben Word
b54328ce33 Add CHANGELOG 2012-08-18 17:54:36 -05:00
Ben Word
318d66eedc Roots 5.2.0 2012-08-18 17:50:06 -05:00
Ben Word
c8c13f6609 Update to jQuery 1.8.0 and Modernizr 2.6.1 2012-08-18 17:46:17 -05:00
Scott Walkinshaw
d036893b68 Fix #493 - remove duplicate active class in menu 2012-08-15 14:53:17 -04:00
Ben Word
f2699d453b Remove extra single quote, thanks @eriteric 2012-07-29 12:12:28 -05:00
Ben Word
25982f12b3 Add code comments 2012-07-17 19:23:35 -05:00
Ben Word
953c3ba4b3 Update code comments 2012-07-15 21:17:22 -05:00
Ben Word
e132abf21f Update README 2012-07-15 03:30:58 -05:00
Ben Word
eae50e0a77 Merge Roots_Navbar_Nav_Walker into Roots_Nav_Walker 2012-07-15 02:53:10 -05:00
Ben Word
d29fe04a84 Remove unncessary roots_gallery_style()
roots_gallery_style() is no longer needed.
The new filter on use_default_gallery_style() isn't
necessary either, but if the Roots gallery replacement
isn't used then it will remove the additional CSS added
by WordPress galleries.
2012-07-15 02:15:58 -05:00
Ben Word
9316f2687a Remove unnecessary CSS 2012-07-15 01:59:07 -05:00
Ben Word
109c6d1105 Add/update code comments 2012-07-15 01:36:48 -05:00
Ben Word
4bb2b40390 Re-add get_template_directory_uri() to H5BP stylesheet 2012-07-15 01:06:48 -05:00
Ben Word
704ee09f2b Fix #478 - Resolve some clean URL issues, re-open #395 2012-07-15 01:03:18 -05:00
Ben Word
a9598a1b54 Add some comments to the config 2012-07-15 01:01:41 -05:00
Ben Word
8e88ee4d4a Remove WP_POST_REVISIONS definition 2012-07-14 23:51:18 -05:00
Ben Word
abcfc5200a Merge pull request #503 from sanchothefat/master
Menu args filter assumes items_wrap should be unordered list
2012-07-14 06:54:50 -07:00
Robert O'Rourke
19036d9e8e Removed menu walker args filter assumption that the menu will be an unordereed list 2012-07-14 12:42:59 +01:00
Scott Walkinshaw
9784b883a6 Merge pull request #497 from sumkincpp/master
Russian translations
2012-07-09 12:11:54 -07:00
Fedor Sumkin
991feb4fb6 added translation for Russian language 2012-07-09 23:02:49 +04:00
Scott Walkinshaw
2368ac2a32 Merge pull request #494 from haraldringvold/master
Add Norwegian Bokmål translation
2012-07-02 12:26:20 -07:00
Harald Ringvold
c4ab7abdc4 Fix to Norwegian Bokmål translation 2012-07-02 12:14:03 +02:00
Harald Ringvold
64d7cec3fd Added Norwegian Bokmål translation 2012-07-02 12:10:10 +02:00
Scott Walkinshaw
f54a8e203e Merge pull request #489 from Foxaii/master
Allow author to control archive penname from dashboard.
2012-06-21 11:04:25 -07:00
Foxaii
4c9659cbfc Substituted 'user_nicename' with 'display_name' to allow the author to change their penname using the "Display name publicly as" from the profile dashboard. 2012-06-21 19:48:12 +02:00
Scott Walkinshaw
92ae9bcf06 Merge pull request #487 from weslly/master
Fix lowercase reference to $WP_User->ID on roots_entry_meta()
2012-06-19 11:17:56 -07:00
Weslly Honorato
e189a88d22 Fix lowercase reference to $WP_User->ID on roots_entry_meta() 2012-06-19 15:08:01 -03:00
Scott Walkinshaw
e1fade295e Merge pull request #484 from weslly/master
Fix #479 - Use wp_get_theme() to get the theme name on activation
2012-06-17 10:17:23 -07:00
Weslly Honorato
4850e1823a Support only wp 3.4 on activation 2012-06-17 12:30:00 -03:00
Weslly Honorato
0d51f0a644 Convert version number to double 2012-06-17 11:18:42 -03:00
Weslly Honorato
73b5506727 Use wp_get_theme() to get the theme name on activation 2012-06-17 11:09:23 -03:00
Ben Word
e16aa0e943 Use <figure> & <figcaption> for captions 2012-06-11 22:31:08 -06:00
Ben Word
3dcb347d7f Wrap embedded media as suggested by Readability 2012-06-11 21:50:27 -06:00
Ben Word
957b502f98 Remove unnecessary remove_action's on wp_head as of 3.2.1
See http://core.trac.wordpress.org/ticket/18128
2012-06-11 21:39:50 -06:00
Ben Word
0ed246ec55 Add updates from H5BP 2012-06-11 21:00:12 -06:00
Ben Word
f40ee23d85 Remove 'well' class 2012-06-11 20:48:42 -06:00
Ben Word
c323ca857a Flush permalinks on activation to avoid 404s with clean URLs 2012-06-11 20:42:08 -06:00
Ben Word
1429e33933 Merge pull request #472 from jamescostian/master
Corrected home URL for subdir installs
2012-06-11 19:34:21 -07:00
Ben Word
b089166082 Fix #464 - Show proper classes on additional wp_nav_menu()'s 2012-06-11 13:07:20 -06:00
Ben Word
0b061115b0 Fix #469 - Remove unnecessary semicolon 2012-06-11 11:34:49 -06:00
James Costian
aef67d23b8 Corrects script and style URLs on subdir installs
By removing get_template_directory_uri() from each call to either the
wp_enqueue_style() or the wp_enqueue_script() function, the URLs to CSS
and JS files will now be correct on subdir installs of WP.
2012-06-09 18:12:33 -05:00
James Costian
39379742fc Corrected home URL for subdir installs
If Wordpress is installed in a sub-directory, this will prevent the URL
from being the root of the domain (e.g. example.com/sub/directory/ will
become /sub/directory instead of / ).
2012-06-09 18:05:56 -05:00
Ben Word
9e1ecfa4e1 Update to Bootstrap 2.0.4 2012-06-03 12:26:22 -06:00
Ben Word
88fd827d04 Default header should use pill nav if not using topbar 2012-05-29 21:25:02 -06:00
Scott Walkinshaw
8b20b47130 Nav walkers: match current_ and current- classes 2012-05-25 00:13:51 -03:00
Ben Word
f86965af51 Fix #457 - Remove unused action 2012-05-18 18:16:48 -06:00
Ben Word
e83cd008f3 More cleanup clean up 2012-05-17 22:36:14 -06:00
Scott Walkinshaw
0c1fa13494 Clean up cleanup 2012-05-17 23:29:30 -04:00
Ben Word
30484f027c Remove old admin notice for tagline 2012-05-17 20:59:33 -06:00
Ben Word
d2fc51e3d9 Remove default tagline admin notice, hide from feed
Rather than showing an admin notice if the tagline
is the default, let's just not return that default
tagline in the RSS feed.
2012-05-17 20:57:50 -06:00
Ben Word
decce5ae55 Move WP_POST_REVISIONS definition to config.php 2012-05-17 20:21:36 -06:00
Ben Word
e1331ab1cf Add Bootstrap alert styling to Google Chrome Frame prompt 2012-05-17 20:19:30 -06:00
Ben Word
fc7fca1d6e roots_body_class() is no longer necessary for body_class() 2012-05-17 20:15:42 -06:00
Ben Word
34200f1af1 Fix for duplicated classes in widget markup 2012-05-17 20:02:51 -06:00
Ben Word
6e13df22dd Merge pull request #454 from bgallagh3r/master
Fix empty foreach loop
2012-05-17 12:35:55 -07:00
Brian Gallagher
d095c6eb58 Fixed empty foreach error in cleanup.php 2012-05-17 15:21:38 -04:00
Ben Word
0d359346db Fix #450 - Only display viewport if using responsive grid 2012-05-16 23:51:31 -06:00
Ben Word
2526aa9b43 Fix #450 - Only display viewport if using responsive grid 2012-05-16 23:49:24 -06:00
Ben Word
129e050c7e Fix #452 - Show title on custom post type archive template 2012-05-16 23:41:41 -06:00
Ben Word
d4f425c17a Merge pull request #447 from AlexKovalevych/3.3.2-preview-fix
Fix for theme preview
2012-05-16 22:32:54 -07:00
Scott Walkinshaw
3d0367fb14 Merge pull request #448 from gabor-udvari/master
Add Hungarian translation
2012-05-13 08:38:55 -07:00
Gábor Udvari
7f9c6f1a7d Add Hungarian translation 2012-05-13 14:55:56 +02:00
Alex Kovalevych
cf627cdf1e fixed theme preview for the wp version 3.3.2 2012-05-13 15:26:27 +03:00
Scott Walkinshaw
93d0d10b87 Merge pull request #442 from netboy/master
Polish translation
2012-05-10 08:29:06 -07:00
netboy
cec1d32fc6 Added a polish translation 2012-05-10 15:14:15 +02:00
Ben Word
614fca763c Update comment about H5BP's style.css 2012-05-09 02:11:11 -06:00
Ben Word
f1ff5204a3 Add ability to include header without top navbar 2012-05-09 01:28:39 -06:00
Ben Word
7d2b3c1e07 Re-organization 2012-05-09 00:55:09 -06:00
Ben Word
d4ec36331b Fix #413 - Allow custom CSS classes in menu items, walker cleanup 2012-05-08 23:07:29 -06:00
Ben Word
a07afc763c Fix #433 - Remove console.log wrapper from plugins.js 2012-05-08 21:37:21 -06:00
Ben Word
2652d6e888 Add config options for clean URLs and H5BP's .htaccess 2012-05-08 21:29:32 -06:00
Scott Walkinshaw
a09a160450 Merge pull request #432 from elflo/disable_relative_urls
Add config option to toggle relative URL functionality
2012-05-03 08:35:40 -07:00
elflo
522cf8cb7a This adds the option to enable or disable the relative urls functionality.
I added a true/false switch to enable/disable the relative urls in roots_config.php. Relative urls are enabled by default.
I moved the conditions that previously triggered the relative urls functionality to a new function enable_root_relative_urls() which returns a boolean true/false.
I replaced the conditions i moved by a test for enable_root_relative_urls() true/false value.
2012-05-03 17:25:40 +02:00
Scott Walkinshaw
66fa8d5d55 Merge pull request #430 from wohlford/master
Remove stylesheet versioning for cache purposes
2012-05-03 05:36:29 -07:00
Jason Wohlford
27de0373a3 Remove Wordpress version numbers from stylesheets. 2012-05-02 20:46:55 -05:00
Ben Word
aa8bbff8ee Merge pull request #429 from wohlford/master
Fix missing reference to main.js
2012-05-02 16:36:01 -07:00
Jason Wohlford
f349dc4318 Fixed missing main.js reference. 2012-05-02 18:22:45 -05:00
Scott Walkinshaw
a28033c571 Fix missing ). 2012-05-02 17:55:13 -03:00
Scott Walkinshaw
ec0e1fe950 Fix #428 - Don't include h5bp's style.css by default. 2012-05-02 15:38:42 -03:00
Ben Word
fc9f001d96 Fix #424 - Add missing commented-out </IfModule> 2012-04-30 10:13:12 -06:00
Ben Word
9c64e231ac Re-add H5BP htaccess markers 2012-04-29 20:03:03 -06:00
Ben Word
8a3b2cf142 Add updates from H5BP 2012-04-29 20:01:47 -06:00
Ben Word
44997560bb Fix #402 - Allow roots-htaccess.php to work with Litespeed 2012-04-29 19:47:53 -06:00
Ben Word
bb5e314c18 Fix duplicate 'home' in body_class 2012-04-29 19:30:52 -06:00
Ben Word
d4032f54a4 Fix #421, #419 - Correct plugins.js 2012-04-29 16:34:13 -06:00
Scott Walkinshaw
92dcd676fe Merge pull request #415 from tricil/master
Update bootstrap to 2.0.3
2012-04-24 16:27:17 -07:00
tricil
51518c3eb2 update bootstrap to 2.0.3
single commit this time
2012-04-24 19:23:32 -04:00
Ben Word
893664e532 Merge pull request #410 from Fingli/20120421
Update Bulgarian translation
2012-04-21 11:09:02 -07:00
Yulian
213633ff53 Bulgarian translation updated
Added several new phrases from the new .pot-file
2012-04-21 11:18:59 +03:00
Ben Word
8354bee234 Fix #409 - Don't use clean URLs with default permalink structure 2012-04-21 00:32:57 -06:00
Ben Word
1da7109d03 Merge pull request #408 from lluisgerard/master
Add Catalan language files
2012-04-20 23:08:09 -07:00
LG
2892f21e15 Upgraded Catalan Language - Little Fix 2012-04-20 19:27:27 +02:00
LG
49e808321a Add Catalan Language 2012-04-20 18:57:12 +02:00
Ben Word
b1586d0787 Roots 5.1.0 2012-04-14 19:19:54 -06:00
Ben Word
f8e564375a Merge pull request #400 from tricil/master
Correct viewport, add responsive images fix
2012-04-14 17:16:37 -07:00
tricil
7172e314a6 introduce initial-scale=1 viewport as recommended by bootstrap and max-width:100% css fix for BS 2.0.2 images to be responsive 2012-04-14 19:59:24 -04:00
Ben Word
d89f71a960 Merge pull request #397 from weslly/master
Re-generate roots.pot file and update Brazilian Portuguese language files
2012-04-13 13:45:30 -07:00
Weslly Honorato
cc2faabaa9 re-generate roots.pot file and update Brazilian Portuguese language files 2012-04-13 16:25:55 -03:00
Scott Walkinshaw
30dca38ea2 Google Analytics automatically tracks load time 2012-04-11 12:39:42 -03:00
Ben Word
9cc8f62d3e Fix #366 - Remove conflict with custom nav walkers 2012-04-10 21:39:21 -06:00
Ben Word
3a9077c074 Fix #392 - Small tweak to root relative cleanup 2012-04-10 21:30:23 -06:00
Ben Word
c1ee5717bd Fix #353 - Add conditional feed link, thanks @zslabs 2012-04-10 21:20:44 -06:00
Ben Word
53dc8f3b2b Fix #348 - Temporarily remove Gravity Forms customizations 2012-04-10 21:09:59 -06:00
Ben Word
5182162b2e Fix #347 - Properly enqueue stylesheets 2012-04-10 21:05:36 -06:00
Ben Word
8ca4ca7378 Merge branch 'master' of github.com:retlehs/roots 2012-04-10 19:55:12 -06:00
Ben Word
d58d9b9b25 Fix #335 - Update to Bootstrap 2.0.2 2012-04-10 19:54:58 -06:00
Ben Word
073a41405e Merge pull request #393 from weslly/master
Update Brazilian Portuguese language files from new .pot file
2012-04-10 18:47:59 -07:00
Weslly Honorato
86399e6409 Updated Brazilian Portuguese language files from new .pot file 2012-04-10 22:42:58 -03:00
Ben Word
1fcbeb79e3 Fix #357 - H5BP htaccess missing on older PHP installs 2012-04-10 19:39:05 -06:00
Ben Word
9acfef8678 Merge pull request #340 from maff/rewriterulesfix
Fix compatiblity issues with other plugins which add rewrite rules
2012-04-10 18:20:09 -07:00
Scott Walkinshaw
69a42d05df Restore duplicate subfolder removal 2012-04-10 21:06:23 -04:00
Ben Word
060ab1bea5 Fix #374 - Media query at bottom of app.css needs max-width of 979px 2012-04-10 18:08:18 -06:00
Ben Word
ee37390e25 Fix #377 - Add missing 'active' class with current_page_parent 2012-04-10 15:20:39 -06:00
Ben Word
e7bb63e5f3 Merge pull request #380 from ChrisClayton/patch-4
Change widgets to use <section> instead of <article>
2012-04-10 09:14:24 -07:00
Ben Word
221302f659 Merge pull request #391 from ntwb/master
Fix vCard widget for international support
2012-04-10 09:04:54 -07:00
Stephen Edgar
ca099f6439 Remove hidden US +1 Telephone Field 2012-04-10 20:25:14 +10:00
Scott Walkinshaw
a921fb9dab Merge pull request #386 from ObsessiO/patch-1
Update lang/tr_TR.po
2012-04-09 07:18:39 -07:00
Scott Walkinshaw
6b332ba530 Merge pull request #387 from ObsessiO/patch-2
Correcting line numbers.
2012-04-09 07:18:13 -07:00
Scott Walkinshaw
bf25b4acd4 Merge pull request #378 from hannesjohansson/master
Updated Swedish language files from new .pot file
2012-04-09 07:17:39 -07:00
Scott Walkinshaw
fe19b3c126 Merge pull request #389 from utenH/master
Norwegian (nynorsk) language files
2012-04-09 07:16:40 -07:00
Kyrre Matias Goksøyr
013c5fe0cd Added Norwegian (nynorsk) language files, changed "valgfri" to "valfri".
Signed-off-by: Kyrre Matias Goksøyr <kyrremg@gmail.com>
2012-04-09 13:51:50 +02:00
Kyrre Matias Goksøyr
e6cf04440b Added Norwegian (nynorsk) language files.
Signed-off-by: Kyrre Matias Goksøyr <kyrremg@gmail.com>
2012-04-09 13:45:47 +02:00
ObsessiO
8749f9cdc0 Correcting line numbers. 2012-04-09 07:10:45 +03:00
ObsessiO
5c145c059a Update lang/tr_TR.po 2012-04-09 06:40:26 +03:00
Ben Word
5ec867aa89 Avoid potential server error with blank roots-custom.php
f5321bc9a0 (commitcomment-1018488)
2012-04-08 17:27:29 -06:00
Ben Word
64a137ea32 Merge pull request #383 from zslabs/master
Update to jQuery 1.7.2
2012-04-08 16:14:06 -07:00
Zach Schnackel
e80281e985 jQuery 1.7.2 Update 2012-04-08 12:09:14 -04:00
ChrisClayton
fc3bec5069 change widgets to use <section> instead of <article> - see #379 2012-04-06 16:17:36 +10:00
Hannes Johansson
85101c9f4c Updated Swedish language files from new .pot file 2012-04-05 14:20:43 +02:00
Ben Word
f7f86c9e92 Merge pull request #369 from Fingli/upstream
Add Bulgarian translation
2012-04-03 08:35:49 -07:00
Yulian
519021ac43 Added Bulgarian translation
compatible with v. 5.0.0
2012-04-02 21:15:31 +03:00
Ben Word
4759f1e1b7 Fix #365 - re-generate roots.pot 2012-04-02 01:43:59 -06:00
Ben Word
23ff200ef2 Merge pull request #364 from hannesjohansson/master
Add Swedish language files
2012-04-01 23:42:33 -07:00
Hannes Johansson
3035e11d48 updated Swedish language files 2012-03-29 13:26:24 +02:00
Hannes Johansson
979192ffca adding Swedish language files 2012-03-29 13:15:52 +02:00
Mathias Geat
00066ee0dd fix compatiblity issues with other plugins which add rewrite rules 2012-03-14 16:43:28 +01:00
Scott Walkinshaw
c526a8461c Merge pull request #328 from waitxd/master
add support for custom menu classes
2012-03-12 17:24:45 -07:00
Scott Walkinshaw
c90d5ef916 Proper base script URLs for WPMU/Child Themes 2012-03-12 20:18:43 -04:00
Scott Walkinshaw
7a471be049 Fix #293 - Remove unnecessary call to template uri 2012-03-12 20:13:39 -04:00
waitxd
53ff55d3a9 custom menu classes for nav menu #2
for example: wp_nav_menu('menu_class' => 'nav nav-pills' ...
2012-03-06 16:41:13 +04:00
waitxd
618e89cea2 custom menu classes for nav menu #1
for example: wp_nav_menu('menu_class' => 'nav nav-pills' ...
2012-03-06 16:39:57 +04:00
Ben Word
3fceb85504 Merge pull request #322 from ChrisClayton/patch-3
Use &times; for alert in loop.php
2012-03-04 14:39:54 -08:00
Ben Word
0f2372309c Merge pull request #320 from doobbe/master
Add Vietnamese language files
2012-03-04 14:24:02 -08:00
ChrisClayton
cf720832d0 remove x and replaced with escaped &times; html entity for alerts. 2012-03-03 17:34:10 +11:00
Quang LD
570b1b5c7d Adding Vietnamese lang 2012-03-02 17:25:59 +07:00
Ben Word
63256f4667 Fix #300 - Add comment-reply script when applicable 2012-02-29 17:33:27 -07:00
Ben Word
5a757dfda2 Fix #307 - remove reference to <figure> & <figcaption> 2012-02-29 17:28:32 -07:00
Ben Word
7f9077cfeb Fix #311, #315 - Remove custom script cleanup 2012-02-29 17:04:54 -07:00
Ben Word
f5321bc9a0 Fix #302 - Lose EOF ?> 2012-02-27 11:40:01 -07:00
Ben Word
c17560be27 Fix #305, #304 - Update alerts to use &times; entity 2012-02-27 11:29:55 -07:00
Ben Word
6492fe9318 Fix #297 - wp-admin / login issue 2012-02-27 11:28:09 -07:00
Ben Word
efa020b936 Fix #309 - re-deploy Bootstrap CSS 2012-02-27 11:20:01 -07:00
Ben Word
0e8b0bb130 Fix #297 - wp-admin / login issue 2012-02-27 11:16:46 -07:00
Ben Word
c3882f7a97 Fix #296 - re-deploy Bootstrap responsive CSS 2012-02-22 20:31:18 -07:00
Ben Word
387ea2d1cf H5BP updates, update to Modernizr 2.5.3 2012-02-22 15:24:03 -07:00
Ben Word
48af1a6e8d Merge pull request #287 from leoj3n/master
Ending #wrap div earlier (before <footer>) in footer.php
2012-02-22 14:20:58 -08:00
Ben Word
d82b8c5d2b Remove de-registration of jQuery and li0n.js
jQuery is now skipped manually in roots-scripts.php so
we don't have to worry about the old cleanup
2012-02-22 15:18:32 -07:00
Ben Word
35dc9f10bc Minor tweak to compressed Bootstrap Javascript 2012-02-22 15:13:33 -07:00
Ben Word
ec50884581 Merge pull request #294 from coreywagehoft/master
Update to Bootstrap v2.0.1
2012-02-22 12:56:35 -08:00
Corey Wagehoft
75d260854b Updating Bootstrap to v2.0.1 2012-02-22 14:49:40 -06:00
Scott Walkinshaw
5deda8f875 Kill me 2012-02-21 21:16:48 -05: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
Joel Kuczmarski
d78f34e3cf #wrap now ends before <footer> 2012-02-18 10:43:20 -06:00
Ben Word
47eb95be69 Merge pull request #284 from LimeBlast/patch-1
Add a space before data-dropdown on menus
2012-02-16 08:56:26 -08:00
Daniel Hollands
ddbf854342 Was failing HTML5 validation because there wasn't a space between class="menu-home dropdown" and data-dropdown="dropdown". 2012-02-16 16:43:51 +00:00
Ben Word
cdc3267f36 Fix #231 - convert menu ID's to classes 2012-02-13 18:27:29 -07:00
Ben Word
5ec10a5296 Fix #279 - Output enqueued scripts in proper order 2012-02-13 17:28:14 -07:00
Ben Word
be3e67f862 Fix #274 - avoid duplicate canonical with WordPress SEO plugin 2012-02-13 08:37:37 -07:00
Ben Word
551fc9ca50 Fix #250 - update htaccess functions to latest from @alkymst 2012-02-13 08:25:25 -07:00
Ben Word
49300042c8 Fix #259 - make extra scripts output 2012-02-13 08:18:17 -07:00
Ben Word
f1f7eea38d Remove optimized robots.txt
See this article from Yoast: http://yoast.com/example-robots-txt-wordpress/
2012-02-10 08:49:15 -07:00
Ben Word
0e51e9048c HTML5 Boilerplate 3.0 updates 2012-02-06 10:57:27 -07:00
Ben Word
320a1d32c0 Use minified Bootstrap CSS (#251) - thanks @elflo 2012-02-03 14:11:11 -07:00
Ben Word
d97ae91d24 Minify Bootstrap Javascript plugins 2012-02-03 12:46:55 -07: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
Ben Word
7266dae71b Merge pull request #261 from coreywagehoft/d045e1be56130693dc48bae494654b900a13fc81
Upgrading Twitter Bootstrap to v.2.0.0
2012-02-01 08:36:16 -08:00
Corey Wagehoft
d045e1be56 Updating Bootstrap to v.2.0.0
roots-actions.php:  added responsive css framework file
roots-options.php: changed default css classes for bootstrap v2.0.0
roots-scripts.php: updated less to v1.2.1, changed the load order and
added new scripts for bootstrap v2.0.0

Added all of the new css, js, less asset files and updated all of the
previous ones for bootstrap v2.0.0
2012-02-01 10:18:39 -06:00
Scott Walkinshaw
923828bc06 Sidebars can now have spaces in their names 2012-01-30 17:00:35 -05:00
Ben Word
2abc629272 fixes #250 - some plugins cause an error with roots h5bp rewrites 2012-01-29 18:27:26 -07:00
Ben Word
01696fde63 move roots_head above wp_head, fixes #260 2012-01-29 18:24:19 -07:00
Ben Word
c1da7bdd9f move framework CSS above h5bp/roots CSS - fixes #253 2012-01-26 19:01:09 -07:00
Ben Word
4b496b3240 Merge pull request #249 from cabgfx/danish_translations
Add updated danish translations re: issue #245
2012-01-24 07:52:38 -08:00
Casper Klenz-Kitenge
4aa3ccec59 Add updated danish translations re: issue #245 2012-01-24 09:30:18 +01:00
Ben Word
c7b59bcc41 Merge pull request #248 from johnraz/translation
updated french translation
2012-01-23 17:44:36 -08:00
Ben Word
4987e968c0 Merge pull request #247 from Okeanos/master
Updated German translations
2012-01-23 17:44:18 -08:00
Ben Word
5a5c666ece Merge pull request #246 from karalamalar/master
Updated Turkish translation
2012-01-23 17:43:58 -08:00
Jonathan Liuti
4ede57ac3e update french translation 2012-01-23 23:43:28 +01:00
Nikolas Grottendieck
669f0788a1 Updated German translations
Translated recently added strings.
2012-01-23 22:25:03 +01:00
Nikolas Grottendieck
c9726c46e6 Revert "German translated updated"
This reverts commit 783f555484.
2012-01-23 22:17:23 +01:00
Nikolas Grottendieck
783f555484 German translated updated
Translated all new strings.
2012-01-23 22:15:12 +01:00
Emre Erkan
1746a7f31c Updated Turkish translation 2012-01-23 23:00:38 +02:00
Ben Word
723aa22bd7 update roots.pot for translations - fixes #245 2012-01-23 13:38:58 -07:00
Scott Walkinshaw
186e4be880 Merge pull request #244 from Okeanos/master
German translation update
2012-01-23 11:20:07 -08:00
Nikolas Grottendieck
092f3ae1f5 Updated German translation
German translation updated to fix an issue discussed in the issues list
and improved in some places.
2012-01-23 20:08:03 +01:00
Ben Word
106ceaae7d h5bp updates 2012-01-23 11:16:50 -07:00
Ben Word
3c9bc21e32 removing custom image header for logo - closes #223 2012-01-23 10:55:36 -07:00
Ben Word
bf8a0f1630 don't defer enqueue'd scripts - fixes #234 2012-01-23 10:50:02 -07:00
Scott Walkinshaw
d514190654 Merge pull request #229 from benklocek/master
Update roots_nav_walker and CSS to work with current-page-*.
2012-01-18 08:44:20 -08:00
Ben Klocek
1cd266adaa Fix css formating difference 2012-01-18 08:08:19 -08:00
Ben Klocek
4c4731da26 Add current_page_* selectors 2012-01-18 08:05:26 -08:00
Ben Klocek
3ee9b7ce0c Allow for current-page-ancestor, etc in menu 2012-01-18 07:49:23 -08:00
Ben Word
9b263ff360 Merge pull request #227 from Alkymst/master
possible fix for 500 server error
2012-01-16 11:55:16 -08:00
Nathan Smith
88eb376958 refs #120 - possible fix for 500 server error 2012-01-16 12:53:35 -07:00
Scott Walkinshaw
92b1d6d23c Consistent syntax formatting 2012-01-15 21:47:33 -05:00
Ben Word
eca31bd915 adding roots-scripts.php, now using wp_enqueue_script 2012-01-15 19:31:14 -07:00
Scott Walkinshaw
d6c0125fa9 Add rel option to stylesheet_link_tag() 2012-01-15 20:37:40 -05:00
Ben Word
617f86604d re-organizing roots-actions.php, added roots_current_framework() function 2012-01-15 17:09:53 -07:00
Ben Word
898f3a3cb0 tell tinymce to also allow <script> tags 2012-01-15 16:24:39 -07:00
Ben Word
8ca5847f32 removing comment reference to unused, old templates 2012-01-15 15:37:49 -07:00
Ben Word
3f36f8aaee updated comments template based off twentyeleven's 2012-01-15 15:35:44 -07:00
Ben Word
bccac4380f re-did example vcard widget based on twentyeleven's widgets.php 2012-01-15 14:17:21 -07:00
Ben Word
3a33fa957f archive title cleanup, adding custom taxonomy title 2012-01-15 13:46:24 -07:00
Ben Word
3673baa402 loop code cleanup 2012-01-15 13:27:30 -07:00
Ben Word
b620f7b6c8 adding fullwidth class and search form to 404 template 2012-01-15 12:49:29 -07:00
Ben Word
49d5639451 removing Blueprint CSS specific classes 2012-01-15 12:47:36 -07:00
Ben Word
fa2cc6d71f use roots nav walker by default if option is set 2012-01-15 12:32:46 -07:00
Ben Word
0e88cc92dc removing roots_page_breadcrumb() example action 2012-01-15 12:02:35 -07:00
Ben Word
1db8bb3089 Merge pull request #216 from msurguy/master
Updated foundation's app.js file to the latest version
2012-01-09 17:43:10 -08:00
Maksim Surguy
8dd46bbfa1 Updated Foundation's app.js
Updated Foundation's app.js to the latest version
2012-01-09 17:09:25 -08:00
Ben Word
9c56ee684b adding on all supported languages, adding missing license info for new CSS frameworks 2012-01-08 12:19:37 -07:00
Ben Word
38821d0dc5 fixes #210 - add author name to archive template title 2012-01-08 12:06:48 -07:00
Ben Word
9da422e008 fixes #166, #196 and #197 - adding full width option and applying in
full width template, thx @johnnypeck!
2012-01-08 11:58:57 -07:00
Ben Word
320ce427e8 fixes #213 - reverting new h5bp htaccess rule 2012-01-07 13:30:34 -07:00
Ben Word
a96305919f roots 4.0.0 2012-01-04 12:35:31 -07:00
Ben Word
01b6f7710b activation options! huge thanks to @johnraz (#208) - closes #6 2012-01-04 12:10:34 -07:00
Ben Word
333ad3a8b7 cutting some roots: removing fout-b-gone 2012-01-03 16:30:51 -07:00
Ben Word
623793379e Merge pull request #205 from karalamalar/master
Turkish Translation added
2012-01-02 14:27:32 -08:00
Emre Erkan
25ac4abc4f Added Turkish Translation 2012-01-02 23:09:18 +02:00
Ben Word
69d7409e52 anchor style should only appear in roots styles section 2012-01-02 11:30:21 -07:00
Ben Word
331c11d32f refs #149 - remove 1140's container class 2012-01-02 11:21:23 -07:00
Ben Word
8c1f18f3da closes #193 - block access to files that show WordPress version 2012-01-02 11:03:16 -07:00
Ben Word
bc307aa38f h5bp updates to .htaccess 2012-01-02 10:49:23 -07:00
Ben Word
53f1aea983 fixes #201 - post entry meta should use date format from options 2012-01-02 10:29:57 -07:00
Ben Word
d6062e4218 Merge pull request #200 from moimikey/master
make roots_register_sidebars() less redundant
2012-01-02 09:16:17 -08:00
Ben Word
88d496da86 adding spanish language files, thanks Ignacio Aguirre 2011-12-30 13:47:14 -07:00
Michael Scott Hertzberg
94bb56b9f9 make roots_register_sidebars() less redundant 2011-12-27 20:05:58 -05:00
Scott Walkinshaw
2b9f33430a Merge pull request #192 from splendeo/fix-htaccess-filter
fixed issue in which .htaccess filtered more rules than it should
2011-12-07 07:27:22 -08:00
Enrique García Cota
27f4ac4ead fixed issue in which .htaccess filtered more rules than it should (i.e. example.com/blog). Fixes #190 2011-12-07 11:20:02 +01:00
Ben Word
924aaaab18 adding 'everything else' under license 2011-12-02 14:44:27 -07:00
Ben Word
0bb0c9a522 better README - closes #155 2011-12-02 14:40:35 -07:00
Ben Word
fbd3ecc57f h5bp updates, style.css now using stripped version + reorganized 2011-11-30 14:14:55 -07:00
Ben Word
d5efb89ceb updating description 2011-11-28 20:19:04 -07: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
Ben Word
2600afbe4d Merge pull request #179 from mwrather/master
Get the best of both worlds: require_once and locate_template
2011-11-28 15:16:43 -08:00
Ben Word
d36c67ec8f Merge pull request #169 from coreywagehoft/master
Adding Twitter Bootstrap CSS Framework, thx @coreywagehoft
2011-11-28 15:14:04 -08:00
Scott Walkinshaw
fe93762952 Merge pull request #181 from cabgfx/master
Add a missing danish translation
2011-11-26 05:12:13 -08:00
Casper Klenz-Kitenge
592dcc21b9 Add a missing danish translation 2011-11-26 13:26:20 +01: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
Matthew Wrather
f364aa8fb0 Merge branch 'master', remote-tracking branch 'upstream/master' 2011-11-25 23:30:32 -08:00
Scott Walkinshaw
3f514cd4af Merge pull request #178 from cabgfx/master
Add danish language files
2011-11-25 14:51:10 -08:00
Casper Klenz-Kitenge
9aac0c7652 Add danish language files 2011-11-25 22:18:19 +01:00
Corey Wagehoft
078b5c7f5e Updating bootstrap javascript load order 2011-11-22 12:33:42 -06:00
Scott Walkinshaw
084eb09819 Merge pull request #172 from ivuorinen/master
Initial Finnish Translation
2011-11-17 06:45:05 -08:00
Ismo Vuorinen
ab626017d2 Initial Finnish Translation 2011-11-17 16:23:22 +02:00
Scott Walkinshaw
a7136a5ec5 __DIR__ fallback for PHP <5.3.0 - fixes #171 2011-11-15 17:20:34 -07:00
Corey Wagehoft
b0bcc89dd9 Adding Twitter bootstrap support 2011-11-07 22:35:52 -06:00
Corey Wagehoft
4255324a7b Adding files for Twitter Bootstrap framework 2011-11-07 22:28:32 -06:00
Ben Word
c876257e08 adding fix for empty search query 2011-11-06 11:05:03 -07:00
Ben Word
d7e6994a20 adding fix for empty search query 2011-11-06 11:03:54 -07:00
Ben Word
d01fb43145 Merge pull request #165 from johnnypeck/widgetsfix
Fix register sidebars so child themes can unregister them, thx @johnnypeck
2011-11-04 15:34:56 -07:00
Johnny Peck
a2d33c7fd9 Fix register sidebars so child themes can unregister them. 2011-11-04 16:36:14 -04:00
Ben Word
38890bf3b3 Merge pull request #164 from coreywagehoft/master
adding Foundation CSS Framework, thx @coreywagehoft
2011-11-02 18:31:41 -07:00
Corey Wagehoft
6884ebfe5e Moving foundation js files out of common library folder to its own folder 2011-11-02 20:25:34 -05:00
Corey Wagehoft
f98617ef96 Removing an old query file 2011-11-02 20:03:50 -05:00
Corey Wagehoft
985dfa4e53 Adding HTML 5 Shiv from Foundation framework spec 2011-11-01 13:43:42 -05:00
Corey Wagehoft
c4e05a2b2d Added an action and function to add the Foundation framework javascript files when it is selected 2011-11-01 13:06:51 -05:00
Corey Wagehoft
0b1843aa47 Adding Foundation framework Javascript files 2011-11-01 13:05:33 -05:00
Corey Wagehoft
67e4955233 Adding default css classes for Foundation framework 2011-11-01 12:34:27 -05:00
Corey Wagehoft
88c1520217 Adding action for foundation framework
Added where to select the CSS files from.  There are many right now and
need to be combined and compressed at some point.  Also added the
conditional css for foundation for IE 9
2011-10-26 11:41:43 -05:00
Corey Wagehoft
62a8dc5d3b Adding support on the options page for Foundation framework 2011-10-26 11:40:31 -05:00
Corey Wagehoft
88706ec1ea Adding Foundation CSS Files 2011-10-26 11:39:33 -05:00
Scott Walkinshaw
d7b0657082 mod_rewrite_rules is a filter, not action. 2011-10-23 19:30:54 -06: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
484534acd0 fixing undefined index error on widget and removing whitespace 2011-10-23 17:43:03 -06:00
Ben Word
00431c8200 removing sitemap and subpages page templates (outdated, unnecessary) 2011-10-23 17:36:09 -06:00
Ben Word
3631ec9f42 minor tweaks to the H5BP htaccess / loading 2011-10-23 17:33:37 -06:00
Ben Word
82e2b03d4b Fixing bug with the root relative and clean menu options on first save
On a clean install when you saved the theme options for the first time,
the validation had a bug where the root relative URLs and clean menu
output values would both be set to false even if they were true.
2011-10-23 16:19:18 -06:00
Ben Word
c8885982bd cleanup to output of menus 2011-10-14 15:27:40 -06:00
Ben Word
f383bc013e adding first and last classes to widgets 2011-10-14 14:44:23 -06:00
Ben Word
95b6501de4 adding the_post_thumbnail output to roots_remove_self_closing_tags 2011-10-14 14:40:53 -06:00
Ben Word
ecfac416ab Fixes #151 - dir="rtl" will no longer be removed 2011-10-14 13:07:34 -06:00
Scott Walkinshaw
e1ff80d85e Merge pull request #154 from Okeanos/master
Updated translations based on feedback, fixed typo.
2011-10-13 09:04:03 -07:00
Nikolas Grottendieck
a4b172bf41 Updated translations based on feedback, fixed typo. 2011-10-13 16:56:38 +02:00
Scott Walkinshaw
3e92a37790 Merge pull request #153 from Okeanos/master
Added German translation files.
2011-10-13 06:52:03 -07:00
Nikolas Grottendieck
a8eb3f9541 Added initial German translation
German translation is potentially faulty due to lack of comments in the
translation files (ambiguous source phrases and words).
2011-10-13 15:47:44 +02:00
Ben Word
6776812b68 Macedonian translation files, thx @maced0n 2011-10-08 20:57:27 -06:00
Ben Word
8cba64b83d fixes #134 - the 1140 grid columns now add up to 12 2011-09-28 11:01:35 -06:00
Ben Word
9a64880293 updating to jQuery 1.6.4 2011-09-22 23:47:59 -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
4a99d5bcd4 removing var_dump added in dedbc54e1a 2011-09-21 18:57:33 -06:00
Ben Word
dedbc54e1a pulling in #137 with slight modifications, thx @moimikey 2011-09-21 18:53:28 -06:00
Scott Walkinshaw
1f2a8f6f37 Updated adapt.js css path - fixes #138 2011-09-21 08:24:35 -06:00
Ben Word
913765707d Merge pull request #135 from adamnbowen/patch-1
Fixes "Trying to get property of non-object" error on 404 pages
2011-09-13 10:17:22 -07:00
Adam Bowen
9e83a9f723 inlines body_class() logic 2011-09-13 13:41:15 -03:00
Adam Bowen
4d8ac40e68 Removes needless assignment of $page_slug = $post->post_name
Removing this assignment, since `$page_slug` is unused elsewhere in the theme, and there is no need to
obfuscate what we are passing to `body_class`.
2011-09-13 12:36:51 -03:00
Adam Bowen
8b0bd629d4 Fixes "Trying to get property of non-object" error on 404 pages
`$post` is not set if you are on a 404 page, so we need to check if it is set before we call 
`$post->post_name`, etc. (note that you would have to have `WP_DEBUG` set to `true` in wp-config.php in order
to see this issue)
2011-09-13 12:31:50 -03:00
Ben Word
08838c2cdc adding italian translation, thx @emilo73 2011-08-30 21:54:43 -06:00
Ben Word
b956074f48 missed in b512745a9c 2011-08-29 09:30:11 -06:00
Ben Word
daff3bcb0b added ability to dismiss the tagline admin notice (thx http://wptheming.com/2011/08/admin-notices-in-wordpress/), made the htaccess notice only show for admins 2011-08-28 14:41:54 -06:00
Ben Word
031a886bb5 now making sure the google analytics ID is valid before saving, better sanitation on the main/sidebar inputs 2011-08-28 13:54:23 -06:00
Ben Word
7bf90296e5 fixes #125 - http://wordpress.stackexchange.com/questions/12863/check-if-were-on-the-wp-login-page 2011-08-28 13:48:12 -06:00
Ben Word
b512745a9c removed included jquery plugins and now using the h5bp plugins.js and script.js setup: http://html5boilerplate.com/docs/plugins.js-and-script.js/ 2011-08-28 13:26:40 -06:00
Ben Word
135995305b h5bp updates 2011-08-28 13:19:34 -06:00
Ben Word
f7a149962c h5bp updates 2011-08-14 18:58:13 -06:00
Ben Word
f17b79f9be h5bp update - google analytics is now loaded with Modernizr.load, see
d9cc711ea1
2011-08-14 18:53:29 -06:00
Ben Word
b04b425c54 adding dutch translation files, thx @herko! 2011-08-14 18:46:55 -06:00
Ben Word
7e8f3ae346 roots 3.6.0 2011-08-12 11:14:46 -06:00
Ben Word
ef721e7f6e h5bp updates - now up to date with h5bp 2.0 2011-08-12 11:05:29 -06:00
Ben Word
ab0d299d13 fixes #117 - wordpress 3.2 adds rel="author" to author links now so we don't need to do it 2011-08-11 09:04:35 -06:00
Ben Word
4ead4e0a3f closes pull req #113 - thx @mwrather 2011-08-10 21:59:09 -06:00
Ben Word
5e499ba059 not sure why i'm having to do this, but i'm sick and it's getting rid of
the undefined index error so it'll work for now
2011-08-10 21:55:25 -06:00
Ben Word
ae6989c9e0 missed one on the last commit - refs #104 and 09784082cf 2011-08-10 21:47:26 -06:00
Ben Word
09784082cf closes #104 - adding a theme option for root relative URLs (enabled by default) 2011-08-10 21:46:01 -06:00
Ben Word
43c21a52b5 fixes #93 - 1140 grid fixes: wrapping the row's with container's and
setting a better default container class
2011-08-10 20:49:06 -06:00
Scott Walkinshaw
6479e66f38 Fixed #114 + updates to wp_enqueue_script and style 2011-08-10 20:04:21 -06:00
Ben Word
372a768ebc further cleanup 2011-08-05 00:05:49 -06:00
Ben Word
0e359d4c57 source cleanup and formatting 2011-08-04 23:47:27 -06:00
Ben Word
a3a5b85b75 added a new function that will strip self-closing tags on elements that
don't need it - currently using it on comment avatars and hidden comment
inputs. also tweaked root relative attachment urls (refs #104) so that
they're enabled in admin but still disabled in feed
2011-08-04 23:34:50 -06:00
Scott Walkinshaw
db208a2090 Switched multisite check to use is_multisite 2011-08-02 15:35:01 -06:00
Scott Walkinshaw
03a0ca95c6 Merge pull request #111 from weslly/master
Brazilian Portuguese translation
2011-08-02 13:23:47 -07:00
Weslly Honorato
1a041d701f Brazilian Portuguese translation 2011-08-02 16:50:59 -03:00
Ben Word
c6d850644b adding @mwrather to contrib list 2011-08-02 00:40:00 -06:00
Ben Word
9c3e600afb Merge pull request #110 from mwrather/master
Adding Roots Theme Options to the frontend Admin Bar
2011-08-01 23:36:54 -07:00
Matthew Wrather
fa489bab59 added theme options to the wordpress admin bar 2011-08-01 21:01:33 -07:00
Ben Word
9f87eab164 minor spelling/formatting fixes 2011-07-31 22:23:46 -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
c6788dc99b removing blank line and end of file 2011-07-31 21:51:51 -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
Scott Walkinshaw
35d3c15d39 Code cleanup 2011-07-31 16:44:13 -06:00
Scott Walkinshaw
1014ddb0f7 Fixes #108 - bug on activation if no pages exists 2011-07-31 11:44:03 -06:00
Ben Word
5d298fbead not apache? no need to continue. found this check from the w3 total
cache plugin.
2011-07-31 02:37:22 -06:00
Ben Word
37b8d099e7 closes #105 - adding french translation files by @johnraz 2011-07-31 02:00:06 -06:00
Ben Word
1d8f643729 updating included jquery plugins 2011-07-31 01:46:50 -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
60bbec9176 made sure that the clean assets functions aren't being applied if you're
in the admin, cleaner way of including the theme options js/css now that
the clean assets function isn't interfering with get_template_directory_uri
2011-07-31 00:34:53 -06:00
Ben Word
3e17419dd3 removing admin.css since wp 3.2's html editor has a monospaced font now,
removing blank admin scripts.js, removing codemirror css (missed in previous commit where codemirror (which was inactive) was removed)
2011-07-31 00:23:35 -06:00
Ben Word
89213315ee h5bp updates 2011-07-31 00:19:47 -06:00
Ben Word
f6914dec53 adding back in the gzip compression to htaccess that was accidentally
removed in previous commit, renaming the h5bp htaccess to something more
easily readable
2011-07-30 13:59:25 -06:00
Ben Word
dbe85b5b2f roots 3.5.0 (aka i should have tagged this a long time ago) 2011-07-30 13:41:24 -06:00
Ben Word
c542ed3534 h5bp updates 2011-07-30 13:41:14 -06:00
Ben Word
fc91044683 refs #104 - root relative urls shouldn't happen in admin 2011-07-30 13:15:33 -06:00
Scott Walkinshaw
5c5cabb3d7 Child theme update: loads roots style.css THEN child theme style.css + some cleanup - fixes #103 2011-07-30 13:00:58 -06:00
Ben Word
cd297c2f3c adding missing hooks, thanks @r3df 2011-07-30 12:45:04 -06:00
Ben Word
103c4c5bd5 changing the radio inputs into select lists, code formatting cleanup 2011-07-22 08:17:42 -06:00
Ben Word
dd77a89b34 h5bp updates 2011-07-20 19:22:18 -06:00
Ben Word
fb21ab7337 just simply call the sidebar(s) 2011-07-20 19:04:33 -06:00
Ben Word
2579321404 fixes #96 - adding archive title to <h1> 2011-07-20 10:28:47 -06:00
Scott Walkinshaw
bd818facc2 Removed gitignore and default less classes 2011-07-19 14:06:45 -06:00
Scott Walkinshaw
8ee03b3386 Merge remote branch 'robboles/master' 2011-07-19 13:56:29 -06:00
Scott Walkinshaw
89572e781d Replaced $ with jQuery for noconflict mode compatibility 2011-07-19 13:42:31 -06:00
Scott Walkinshaw
1b4c84291b Merge pull request #92 from mwrather/master
Escape slashes in roots_gallery_style
2011-07-18 13:48:48 -07:00
Matthew Wrather
ec8aab5f8a escaped slashes in preg_replace pattern 2011-07-18 13:32:47 -07:00
Scott Walkinshaw
206cb0b1fc Updated to jQuery 1.6.2 2011-07-14 11:22:22 -06:00
robboles
f2650112b2 Added Less Framework 4
Addition of the Less Framework 4 (http://lessframework.com/) to CSS frameworks on top of changes to the CSS frameworks code refactoring by swalkinshaw in commit 539198a.
2011-07-12 15:08:55 -05:00
Scott Walkinshaw
539198ac83 Fixed minor bug in roots_relative_url 2011-07-11 19:45:27 -06:00
Scott Walkinshaw
16583d1d27 Minor code cleanup 2011-07-11 15:24:00 -06:00
Scott Walkinshaw
e161da8b4d Merge pull request #86 from sjothen/master
Optimized stylesheet_link_tag
2011-07-11 13:36:12 -07:00
Steve Jothen
94585cd62f Optimize stylesheet_link_tag function. 2011-07-11 13:24:17 -07:00
Scott Walkinshaw
4192053c3b Updated language attributes to work nicely with qTranslate - fixes #80 2011-07-11 12:55:11 -06:00
Scott Walkinshaw
a87574c6ae Reworked roots_relative_url again to account for more edge cases 2011-07-11 12:00:08 -06:00
Scott Walkinshaw
af89a57e7c Refactored CSS framework code: added in default classes, added
stylesheet_link_tag function, added a no framework option, cleaned up
code
2011-07-11 11:56:00 -06:00
Ben Word
12dd0fae09 much cleaner way of including h5bp's htaccess by utilizing the WordPress
Filesystem API and grabbing the contents from a separate file
2011-06-30 23:55:32 -06:00
Ben Word
6e55fd25c2 small fix 2011-06-30 23:55:18 -06:00
Ben Word
cbdfc50d12 small fix - adding 'Written by [author]' back after it was
accidentally removed in acea241631
2011-06-30 18:50:03 -06:00
Ben Word
cbb388148f removed old style.css, grabbed the latest from h5bp and made
modifications on top of it. some of the old roots css was also removed, including
ul.none and .icon
2011-06-30 18:43:58 -06:00
Ben Word
c4d4ee40c6 closes #81 - moving get_roots_stylesheets to the hooks 2011-06-30 18:10:32 -06:00
Ben Word
9428eab591 fixes #77 - check to see if there's a nav item in the utility nav before
outputting it
2011-06-26 20:50:51 -06:00
Ben Word
a05ede6ca5 adding option for fout-b-gone 2011-06-26 20:24:55 -06:00
Ben Word
a088b21d9c header cleanup including moving google analytics to the roots_head hook 2011-06-26 20:07:36 -06:00
Ben Word
d92a532ad2 (h5bp updates) chrome frame install prompt for ie7, small change to the
escaping of </script> for jquery local fallback
2011-06-26 18:24:45 -06:00
Ben Word
a290f07e03 minor formatting fixes 2011-06-22 20:20:12 -06:00
Ben Word
09244176e1 formatting cleanup 2011-06-22 20:15:01 -06:00
Ben Word
cd1f00909d removing codemirror (it wasn't active, anyway) - see discussion in #2 2011-06-22 20:11:48 -06:00
Ben Word
f06c413f64 Merge pull request #75 from limitlis/patch-1
Invisible character between two '>' on line 3 doesn't allow validation
2011-06-22 17:19:13 -07:00
limitlis
409bd95706 Invisible character between two '>' on line 3 doesn't allow HTML5 validation. 2011-06-22 16:38:53 -07:00
Ben Word
eeadf79492 changing class name of screen reader text in options 2011-06-18 08:29:24 -06:00
Scott Walkinshaw
a185c7df00 Merge branch 'master' of github.com:retlehs/roots 2011-06-09 08:18:09 -06:00
Scott Walkinshaw
cd87358195 Minor fix to relative urls 2011-06-09 08:17:14 -06:00
Scott Walkinshaw
63762ff96f Merge branch 'master' of github.com:retlehs/roots 2011-06-08 21:30:04 -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
Scott Walkinshaw
7517dbe958 Merge branch 'master' of github.com:retlehs/roots 2011-06-08 20:27:48 -06:00
Scott Walkinshaw
8389f7755a Added option for cleaner menu output - fixes #33 2011-06-08 20:25:45 -06:00
Ben Word
fee4ba5b27 slight change to registering the nav menus 2011-06-07 19:13:38 -06:00
Scott Walkinshaw
9260044ed4 roots_relative_urls now ignores external links 2011-06-07 16:33:29 -06:00
Ben Word
b218fc2d75 Merge pull request #69 from johnraz/master
Avoid re-adding page to the main nav each time roots is activated
2011-06-06 19:33:25 -07:00
Joanthan Liuti
3aa0344410 avoid re-adding page to the main nav each time roots is activated 2011-06-06 11:49:17 +02:00
Ben Word
dfc2f5ffb6 matching update to twentyeleven options 2011-06-05 15:14:58 -06:00
Ben Word
4981fd7e4c adding latest updates from twentyeleven options 2011-06-05 08:53:15 -06:00
Ben Word
56d4e9399b removing undefined index error on the removal of css for the recent
comments widget
2011-06-03 18:27:03 -06:00
Ben Word
bc2da28d6a adding .pot file generated by
http://www.icanlocalize.com/tools/php_scanner - refs #24 (wpml support)
2011-06-02 18:19:21 -06:00
Ben Word
22e0a2eebe (h5bp updates) modernizr 2.0, newer respond.js 2011-06-02 11:59:12 -06:00
Ben Word
bb60331ba1 missed one (reference afd690d76b) 2011-06-01 12:03:12 -06:00
Ben Word
afd690d76b switching frameworks was broken - now fixed. thanks to @dsimmons for
pointing this out
2011-06-01 11:59:49 -06:00
Ben Word
70be19e820 removing reference to background image 2011-06-01 08:02:10 -06:00
Ben Word
eab54c9adb h5bp replaced the semicolon with a comma in the viewport line back in
october, somehow missed this -- thx james sims for pointing it out
2011-06-01 07:57:14 -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
97ed6f4f2d updating #main and #sidebar CSS classes to use the new options 2011-05-31 10:48:00 -06:00
Ben Word
15f3f9ce2e changing class names after h5bp reverted the <html> tag changes 2011-05-31 10:32:07 -06:00
Ben Word
5466bad0d1 adding support for adapt.js, closes #47 2011-05-30 20:09:20 -06:00
Ben Word
83199c388e moving css3-mediaqueries.js (used by 1140) to libs folder 2011-05-30 20:08:43 -06:00
Ben Word
10ef89fdf1 adding vcard widget 2011-05-30 12:01:13 -06:00
Ben Word
7e9abf103e removing unnecessary icon, no longer used with the new theme options 2011-05-30 10:29:06 -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
4e0c92c05e removing the additional styling to the 'Search Engines Blocked' button
because as of 3.2 it's no longer in the header, it's simply a link in
the 'Right Now' area on the dashboard. unfortunately there's no id or
class associated with it so we can't make it more prominent, as of right
now you barely notice it (just like the header message)
2011-05-30 10:06:40 -06:00
Ben Word
e1d41ebce3 removing unnecessary code at bottom, adding a class to a couple inputs
so that they have some width
2011-05-30 09:55:53 -06:00
Ben Word
1aa3fa0f33 moving yoast breadcrumb support into actions 2011-05-30 09:40:02 -06:00
Ben Word
91d81ddb6e complete rewrite of theme options, based on twentyeleven (in progress) 2011-05-30 01:33:28 -06:00
Ben Word
251e17bdb0 formatting 2011-05-29 23:55:20 -06:00
Ben Word
e9cac02724 cleaning up the part that checks to see if .htaccess is writable 2011-05-29 23:41:14 -06:00
Ben Word
0f3ea1bf0a removing output buffer include 2011-05-26 22:29:02 -06:00
Ben Word
3c5298ee58 moving 1140's call to css3-mediaqueries.js into actions 2011-05-26 21:30:41 -06:00
Ben Word
dfb1f1aded missing a character :) 2011-05-26 07:52:40 -06:00
Ben Word
6542f5bd19 h5bp update to <html> tag 2011-05-26 07:49:51 -06:00
Ben Word
f3c1b46d18 adding hooks & actions 2011-05-26 00:27:06 -06:00
Ben Word
c2f44c8422 adding a blank roots-custom.php file so you can quickly add custom
functions without messing with functions.php (there will be some cleanup
to functions.php soon)
2011-05-25 23:23:32 -06:00
Ben Word
1543fe0373 renaming includes/ directory to inc/ 2011-05-25 23:09:07 -06:00
Ben Word
2821611ac8 tagging 3.2.4 2011-05-19 19:13:46 -06:00
Ben Word
4debdc5e5d h5bp update: new conditional comment magic for the <html> tag, more info at http://goo.gl/MmY2F 2011-05-19 19:09:42 -06:00
Ben Word
d1f2edff9a Merge pull request #63 from masondesu/master
Removed unnecessary class on #nav-main
2011-05-19 11:53:25 -07:00
Mason Stewart
889a000cf8 Removed unnecessary class="<?php echo roots_container_class; ?>" from #nav-main, as it was breaking the "rules" on 960.gs. 2011-05-19 11:50:43 -07:00
Ben Word
ce10e802b0 same as pull req 60 with some formatting/name changes -- menu activation
fixes
2011-05-18 18:29:03 -06:00
Ben Word
2386b3274a Merge pull request #55 from johnraz/patch-2
Get wordpress 'home' dir. Correct fix.
2011-05-17 21:52:16 -07:00
Ben Word
18f0ab26d4 latest changes from h5bp and blueprint css, jquery 1.6.1 2011-05-17 22:48:13 -06:00
Jonathan Liuti
7de67904e1 This is the correct fix 2011-05-15 02:53:30 -07:00
Ben Word
66cb21dda9 tagging 3.2.3 2011-05-10 19:39:01 -06:00
Scott Walkinshaw
4982539f11 Bug fixes: plugins_url in admin, search query redirect and display 2011-05-10 19:06:03 -06:00
Ben Word
5edfce05d5 cleanup 2011-05-09 18:14:40 -06:00
Ben Word
985ba6f240 latest h5bp changes: placeholder media queries for mobile-first approach and addition of respond.js 2011-05-08 17:17:26 -06:00
Ben Word
ec4ec025be cleanup 2011-05-08 13:00:05 -06:00
Ben Word
37214d5443 latest updates from h5bp 2011-05-08 11:56:10 -06:00
Ben Word
a3d64d2d72 adding jquery 1.6 2011-05-08 11:45:34 -06:00
Ben Word
d15e0487cf latest updates to blueprint css - adding styling to url and email inputs 2011-05-08 11:41:02 -06:00
Ben Word
6aaaf48581 changing input type=search back to text until https://bugs.webkit.org/show_bug.cgi?id=33637 is resolved 2011-05-08 11:33:16 -06:00
Ben Word
4a4ea9a6ae add site speed tracking for google analytics (h5bp update) 2011-05-04 14:09:11 -06:00
Scott Walkinshaw
ad18c9d3ff Minor bug - fixes #45 2011-05-04 11:38:52 -07:00
Scott Walkinshaw
9d99a42e1e Fixed minor bug in gallery shortcode 2011-05-02 18:27:36 -06:00
Scott Walkinshaw
f6a95be0dc Merge remote branch 'upstream/master' 2011-05-01 13:46:47 -06:00
Ben Word
29dbefc287 -moz-appearance and -webkit-appearance: textfield were on the search button instead of the search input 2011-05-01 10:23:44 -06:00
Ben Word
fc6ebd0a02 minor text/formatting changes 2011-05-01 10:06:08 -06:00
Ben Word
94e47c3279 fixes #40 2011-04-30 20:32:40 -06:00
Ben Word
119c20704f progress on #24 to add i18n and wpml support 2011-04-30 20:22:06 -06:00
Ben Word
e5d81e5d06 updating jquery cycle to latest version (2.99) 2011-04-28 21:30:17 -06:00
Ben Word
07dc7b7d81 adding in the latest changes from h5bp and blueprint css 2011-04-28 21:26:58 -06:00
Ben Word
7cc92802a7 cleaning up formatting from previous commit 2011-04-28 13:55:31 -06:00
Ben Word
edf5b263fb fixes #37 -- adding language_attributes() in header.php 2011-04-28 13:52:43 -06:00
Ben Word
a39bc3d5e3 Merge branch 'master' of github.com:retlehs/roots 2011-04-25 22:41:06 -06:00
Ben Word
ad5e287ddc tagging 3.2.2 (bugfixes) 2011-04-25 22:09:57 -06:00
Scott Walkinshaw
a3d351cafe URL rewriting bug fixes + better MU support 2011-04-25 22:03:58 -06:00
Ben Word
164a416741 tagging 3.2.2 (bugfixes) 2011-04-24 09:55:26 -06:00
Scott Walkinshaw
992a9e9240 Adding break to case statements + consistent formatting - fixes #35 2011-04-23 11:12:29 -06:00
Scott Walkinshaw
6bc3a6bcf3 Replaced get_stylesheet with get_template in many places to better accommodate child themes #18 2011-04-22 20:30:08 -06:00
Scott Walkinshaw
d54f3e64fa Changed site_url to home_url - fixes #34 2011-04-22 20:15:52 -06:00
Ben Word
e938859ac7 adding support for child themes 2011-04-20 10:32:11 -06:00
Scott Walkinshaw
533c3bbc85 support for child theme - fixes #18 2011-04-20 10:14:36 -06:00
Ben Word
1a1b5d7943 adding support for the 1140px grid 2011-04-15 11:05:27 -06:00
Ben Word
4e99ef00b1 setting version to 3.1.1 2011-04-07 12:42:47 -06:00
Ben Word
31f9e89318 Merge branch 'master' of https://github.com/swalkinshaw/roots 2011-04-04 21:12:43 -06:00
Scott Walkinshaw
592d36bbff Merge remote branch 'upstream/master' 2011-04-04 20:42:21 -06:00
Scott Walkinshaw
40485c7ee9 Updated relative path function to work with sub dirs - fixes #13 2011-04-04 15:56:19 -06:00
Jui-Shan Liang
012991dff4 Modified comments.php so that the default avatars are displayed according to the setting in Admin > Settings > Discussion > Avatars > Default Avatar 2011-04-04 14:57:17 +08:00
Ben Word
cde2ec5321 adding jquery 1.5.2 and removing changelog from style.css since it's now tracked in README.md 2011-04-02 11:08:48 -06:00
Ben Word
6ca6890a8c fixing uppercase typo 2011-04-02 11:00:36 -06:00
Ben Word
369b6a45f5 adding support for 960.gs 2011-04-01 14:42:22 -06:00
Ben Word
7db3bbb351 Merge branch 'master' of https://github.com/johnraz/roots into johnraz-master 2011-04-01 13:18:35 -06:00
Ben Word
83b325a5a4 adding more from the html5 boilerplate .htaccess (remember to use wp-super-cache to control expires) 2011-04-01 09:45:22 -06:00
Joanthan Liuti
816b1ab28c [ADD] Added the max content width for 960gs + clear div 2011-04-01 11:32:40 +02:00
Ben Word
80704070ea fixes #1 -- also minor changes to style.css and searchform.php 2011-03-31 20:56:19 -06:00
callmejeremiah
b15f084601 changing dl to figure on the commented-out fancybox call to match the latest changes to the gallery shortcode 2011-03-31 13:50:17 -07:00
Joanthan Liuti
5872c57923 [ADD] Added support for 960gs - TODO: add the clear div required by 960gs in the markup + test that no classes from the framework are conflicting with roots's existing css (2) 2011-03-31 19:01:31 +02:00
Jonathan Liuti
8c4bfb8c1c [ADD] Added support for 960gs - TODO: add the clear div required by 960gs in the markup + test that no classes from the framework are conflicting with roots's existing css 2011-03-31 19:00:45 +02:00
Ben Word
827a5c41f8 Merge branch 'master' of https://github.com/swalkinshaw/roots into swalkinshaw-c6fdd5f 2011-03-30 20:39:11 -06:00
Scott Walkinshaw
d3fa9a5683 Removed comment 2011-03-30 20:29:18 -06:00
Scott Walkinshaw
c6fdd5f320 Updates to make roots dir/theme renameable 2011-03-30 20:27:51 -06:00
Ben Word
0ecdbc1673 removing function to add home to page menu (and fallback wp_list_pages since we automatically do it) 2011-03-30 17:26:10 -06:00
Ben Word
e9976b26fb removing unnecessary menu active classes since we're using wp_nav_menu 2011-03-27 17:37:36 -06:00
Scott Walkinshaw
f03f744372 Fixed saved settings error 2011-03-27 18:21:33 -04:00
Scott Walkinshaw
f3d4836e13 Modified continue reading link 2011-03-27 16:48:06 -04:00
Ben Word
910c7d14dd small fix to rewrite function for static theme assets 2011-03-27 14:36:46 -06:00
Ben Word
06fb3f6bc5 fixing a character 2011-03-27 13:48:16 -06:00
Ben Word
8e177235ff roots 3.0.0 2011-03-27 13:46:21 -06:00
128 changed files with 10912 additions and 11035 deletions

2
web/app/themes/badegg/.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
/.gitattributes export-ignore
/.github export-ignore

View File

@@ -0,0 +1,23 @@
build:
- changed-files:
- any-glob-to-any-file:
- vite.config.js
dependencies:
- changed-files:
- any-glob-to-any-file:
- package-lock.json
javascript:
- changed-files:
- any-glob-to-any-file:
- resources/js/**/*.js
php:
- changed-files:
- any-glob-to-any-file:
- functions.php
- app/**/*.php
- resources/views/**/*.php
views:
- changed-files:
- any-glob-to-any-file:
- index.php
- resources/views/**/*.php

View File

@@ -0,0 +1,23 @@
{
"baseBranches": [
"main"
],
"commitMessageAction": "⬆️ Bump",
"commitMessageTopic": "{{depName}}",
"extends": [
"config:recommended",
"schedule:weekly"
],
"rangeStrategy": "bump",
"packageRules": [
{
"matchUpdateTypes": [
"minor",
"patch",
"pin"
],
"enabled": true
}
],
"timezone": "America/Detroit"
}

View File

@@ -0,0 +1,18 @@
name: Post release topic on Discourse
on:
release:
types: [published]
jobs:
post:
runs-on: ubuntu-latest
steps:
- uses: roots/discourse-topic-github-release-action@main
with:
discourse-api-key: ${{ secrets.DISCOURSE_RELEASES_API_KEY }}
discourse-base-url: ${{ secrets.DISCOURSE_BASE_URL }}
discourse-author-username: ben
discourse-category: 11
discourse-tags:
releases

View File

@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@@ -0,0 +1,91 @@
name: Main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
node:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
node: ['20']
steps:
- name: Checkout the project
uses: actions/checkout@v4
- name: Setup the Node ${{ matrix.node }} environment on ${{ runner.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies using npm
run: npm install
- name: Build and compile assets
run: |
npm run build
cat public/build/manifest.json
- name: Validate theme.json
run: |
THEME_JSON="public/build/assets/theme.json"
if [ ! -f "$THEME_JSON" ]; then
echo "❌ theme.json not found"
exit 1
fi
jq -e '
(.settings.color.palette | length > 0) and
(.settings.typography.fontFamilies | length > 0) and
(.settings.typography.fontSizes | length > 0)
' "$THEME_JSON" 2>&1 || {
echo "❌ Invalid theme.json structure or missing required values"
exit 1
}
php:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
php: ['8.2']
steps:
- name: Checkout the project
uses: actions/checkout@v4
- name: Setup the PHP ${{ matrix.php }} environment on ${{ runner.os }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Restore the Composer cache directory
id: composercache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest
- name: Run Pint
run: vendor/bin/pint --test

View File

@@ -1,7 +1,6 @@
/node_modules /node_modules
/vendor /vendor
/public /public/*
!/public/.gitkeep
.env .env
.budfiles
npm-debug.log npm-debug.log
yarn-error.log

View File

@@ -1,4 +1,4 @@
Copyright (c) Roots Software Foundation LLC Copyright (c) Roots Software LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in

View File

@@ -1,54 +1,31 @@
<p align="center"> <p align="center">
<a href="https://roots.io/sage/"> <a href="https://roots.io/sage/"><img alt="Sage" src="https://cdn.roots.io/app/uploads/logo-sage.svg" height="100"></a>
<img alt="Sage" src="https://cdn.roots.io/app/uploads/logo-sage.svg" height="100">
</a>
</p> </p>
<p align="center"> <p align="center">
<a href="https://packagist.org/packages/roots/sage"> <a href="https://packagist.org/packages/roots/sage"><img alt="Packagist Installs" src="https://img.shields.io/packagist/dt/roots/sage?label=projects%20created&colorB=2b3072&colorA=525ddc&style=flat-square"></a>
<img alt="Packagist Installs" src="https://img.shields.io/packagist/dt/roots/sage?label=projects%20created&colorB=2b3072&colorA=525ddc&style=flat-square"> <a href="https://github.com/roots/sage/actions/workflows/main.yml"><img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/roots/sage/main.yml?branch=main&logo=github&label=CI&style=flat-square"></a>
</a> <a href="https://bsky.app/profile/roots.dev"><img alt="Follow roots.dev on Bluesky" src="https://img.shields.io/badge/follow-@roots.dev-0085ff?logo=bluesky&style=flat-square"></a>
<a href="https://github.com/roots/sage/actions/workflows/main.yml">
<img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/roots/sage/main.yml?branch=main&logo=github&label=CI&style=flat-square">
</a>
<a href="https://twitter.com/rootswp">
<img alt="Follow Roots" src="https://img.shields.io/badge/follow%20@rootswp-1da1f2?logo=twitter&logoColor=ffffff&message=&style=flat-square">
</a>
</p> </p>
<p align="center">Advanced WordPress starter theme with Tailwind CSS and Laravel Blade</p> # Sage
<p align="center"> **Advanced hybrid WordPress starter theme with Laravel Blade and Tailwind CSS**
<a href="https://roots.io/sage/">Website</a> &nbsp;&nbsp; <a href="https://roots.io/sage/docs/installation/">Documentation</a> &nbsp;&nbsp; <a href="https://github.com/roots/sage/releases">Releases</a> &nbsp;&nbsp; <a href="https://discourse.roots.io/">Community</a>
</p> - 🔧 Clean, efficient theme templating with Laravel Blade
- ⚡️ Modern front-end development workflow powered by Vite
- 🎨 Out of the box support for Tailwind CSS
- 🚀 Harness the power of Laravel with [Acorn integration](https://github.com/roots/acorn)
- 📦 Block editor support built-in
Sage brings proper PHP templating and modern JavaScript tooling to WordPress themes. Write organized, component-based code using Laravel Blade, enjoy instant builds and CSS hot-reloading with Vite, and leverage Laravel's robust feature set through Acorn.
[Read the docs to get started](https://roots.io/sage/docs/installation/)
## Sponsors ## Sponsors
Sage is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, please consider [sponsoring Roots](https://github.com/sponsors/roots). Sage is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, [please consider sponsoring us](https://github.com/sponsors/roots).
<div align="center"> <div align="center">
<a href="https://k-m.com/"><img src="https://cdn.roots.io/app/uploads/km-digital.svg" alt="KM Digital" width="120" height="90"></a> <a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" width="120" height="90"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" width="120" height="90"></a> <a href="https://worksitesafety.ca/careers/"><img src="https://cdn.roots.io/app/uploads/worksite-safety.svg" alt="Worksite Safety" width="120" height="90"></a> <a href="https://www.copiadigital.com/"><img src="https://cdn.roots.io/app/uploads/copia-digital.svg" alt="Copia Digital" width="120" height="90"></a> <a href="https://www.freave.com/"><img src="https://cdn.roots.io/app/uploads/freave.svg" alt="Freave" width="120" height="90"></a> <a href="https://40q.agency/"><img src="https://cdn.roots.io/app/uploads/40q.svg" alt="40Q" width="120" height="90"></a> <a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" width="120" height="90"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" width="120" height="90"></a> <a href="https://worksitesafety.ca/careers/"><img src="https://cdn.roots.io/app/uploads/worksite-safety.svg" alt="Worksite Safety" width="120" height="90"></a> <a href="https://40q.agency/"><img src="https://cdn.roots.io/app/uploads/40q.svg" alt="40Q" width="120" height="90"></a> <a href="https://www.itineris.co.uk/"><img src="https://cdn.roots.io/app/uploads/itineris.svg" alt="Itineris" width="120" height="90"></a> <a href="https://bonsai.so/"><img src="https://cdn.roots.io/app/uploads/bonsai.svg" alt="Bonsai" width="120" height="90"></a>
</div> </div>
## Overview
Sage is a WordPress starter theme with block editor support.
- Harness the power of [Laravel](https://laravel.com) and its available packages thanks to [Acorn](https://github.com/roots/acorn)
- Clean, efficient theme templating utilizing [Laravel Blade](https://laravel.com/docs/master/blade)
- Modern frontend development workflow powered by [Bud](https://bud.js.org/)
- Out of the box support for [Tailwind CSS](https://tailwindcss.com/)
## Getting Started
See the [Sage installation documentation](https://roots.io/sage/docs/installation/).
## Stay Connected
- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Participate on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Read the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/newsletter/)

View File

@@ -8,51 +8,21 @@ class CloneGroup
{ {
} }
public function block_background() public function background()
{ {
return [ return [
'contrast', 'contrast',
'bg_type',
'bg_colour', 'bg_colour',
'bg_tint', 'bg_tint',
]; 'bg_opacity',
} 'bg_image',
'bg_video',
public function block_intro() 'pattern',
{ 'pattern_top',
return [ 'pattern_bottom',
'overline',
'heading',
'blurb',
'intro_alignment',
];
}
public function block_footer()
{
return [
'blurb_footer',
'links',
'footer_alignment',
];
}
public function block_settings()
{
return [
'section_anchor_id',
'padding_top', 'padding_top',
'padding_bottom', 'padding_bottom',
'container_width',
'angle_status',
'angle_position',
'angle_direction',
'angle_colour',
'angle_tint',
]; ];
} }
public function block_all()
{
return array_merge($this->block_intro(), $this->block_footer(), $this->block_settings(), $this->block_background());
}
} }

View File

@@ -15,8 +15,6 @@ class Dynamic
add_filter('acf/load_field/name=fontawesome_regular', [ $this, 'load_fontawesome_regular_icons' ]); add_filter('acf/load_field/name=fontawesome_regular', [ $this, 'load_fontawesome_regular_icons' ]);
add_filter('acf/load_field/name=fontawesome_solid', [ $this, 'load_fontawesome_solid_icons' ]); add_filter('acf/load_field/name=fontawesome_solid', [ $this, 'load_fontawesome_solid_icons' ]);
add_filter('acf/load_field/name=fontawesome_brands', [ $this, 'load_fontawesome_brand_icons' ]); add_filter('acf/load_field/name=fontawesome_brands', [ $this, 'load_fontawesome_brand_icons' ]);
add_action( 'acf/input/admin_footer', [$this, 'colour_ui'] );
} }
public function load_colours( $field ) public function load_colours( $field )
@@ -24,7 +22,6 @@ class Dynamic
$colour = new Utilities\Colour; $colour = new Utilities\Colour;
$NameThatColour = new NameThatColor; $NameThatColour = new NameThatColor;
$defined = get_field('badegg_colours', 'option');
$colours = $colour->values(); $colours = $colour->values();
$field['choices'] = []; $field['choices'] = [];
@@ -101,42 +98,5 @@ class Dynamic
return $choices; return $choices;
} }
public function colour_ui()
{ ?>
<script type="text/javascript">
console.log("Script loaded from sage/app/ACF/Dynamic.php");
(function($) {
function my_custom_escaping_method( original_value){
return original_value;
}
acf.add_filter('select2_escape_markup', function( escaped_value, original_value, $select, settings, field, instance ){
console.log(field.data('name'));
const whitelist = [
'colour',
'bg_colour',
'angle_colour',
];
// do something to the original_value to override the default escaping, then return it.
// this value should still have some kind of escaping for security, but you may wish to allow specific HTML.
if (whitelist.includes(field.data( 'name' ))) {
return my_custom_escaping_method( original_value );
}
// return
return escaped_value;
});
})(jQuery);
</script>
<?php }
} }

View File

@@ -6,51 +6,10 @@ class Blocks
{ {
public function __construct() public function __construct()
{ {
add_action( 'after_setup_theme', [$this, 'block_patterns']); add_action('allowed_block_types_all', [$this, 'blacklist'], 100, 2);
add_filter( 'admin_body_class', [$this, 'editor_classes']);
add_filter( 'block_categories_all' , [$this, 'categories']);
add_action( 'allowed_block_types_all', [$this, 'manage'], 10, 2);
} }
public function block_patterns() public function blacklist()
{
remove_theme_support( 'core-block-patterns' );
remove_theme_support('block-templates');
}
public function editor_classes($classes)
{
global $pagenow;
if($pagenow == 'post.php'):
$ID = @$_GET['post'];
$pageTemplate = get_post_meta($ID, '_wp_page_template', true);
$classes .= ' ' . str_replace('.blade.php', '', $pageTemplate);
endif;
return $classes;
}
public function categories( $categories )
{
// Adding a new category.
$categories = array_merge([
[
'slug' => 'badegg',
'title' => __('Provided by Bad Egg Digital'),
],
[
'slug' => 'tempsite',
'title' => __('Temporary Site'),
],
], $categories);
return $categories;
}
public function manage($allowed_block_types, $editor_context)
{ {
// Reference: // Reference:
// https://www.wpexplorer.com/how-to-remove-gutenberg-blocks/ // https://www.wpexplorer.com/how-to-remove-gutenberg-blocks/
@@ -61,37 +20,7 @@ class Blocks
$blocks = array_keys( \WP_Block_Type_Registry::get_instance()->get_all_registered() ); $blocks = array_keys( \WP_Block_Type_Registry::get_instance()->get_all_registered() );
$ID = @$editor_context->post->ID;
$pageTemplate = get_post_meta($ID, '_wp_page_template', true);
if($pageTemplate == 'template-plain-document.blade.php'):
$blacklist = $this->blacklist([
'core/separator',
'core/spacer',
'core/heading',
'core/list',
'core/list-item',
'core/paragraph',
'core/pullquote',
]);
$blacklist = array_merge($blacklist, [
'acf/badegg-wysiwyg',
]);
else:
$blacklist = $this->blacklist();
endif;
return array_values( array_diff( $blocks, $blacklist ) );
}
public function blacklist($whitelist = [])
{
$blacklist = [ $blacklist = [
// Contact Form 7
'contact-form-7/contact-form-selector',
// Design // Design
'core/button', 'core/button',
'core/comment-template', 'core/comment-template',
@@ -130,7 +59,7 @@ class Blocks
'core/code', 'core/code',
'core/details', 'core/details',
'core/freeform', 'core/freeform',
// 'core/list-item', 'core/list-item',
'core/missing', 'core/missing',
'core/paragraph', 'core/paragraph',
'core/preformatted', 'core/preformatted',
@@ -201,6 +130,6 @@ class Blocks
'core/social-links', 'core/social-links',
]; ];
return array_values( array_diff( $blacklist, $whitelist ) ); return array_values( array_diff( $blocks, $blacklist ) );
} }
} }

View File

@@ -1,31 +0,0 @@
<?php
namespace App\Admin;
class Menus
{
public function __construct()
{
add_action('admin_menu', [$this, 'cleanup_appearance']);
}
public function cleanup_appearance()
{
$customize_url = add_query_arg(
'return',
urlencode(
remove_query_arg(
wp_removable_query_args(),
wp_unslash( $_SERVER['REQUEST_URI'] )
)
),
'customize.php'
);
remove_submenu_page( 'themes.php', $customize_url );
remove_submenu_page( 'themes.php', 'widgets.php' );
remove_submenu_page( 'themes.php', 'site-editor.php' );
}
}

View File

@@ -0,0 +1,65 @@
<?php
namespace App\Blocks;
use App\Utilities;
use App\ACF;
class BadExample
{
public function __construct()
{
add_action('acf/init', [$this, 'init']);
}
public function init()
{
acf_register_block_type([
'name' => 'badegg/bad-example',
'title' => __('Bad Example'),
'description' => __('This is an example block'),
'render_callback' => [ $this, 'render'],
'category' => 'layout',
'multiple' => false,
'icon' => [
'src' => 'dismiss',
],
'supports' => [
'align' => false,
],
]);
}
public function render($block)
{
$CssClasses = new Utilities\CssClasses;
$Colour = new Utilities\Colour;
$CloneGroup = new ACF\CloneGroup;
$data = [];
$fields = [
'heading',
'blurb',
];
$fields = array_merge($fields, $CloneGroup->background());
foreach($fields as $field):
$data[$field] = get_field($field);
endforeach;
unset($block['data']);
$block['name'] = str_replace('acf/', '', $block['name']);
$data = array_merge($data, $block);
$data['section_classes'] = $CssClasses->section($data);
$data['block'] = $block;
$data['knockout'] = ($Colour->is_dark($data['bg_colour'], $data['bg_tint'], $data['contrast'])) ? null : 'knockout';
echo \Roots\view('blocks.bad-example', [
'data' => $data,
'block' => $block,
])->render();
}
}

View File

@@ -1,56 +0,0 @@
<?php
namespace App\PostTypes;
class FAQ
{
public function __construct()
{
add_action('init', [$this, 'register']);
}
public function register()
{
$td = 'sage';
$postType = 'faq';
register_extended_post_type(
$postType,
[
'menu_position' => 40,
'supports' => [
'title',
'editor',
],
'menu_icon' => 'dashicons-admin-comments',
'rewrite' => false,
'has_archive' => false,
'publicly_queryable' => false,
'exclude_from_search' => true,
'capability_type' => 'page',
'show_in_nav_menus' => false,
'admin_cols' => [
'faq_category' => [
'title' => __('Category', $td),
'taxonomy' => 'faq_category',
],
],
],
);
register_extended_taxonomy(
'faq_category',
$postType,
[
// 'meta_box' => 'radio',
'rewrite' => false,
'publicly_queryable' => false,
'show_in_nav_menus' => false,
],
[
'singular' => __('Category', $td),
'plural' => __('Categories', $td),
]
);
}
}

View File

@@ -1,59 +0,0 @@
<?php
namespace App\PostTypes;
class Organization
{
public function __construct()
{
add_action('init', [$this, 'register']);
}
public function register()
{
$td = 'sage';
$postType = 'organization';
register_extended_post_type(
$postType,
[
'menu_position' => 40,
'labels' => [
'featured_image' => __('Logo', $td),
],
'supports' => [
'title',
'page-attributes',
'thumbnail',
],
'menu_icon' => 'dashicons-building',
'rewrite' => false,
'has_archive' => false,
'publicly_queryable' => false,
'exclude_from_search' => true,
'capability_type' => 'page',
'show_in_nav_menus' => false,
'admin_cols' => [
'organisation_relationship' => [
'title' => __('Relationship', $td),
'taxonomy' => 'organisation_relationship',
],
],
],
);
register_extended_taxonomy(
'organisation_relationship',
$postType,
[
'meta_box' => 'radio',
'rewrite' => false,
'publicly_queryable' => false,
],
[
'singular' => __('Relationship', $td),
'plural' => __('Relationships', $td),
]
);
}
}

View File

@@ -1,40 +0,0 @@
<?php
namespace App\PostTypes;
class Testimonial
{
public function __construct()
{
add_action('init', [$this, 'register']);
}
public function register()
{
$td = 'sage';
$postType = 'testimonial';
register_extended_post_type(
$postType,
[
'menu_position' => 40,
'supports' => [
'title',
],
'menu_icon' => 'dashicons-format-quote',
'rewrite' => false,
'has_archive' => false,
'publicly_queryable' => false,
'exclude_from_search' => true,
'capability_type' => 'page',
'show_in_nav_menus' => false,
'admin_cols' => [
'social_link' => [
'title' => __('Name', $td),
'meta_key' => 'badegg_testimonial_name',
],
],
],
);
}
}

View File

@@ -14,7 +14,7 @@ class Colour
$hex = '#FFFFFF'; $hex = '#FFFFFF';
else: else:
// TODO: replace company_info settings page and lookup function // TODO: replace company_info settings page and lookup function
$hex = @$this->values()[(string)$colour]; $hex = $this->values()[(string)$colour];
endif; endif;
if($tint): if($tint):
@@ -59,12 +59,19 @@ class Colour
]; ];
} }
public function is_dark($colour = '#FFFFF') public function is_dark($colour = '#FFFFF', $tint = null, $override = null)
{ {
if($override == 'light') return true;
if($override == 'dark') return false;
// https://css-tricks.com/snippets/php/convert-hex-to-rgb/ // https://css-tricks.com/snippets/php/convert-hex-to-rgb/
if ( @$colour[0] == '#' ) $colour = substr( $colour, 1 ); if($tint) $colour = $this->adjustBrightness($colour, $this->tints()[$tint]);
if ( @$colour[0] == '#' ) {
$colour = substr( $colour, 1 );
}
if ( strlen( $colour ) == 6 ) { if ( strlen( $colour ) == 6 ) {
list( $r, $g, $b ) = [ list( $r, $g, $b ) = [
@@ -102,9 +109,9 @@ class Colour
} }
} }
public function is_light($colour = '#000000', $override = null) public function is_light($colour = '#000000', $tint = null)
{ {
if($this->is_dark($colour, $override)) { if($this->is_dark($colour, $tint)) {
return false; return false;
} else { } else {
return true; return true;

View File

@@ -21,11 +21,8 @@ class CssClasses {
]), ]),
]; ];
if(@$props['angle_status']) if($Colour->is_dark($hex) && $this->is_knockout_block($props['name']))
$classes[] = 'section-has-angle'; $classes[] = 'knockout';
if(@$props['angle_position'])
$classes[] = 'section-has-angle-' . $props['angle_position'];
if(@$props['padding_top']) if(@$props['padding_top'])
$classes[] = 'section-zero-top'; $classes[] = 'section-zero-top';
@@ -33,12 +30,27 @@ class CssClasses {
if(@$props['padding_bottom']) if(@$props['padding_bottom'])
$classes[] = 'section-zero-bottom'; $classes[] = 'section-zero-bottom';
if($pattern):
if($pattern == 'both'):
$classes[] = 'pattern-top';
$classes[] = 'pattern-bottom';
else:
$classes[] = 'pattern-' . $pattern;
endif;
if(in_array($pattern, ['top', 'both']))
$classes[] = 'pattern-top-' . $this->colourTint($pattern_top);
if(in_array($pattern, ['bottom', 'both']))
$classes[] = 'pattern-bottom-' . $this->colourTint($pattern_bottom);
endif;
if(@$props['bg_image']) if(@$props['bg_image'])
$classes[] = "bg-watermarked"; $classes[] = "bg-watermarked";
if($Colour->is_dark($hex) && $this->is_knockout_block($props['name']))
$classes[] = 'knockout';
if(@$props['className']) $args = array_merge($classes, explode(' ', $props['className'])); if(@$props['className']) $args = array_merge($classes, explode(' ', $props['className']));
return $classes; return $classes;
@@ -81,7 +93,7 @@ class CssClasses {
public function is_knockout_block($name = null) public function is_knockout_block($name = null)
{ {
$blacklist = [ $blacklist = [
'cards-alternating', 'bad-example',
]; ];
if(in_array($name, $blacklist)): if(in_array($name, $blacklist)):

View File

@@ -102,7 +102,7 @@ class ImageSrcset
'alt' => $alt, 'alt' => $alt,
]; ];
if($args['lazy'] && !is_admin()): if($args['lazy']):
$atts['class'] .= ' lazy'; $atts['class'] .= ' lazy';
$atts['src'] = $lazy[0]; $atts['src'] = $lazy[0];
$atts['srcset'] = null; $atts['srcset'] = null;

View File

@@ -3,6 +3,7 @@
namespace App\View\Composers; namespace App\View\Composers;
use Roots\Acorn\View\Composer; use Roots\Acorn\View\Composer;
use App\Utilities;
class App extends Composer class App extends Composer
{ {
@@ -16,24 +17,23 @@ class App extends Composer
]; ];
/** /**
* Data to be passed to view before rendering. * Retrieve the site name.
*
* @return array
*/ */
public function with() public function siteName(): string
{
return [
'siteName' => $this->siteName(),
];
}
/**
* Returns the site name.
*
* @return string
*/
public function siteName()
{ {
return get_bloginfo('name', 'display'); return get_bloginfo('name', 'display');
} }
public function with()
{
return [
'Colour' => new Utilities\Colour,
'VideoSrcset' => new Utilities\VideoSrcset,
'ImageSrcset' => new Utilities\ImageSrcset,
'siteName' => $this->siteName(),
'company_legal' => get_field('badegg_company_legal', 'option'),
'company_tel' => get_field('badegg_company_tel', 'option'),
'company_email' => get_field('badegg_company_email', 'option'),
];
}
} }

View File

@@ -15,29 +15,10 @@ class Comments extends Composer
'partials.comments', 'partials.comments',
]; ];
/**
* Data to be passed to view before rendering.
*
* @return array
*/
public function with()
{
return [
'title' => $this->title(),
'responses' => $this->responses(),
'previous' => $this->previous(),
'next' => $this->next(),
'paginated' => $this->paginated(),
'closed' => $this->closed(),
];
}
/** /**
* The comment title. * The comment title.
*
* @return string
*/ */
public function title() public function title(): string
{ {
return sprintf( return sprintf(
/* translators: %1$s is replaced with the number of comments and %2$s with the post title */ /* translators: %1$s is replaced with the number of comments and %2$s with the post title */
@@ -49,13 +30,11 @@ class Comments extends Composer
/** /**
* Retrieve the comments. * Retrieve the comments.
*
* @return string
*/ */
public function responses() public function responses(): ?string
{ {
if (! have_comments()) { if (! have_comments()) {
return; return null;
} }
return wp_list_comments([ return wp_list_comments([
@@ -67,13 +46,11 @@ class Comments extends Composer
/** /**
* The previous comments link. * The previous comments link.
*
* @return string
*/ */
public function previous() public function previous(): ?string
{ {
if (! get_previous_comments_link()) { if (! get_previous_comments_link()) {
return; return null;
} }
return get_previous_comments_link( return get_previous_comments_link(
@@ -83,13 +60,11 @@ class Comments extends Composer
/** /**
* The next comments link. * The next comments link.
*
* @return string
*/ */
public function next() public function next(): ?string
{ {
if (! get_next_comments_link()) { if (! get_next_comments_link()) {
return; return null;
} }
return get_next_comments_link( return get_next_comments_link(
@@ -99,20 +74,16 @@ class Comments extends Composer
/** /**
* Determine if the comments are paginated. * Determine if the comments are paginated.
*
* @return bool
*/ */
public function paginated() public function paginated(): bool
{ {
return get_comment_pages_count() > 1 && get_option('page_comments'); return get_comment_pages_count() > 1 && get_option('page_comments');
} }
/** /**
* Determine if the comments are closed. * Determine if the comments are closed.
*
* @return bool
*/ */
public function closed() public function closed(): bool
{ {
return ! comments_open() && get_comments_number() != '0' && post_type_supports(get_post_type(), 'comments'); return ! comments_open() && get_comments_number() != '0' && post_type_supports(get_post_type(), 'comments');
} }

View File

@@ -17,25 +17,10 @@ class Post extends Composer
'partials.content-*', 'partials.content-*',
]; ];
/**
* Data to be passed to view before rendering, but after merging.
*
* @return array
*/
public function override()
{
return [
'title' => $this->title(),
'pagination' => $this->pagination(),
];
}
/** /**
* Retrieve the post title. * Retrieve the post title.
*
* @return string
*/ */
public function title() public function title(): string
{ {
if ($this->view->name() !== 'partials.page-header') { if ($this->view->name() !== 'partials.page-header') {
return get_the_title(); return get_the_title();
@@ -70,10 +55,8 @@ class Post extends Composer
/** /**
* Retrieve the pagination links. * Retrieve the pagination links.
*
* @return string
*/ */
public function pagination() public function pagination(): string
{ {
return wp_link_pages([ return wp_link_pages([
'echo' => 0, 'echo' => 0,

View File

@@ -0,0 +1,35 @@
<?php
namespace App\View\Composers;
use Roots\Acorn\View\Composer;
class Socials extends Composer
{
/**
* List of views served by this composer.
*
* @var array
*/
protected static $views = [
'components.socials',
];
/**
* Data to be passed to view before rendering.
*
* @return array
*/
public function with()
{
return [
'socials' => get_posts([
'post_type' => 'social',
'order' => 'ASC',
'orderby' => 'menu_order name',
'posts_per_page' => -1,
'fields' => 'ids',
]),
];
}
}

View File

@@ -6,25 +6,56 @@
namespace App; namespace App;
use function Roots\bundle; use Illuminate\Support\Facades\Vite;
/** /**
* Register the theme assets. * Inject styles into the block editor.
*
* @return array
*/
add_filter('block_editor_settings_all', function ($settings) {
$style = Vite::asset('resources/css/editor.scss');
$settings['styles'][] = [
'css' => "@import url('{$style}')",
];
return $settings;
});
/**
* Inject scripts into the block editor.
* *
* @return void * @return void
*/ */
add_action('wp_enqueue_scripts', function () { add_filter('admin_head', function () {
bundle('app')->enqueue(); if (! get_current_screen()?->is_block_editor()) {
}, 100); return;
}
$dependencies = json_decode(Vite::content('editor.deps.json'));
foreach ($dependencies as $dependency) {
if (! wp_script_is($dependency)) {
wp_enqueue_script($dependency);
}
}
echo Vite::withEntryPoints([
'resources/js/editor.js',
])->toHtml();
});
/** /**
* Register the theme assets with the block editor. * Use the generated theme.json file.
* *
* @return void * @return string
*/ */
add_action('enqueue_block_editor_assets', function () { add_filter('theme_file_path', function ($path, $file) {
bundle('editor')->enqueue(); return $file === 'theme.json'
}, 100); ? public_path('build/assets/theme.json')
: $path;
}, 10, 2);
/** /**
* Register the initial theme setup. * Register the initial theme setup.
@@ -122,3 +153,20 @@ add_action('widgets_init', function () {
'id' => 'sidebar-footer', 'id' => 'sidebar-footer',
] + $config); ] + $config);
}); });
add_filter('admin_post_thumbnail_size', function(){
return "medium";
});
add_action( 'init', __NAMESPACE__ . '\\cors', 15 );
function cors() {
if(WP_ENV == 'development'):
header( 'Access-Control-Allow-Origin: *' );
endif;
}
$image_srcset = new Utilities\ImageSrcset;
$image_srcset->add(['name' => 'hero', 'width' => 1920, 'height' => 1000]);
add_image_size('lazy', 50, 50);

View File

@@ -1,77 +0,0 @@
/**
* Compiler configuration
*
* @see {@link https://roots.io/sage/docs sage documentation}
* @see {@link https://bud.js.org/learn/config bud.js configuration guide}
*
* @type {import('@roots/bud').Config}
*/
export default async (app) => {
/**
* Application assets & entrypoints
*
* @see {@link https://bud.js.org/reference/bud.entry}
* @see {@link https://bud.js.org/reference/bud.assets}
*/
app
.entry('app', ['@scripts/app', '@styles/app'])
.entry('editor', ['@scripts/editor', '@styles/editor'])
.assets(['images']);
/**
* Set public path
*
* @see {@link https://bud.js.org/reference/bud.setPublicPath}
*/
app.setPublicPath('/app/themes/badegg/public/');
/**
* Development server settings
*
* @see {@link https://bud.js.org/reference/bud.setUrl}
* @see {@link https://bud.js.org/reference/bud.setProxyUrl}
* @see {@link https://bud.js.org/reference/bud.watch}
*/
app
.setUrl('http://localhost:3000')
.setProxyUrl('https://bedrock.local.badegg.uk')
.watch(['resources/views', 'app']);
/**
* Generate WordPress `theme.json`
*
* @note This overwrites `theme.json` on every build.
*
* @see {@link https://bud.js.org/extensions/sage/theme.json}
* @see {@link https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-json}
*/
app.wpjson
.setSettings({
background: {
backgroundImage: true,
},
color: {
custom: false,
customDuotone: false,
customGradient: false,
defaultDuotone: false,
defaultGradients: false,
defaultPalette: false,
duotone: [],
},
custom: {
spacing: {},
typography: {
'font-size': {},
'line-height': {},
},
},
spacing: {
padding: true,
units: ['px', '%', 'em', 'rem', 'vw', 'vh'],
},
typography: {
customFontSize: false,
},
});
};

View File

@@ -35,15 +35,16 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"App\\": "app/", "App\\": "app/"
"Blocks\\": "resources/views/blocks"
} }
}, },
"require": { "require": {
"php": ">=8.1" "php": ">=8.2",
"roots/acorn": "^5.0",
"ourcodeworld/name-that-color": "dev-master"
}, },
"require-dev": { "require-dev": {
"laravel/pint": "^1.13" "laravel/pint": "^1.20"
}, },
"suggest": { "suggest": {
"log1x/sage-directives": "A collection of useful Blade directives for WordPress and Sage (^1.0)." "log1x/sage-directives": "A collection of useful Blade directives for WordPress and Sage (^1.0)."
@@ -55,11 +56,9 @@
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,
"extra": { "scripts": {
"acorn": { "post-autoload-dump": [
"providers": [ "Roots\\Acorn\\ComposerScripts::postAutoloadDump"
"App\\Providers\\ThemeServiceProvider" ]
]
}
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,7 @@
<?php <?php
use Roots\Acorn\Application;
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Register The Auto Loader | Register The Auto Loader
@@ -29,18 +31,11 @@ require $composer;
| |
*/ */
if (! function_exists('\Roots\bootloader')) { Application::configure()
wp_die( ->withProviders([
__('You need to install Acorn to use this theme.', 'sage'), App\Providers\ThemeServiceProvider::class,
'', ])
[ ->boot();
'link_url' => 'https://roots.io/acorn/docs/installation/',
'link_text' => __('Acorn Docs: Installation', 'sage'),
]
);
}
\Roots\bootloader()->boot();
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@@ -58,22 +53,12 @@ function autoload_psr4($name) {
} }
} }
function autoload_psr4_blocks() {
$path = __dir__ . '/resources/views/blocks/*';
$namespace = 'Blocks\\';
foreach(glob($path, GLOB_ONLYDIR) as $directory) {
$name = basename($directory);
$class = $namespace . $name . '\\' . $name;
new $class();
}
}
autoload_psr4('PostTypes'); autoload_psr4('PostTypes');
autoload_psr4('ACF'); autoload_psr4('ACF');
autoload_psr4('Utilities'); autoload_psr4('Utilities');
autoload_psr4('Admin'); autoload_psr4('Admin');
autoload_psr4_blocks(); autoload_psr4('Blocks');
autoload_psr4('Ajax');
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@@ -1,33 +0,0 @@
{
"extends": [
"@roots/bud/config/jsconfig.json",
"@roots/sage/config/jsconfig.json"
],
"compilerOptions": {
"baseUrl": "resources",
/**
* Resolve aliases
*/
"paths": {
"@fonts/*": ["fonts/*"],
"@images/*": ["images/*"],
"@scripts/*": ["scripts/*"],
"@styles/*": ["styles/*"]
},
/**
* Type definitions
*/
"types": [
"@roots/bud",
"@roots/bud-react",
"@roots/bud-postcss",
"@roots/bud-preset-recommend",
"@roots/bud-preset-wordpress",
"@roots/bud-wordpress-theme-json",
"@roots/sage"
]
},
"files": ["bud.config.js"],
"include": ["resources"],
"exclude": ["node_modules", "public"]
}

2668
web/app/themes/badegg/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,16 +1,13 @@
{ {
"name": "sage", "name": "sage",
"private": true, "private": true,
"browserslist": [
"extends @roots/browserslist-config"
],
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=20.0.0"
}, },
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "bud dev", "dev": "vite",
"build": "bud build", "build": "vite build",
"translate": "npm run translate:pot && npm run translate:update", "translate": "npm run translate:pot && npm run translate:update",
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"theme.json,patterns,app,resources\"", "translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --include=\"theme.json,patterns,app,resources\"",
"translate:update": "for file in ./resources/lang/*.po; do wp i18n update-po ./resources/lang/sage.pot $file; done", "translate:update": "for file in ./resources/lang/*.po; do wp i18n update-po ./resources/lang/sage.pot $file; done",
@@ -19,11 +16,9 @@
"translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang" "translate:mo": "wp i18n make-mo ./resources/lang ./resources/lang"
}, },
"devDependencies": { "devDependencies": {
"@roots/bud": "6.20.0", "@roots/vite-plugin": "^1.0.2",
"@roots/bud-sass": "6.20.0", "laravel-vite-plugin": "^1.2.0",
"@roots/sage": "6.20.0" "sass": "^1.93.2",
}, "vite": "^6.2.0"
"dependencies": {
"@fortawesome/fontawesome-free": "^7.0.1"
} }
} }

View File

@@ -1,9 +1,62 @@
{ {
"key": "group_block_wysiwyg", "key": "group_block_bad_example",
"title": "Block: WYSIWYG", "title": "Block: Bad Example",
"fields": [ "fields": [
{ {
"key": "field_68334c31c5faf", "key": "field_676599038e31d",
"label": "",
"name": "",
"aria-label": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "<h3><span class=\"dashicons dashicons-dismiss\"><\/span> Bad Example<\/h3>",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_67659accdc794",
"label": "Content",
"name": "",
"aria-label": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_67659ad8dc795",
"label": "Example",
"name": "",
"aria-label": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Place your block-specific custom fields here.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_67659a9bdc792",
"label": "Introduction", "label": "Introduction",
"name": "introduction", "name": "introduction",
"aria-label": "", "aria-label": "",
@@ -17,7 +70,7 @@
"id": "" "id": ""
}, },
"clone": [ "clone": [
"group_clone_block_intro" "group_block_intro"
], ],
"display": "seamless", "display": "seamless",
"layout": "block", "layout": "block",
@@ -25,72 +78,7 @@
"prefix_name": 0 "prefix_name": 0
}, },
{ {
"key": "field_68334c31c63fc", "key": "field_67659bca78cfa",
"label": "Content",
"name": "",
"aria-label": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 1,
"multi_expand": 0,
"endpoint": 0
},
{
"key": "field_68334c31c6fab",
"label": "",
"name": "wysiwyg",
"aria-label": "",
"type": "wysiwyg",
"instructions": "All drivers will be displayed if no category is selected.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_68334c31c67cb",
"operator": "==",
"value": "local"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "basic",
"media_upload": 0,
"delay": 0
},
{
"key": "field_68334c31c738b",
"label": "Content",
"name": "",
"aria-label": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 0,
"multi_expand": 0,
"endpoint": 1
},
{
"key": "field_68334c31c7775",
"label": "Footer", "label": "Footer",
"name": "footer", "name": "footer",
"aria-label": "", "aria-label": "",
@@ -104,7 +92,7 @@
"id": "" "id": ""
}, },
"clone": [ "clone": [
"group_clone_block_footer" "group_block_footer"
], ],
"display": "seamless", "display": "seamless",
"layout": "block", "layout": "block",
@@ -112,7 +100,7 @@
"prefix_name": 0 "prefix_name": 0
}, },
{ {
"key": "field_68334c31c7b66", "key": "field_67659ab5dc793",
"label": "Settings", "label": "Settings",
"name": "settings", "name": "settings",
"aria-label": "", "aria-label": "",
@@ -139,7 +127,7 @@
{ {
"param": "block", "param": "block",
"operator": "==", "operator": "==",
"value": "acf\/badegg-wysiwyg" "value": "acf\/badegg-bad-example"
} }
] ]
], ],
@@ -152,5 +140,5 @@
"active": true, "active": true,
"description": "", "description": "",
"show_in_rest": 0, "show_in_rest": 0,
"modified": 1748193022 "modified": 1734712286
} }

View File

@@ -1,5 +1,5 @@
{ {
"key": "group_clone_block_footer", "key": "group_block_footer",
"title": "Clone: Block Footer", "title": "Clone: Block Footer",
"fields": [ "fields": [
{ {
@@ -7,7 +7,7 @@
"label": "Footer", "label": "Footer",
"name": "", "name": "",
"aria-label": "", "aria-label": "",
"type": "accordion", "type": "tab",
"instructions": "", "instructions": "",
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
@@ -16,8 +16,7 @@
"class": "", "class": "",
"id": "" "id": ""
}, },
"open": 0, "placement": "top",
"multi_expand": 0,
"endpoint": 0 "endpoint": 0
}, },
{ {
@@ -54,7 +53,7 @@
"class": "", "class": "",
"id": "" "id": ""
}, },
"layout": "block", "layout": "table",
"pagination": 0, "pagination": 0,
"min": 0, "min": 0,
"max": 2, "max": 2,
@@ -86,54 +85,6 @@
"parent_repeater": "field_67659b7502137" "parent_repeater": "field_67659b7502137"
} }
] ]
},
{
"key": "field_682fb9ff58080",
"label": "Alignment",
"name": "footer_alignment",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"centre": "Centre",
"left": "Left",
"right": "Right"
},
"default_value": "centre",
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0
},
{
"key": "field_6828dac95eb68",
"label": "Footer (end)",
"name": "",
"aria-label": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 0,
"multi_expand": 0,
"endpoint": 1
} }
], ],
"location": [ "location": [
@@ -154,5 +105,5 @@
"active": true, "active": true,
"description": "", "description": "",
"show_in_rest": 0, "show_in_rest": 0,
"modified": 1747958307 "modified": 1734712326
} }

View File

@@ -0,0 +1,82 @@
{
"key": "group_block_intro",
"title": "Clone: Block Intro",
"fields": [
{
"key": "field_67659970db415",
"label": "Introduction",
"name": "",
"aria-label": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_676599964d3cc",
"label": "Heading",
"name": "heading",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_6765999d4d3cd",
"label": "Blurb",
"name": "blurb",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"rows": 3,
"placeholder": "",
"new_lines": ""
}
],
"location": [
[
{
"param": "widget",
"operator": "==",
"value": "rss"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1734711913
}

View File

@@ -2,6 +2,33 @@
"key": "group_clone_background_settings", "key": "group_clone_background_settings",
"title": "Clone: Background Settings", "title": "Clone: Background Settings",
"fields": [ "fields": [
{
"key": "field_672d3ba78bc40",
"label": "Background Type",
"name": "bg_type",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"choices": {
"0": "Solid Colour",
"image": "Still Photo",
"video": "Looping Video"
},
"default_value": 0,
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"ui": 0,
"ajax": 0,
"placeholder": ""
},
{ {
"key": "field_67325dd23234e", "key": "field_67325dd23234e",
"label": "Background Colour", "label": "Background Colour",
@@ -12,33 +39,26 @@
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
"wrapper": { "wrapper": {
"width": "50", "width": "20",
"class": "", "class": "",
"id": "" "id": ""
}, },
"choices": { "choices": {
"primary": "<i class=\"fas fa-circle\" style=\"color: #002448\"><\/i> Prussian Blue", "primary": "<i class=\"fas fa-circle\" style=\"color: #7A74A6\"><\/i> Kimberly",
"secondary": "<i class=\"fas fa-circle\" style=\"color: #fc533e\"><\/i> Sunset Orange", "secondary": "<i class=\"fas fa-circle\" style=\"color: #9C729E\"><\/i> Trendy Pink",
"tertiary": "<i class=\"fas fa-circle\" style=\"color: #fdd400\"><\/i> Gold", "tertiary": "<i class=\"fas fa-circle\" style=\"color: #B8728B\"><\/i> Turkish Rose",
"quaternary": "<i class=\"fas fa-circle\" style=\"color: #7d89d1\"><\/i> Moody Blue", "quaternary": "<i class=\"fas fa-circle\" style=\"color: #5875A0\"><\/i> Waikawa Gray",
"quinary": "<i class=\"fas fa-circle\" style=\"color: #ffdab4\"><\/i> Frangipani", "quinary": "<i class=\"fas fa-circle\" style=\"color: #4298B7\"><\/i> Boston Blue",
"0": "<i class=\"fas fa-circle\" style=\"color: #FFFFFF\"><\/i> White",
"black": "<i class=\"fas fa-circle\" style=\"color: #000000\"><\/i> Black", "black": "<i class=\"fas fa-circle\" style=\"color: #000000\"><\/i> Black",
"quaternary-white": "<i class=\"fas fa-circle text-gradient text-gradient-quaternary-white\"><\/i> Moody Blue to White", "0": "<i class=\"fas fa-circle\" style=\"color: #FFFFFF\"><\/i> White"
"quinary-white": "<i class=\"fas fa-circle text-gradient text-gradient-quinary-white\"><\/i> Frangipani to White",
"white-quaternary": "<i class=\"fas fa-circle text-gradient text-gradient-white-quaternary\"><\/i> White to Moody Blue",
"white-quinary": "<i class=\"fas fa-circle text-gradient text-gradient-white-quinary\"><\/i> White to Frangipani"
}, },
"default_value": 0, "default_value": 0,
"return_format": "value", "return_format": "value",
"multiple": 0, "multiple": 0,
"allow_null": 0, "allow_null": 0,
"allow_in_bindings": 1,
"ui": 1, "ui": 1,
"ajax": 0, "ajax": 0,
"placeholder": "", "placeholder": ""
"create_options": 0,
"save_options": 0
}, },
{ {
"key": "field_67325e213234f", "key": "field_67325e213234f",
@@ -50,7 +70,7 @@
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
"wrapper": { "wrapper": {
"width": "50", "width": "20",
"class": "", "class": "",
"id": "" "id": ""
}, },
@@ -67,12 +87,9 @@
"return_format": "value", "return_format": "value",
"multiple": 0, "multiple": 0,
"allow_null": 0, "allow_null": 0,
"allow_in_bindings": 1,
"ui": 1, "ui": 1,
"ajax": 0, "ajax": 0,
"placeholder": "", "placeholder": ""
"create_options": 0,
"save_options": 0
}, },
{ {
"key": "field_67350f526abf1", "key": "field_67350f526abf1",
@@ -84,7 +101,7 @@
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
"wrapper": { "wrapper": {
"width": "", "width": "20",
"class": "", "class": "",
"id": "" "id": ""
}, },
@@ -99,9 +116,413 @@
"allow_null": 0, "allow_null": 0,
"ui": 0, "ui": 0,
"ajax": 0, "ajax": 0,
"placeholder": "", "placeholder": ""
"create_options": 0, },
"save_options": 0 {
"key": "field_67325e3432350",
"label": "Opacity",
"name": "bg_opacity",
"aria-label": "",
"type": "range",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_672d3ba78bc40",
"operator": "!=",
"value": "0"
}
]
],
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"default_value": 30,
"min": 5,
"max": 100,
"step": 5,
"prepend": "",
"append": "%"
},
{
"key": "field_6734b234f9c47",
"label": "Pattern Edge",
"name": "pattern",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"choices": {
"0": "Disabled",
"top": "Top",
"bottom": "Bottom",
"both": "Both"
},
"default_value": 0,
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"ui": 0,
"ajax": 0,
"placeholder": ""
},
{
"key": "field_6734b2daf9c4b",
"label": "Top Pattern",
"name": "pattern_top",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6734b234f9c47",
"operator": "==",
"value": "top"
}
],
[
{
"field": "field_6734b234f9c47",
"operator": "==",
"value": "both"
}
]
],
"wrapper": {
"width": "40",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_673514b45e977",
"label": "Colour",
"name": "colour",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"choices": {
"primary": "<i class=\"fas fa-circle\" style=\"color: #7A74A6\"><\/i> Kimberly",
"secondary": "<i class=\"fas fa-circle\" style=\"color: #9C729E\"><\/i> Trendy Pink",
"tertiary": "<i class=\"fas fa-circle\" style=\"color: #B8728B\"><\/i> Turkish Rose",
"quaternary": "<i class=\"fas fa-circle\" style=\"color: #5875A0\"><\/i> Waikawa Gray",
"quinary": "<i class=\"fas fa-circle\" style=\"color: #4298B7\"><\/i> Boston Blue",
"black": "<i class=\"fas fa-circle\" style=\"color: #000000\"><\/i> Black",
"0": "<i class=\"fas fa-circle\" style=\"color: #FFFFFF\"><\/i> White"
},
"default_value": false,
"return_format": "",
"multiple": 0,
"allow_null": 0,
"ui": 1,
"ajax": 0,
"placeholder": ""
},
{
"key": "field_673514d85e978",
"label": "Tint",
"name": "tint",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"choices": {
"lightest": "Lightest",
"lighter": "Lighter",
"light": "Light",
"0": "None",
"dark": "Dark",
"darker": "Darker",
"darkest": "Darkest"
},
"default_value": 0,
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"ui": 0,
"ajax": 0,
"placeholder": ""
}
]
},
{
"key": "field_673514f15e979",
"label": "Bottom Pattern",
"name": "pattern_bottom",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "40",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_673514f15e97a",
"label": "Colour",
"name": "colour",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"choices": {
"primary": "<i class=\"fas fa-circle\" style=\"color: #7A74A6\"><\/i> Kimberly",
"secondary": "<i class=\"fas fa-circle\" style=\"color: #9C729E\"><\/i> Trendy Pink",
"tertiary": "<i class=\"fas fa-circle\" style=\"color: #B8728B\"><\/i> Turkish Rose",
"quaternary": "<i class=\"fas fa-circle\" style=\"color: #5875A0\"><\/i> Waikawa Gray",
"quinary": "<i class=\"fas fa-circle\" style=\"color: #4298B7\"><\/i> Boston Blue",
"black": "<i class=\"fas fa-circle\" style=\"color: #000000\"><\/i> Black",
"0": "<i class=\"fas fa-circle\" style=\"color: #FFFFFF\"><\/i> White"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"ui": 1,
"ajax": 0,
"placeholder": ""
},
{
"key": "field_673514f15e97b",
"label": "Tint",
"name": "tint",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_673514f15e97a",
"operator": "!=",
"value": "black"
}
],
[
{
"field": "field_673514f15e97a",
"operator": "!=",
"value": "0"
}
]
],
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"choices": {
"lightest": "Lightest",
"lighter": "Lighter",
"light": "Light",
"0": "None",
"dark": "Dark",
"darker": "Darker",
"darkest": "Darkest"
},
"default_value": 0,
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"ui": 0,
"ajax": 0,
"placeholder": ""
}
]
},
{
"key": "field_672d3b128bc39",
"label": "Background Image",
"name": "bg_image",
"aria-label": "",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_672d3ba78bc40",
"operator": "!=",
"value": "0"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"return_format": "id",
"library": "all",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "",
"preview_size": "medium"
},
{
"key": "field_672d3b228bc3a",
"label": "Background Video",
"name": "bg_video",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_672d3ba78bc40",
"operator": "==",
"value": "video"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"sub_fields": [
{
"key": "field_672d3b428bc3b",
"label": "Extra Small",
"name": "xs",
"aria-label": "",
"type": "file",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"return_format": "array",
"library": "all",
"min_size": "",
"max_size": "",
"mime_types": "mp4"
},
{
"key": "field_672d3b678bc3c",
"label": "Small",
"name": "sm",
"aria-label": "",
"type": "file",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"return_format": "array",
"library": "all",
"min_size": "",
"max_size": "",
"mime_types": "mp4"
},
{
"key": "field_672d3b728bc3d",
"label": "Medium",
"name": "md",
"aria-label": "",
"type": "file",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"return_format": "array",
"library": "all",
"min_size": "",
"max_size": "",
"mime_types": "mp4"
},
{
"key": "field_672d3b7a8bc3e",
"label": "Large",
"name": "lg",
"aria-label": "",
"type": "file",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"return_format": "array",
"library": "all",
"min_size": "",
"max_size": "",
"mime_types": "mp4"
},
{
"key": "field_672d3b838bc3f",
"label": "Extra Large",
"name": "xl",
"aria-label": "",
"type": "file",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "20",
"class": "",
"id": ""
},
"return_format": "array",
"library": "all",
"min_size": "",
"max_size": "",
"mime_types": "mp4"
}
]
} }
], ],
"location": [ "location": [
@@ -122,5 +543,5 @@
"active": true, "active": true,
"description": "", "description": "",
"show_in_rest": 0, "show_in_rest": 0,
"modified": 1748194684 "modified": 1733505903
} }

View File

@@ -1,153 +0,0 @@
{
"key": "group_clone_block_intro",
"title": "Clone: Block Intro",
"fields": [
{
"key": "field_67659970db415",
"label": "Introduction",
"name": "",
"aria-label": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 0,
"multi_expand": 0,
"endpoint": 0
},
{
"key": "field_682fb8d9f6f3f",
"label": "Overline",
"name": "overline",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": ""
},
{
"key": "field_676599964d3cc",
"label": "Heading",
"name": "heading",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "hfont",
"id": ""
},
"default_value": "",
"maxlength": "",
"allow_in_bindings": 0,
"rows": 2,
"placeholder": "",
"new_lines": "br"
},
{
"key": "field_6765999d4d3cd",
"label": "Blurb",
"name": "blurb",
"aria-label": "",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"rows": 3,
"placeholder": "",
"new_lines": ""
},
{
"key": "field_682fb9add5a3b",
"label": "Alignment",
"name": "intro_alignment",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"centre": "Centre",
"left": "Left",
"right": "Right"
},
"default_value": "centre",
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0
},
{
"key": "field_6828dae1d1bb0",
"label": "Intro (end)",
"name": "",
"aria-label": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 0,
"multi_expand": 0,
"endpoint": 1
}
],
"location": [
[
{
"param": "widget",
"operator": "==",
"value": "rss"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1747958910
}

View File

@@ -7,7 +7,7 @@
"label": "Settings", "label": "Settings",
"name": "", "name": "",
"aria-label": "", "aria-label": "",
"type": "accordion", "type": "tab",
"instructions": "", "instructions": "",
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
@@ -16,59 +16,9 @@
"class": "", "class": "",
"id": "" "id": ""
}, },
"open": 0, "placement": "top",
"multi_expand": 0,
"endpoint": 0 "endpoint": 0
}, },
{
"key": "field_680016e0fac24",
"label": "Anchor ID",
"name": "section_anchor_id",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"placeholder": "",
"prepend": "#",
"append": ""
},
{
"key": "field_6800097e61765",
"label": "Container Width",
"name": "container_width",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"0": "Full Width",
"large": "Large",
"medium": "Medium",
"small": "Small",
"narrow": "Narrow"
},
"default_value": 0,
"return_format": "value",
"multiple": 0,
"allow_null": 0,
"ui": 0,
"ajax": 0,
"placeholder": ""
},
{ {
"key": "field_67350eb62cdf9", "key": "field_67350eb62cdf9",
"label": "Top Padding", "label": "Top Padding",
@@ -79,7 +29,7 @@
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
"wrapper": { "wrapper": {
"width": "50", "width": "33.33",
"class": "", "class": "",
"id": "" "id": ""
}, },
@@ -104,7 +54,7 @@
"required": 0, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
"wrapper": { "wrapper": {
"width": "50", "width": "33.33",
"class": "", "class": "",
"id": "" "id": ""
}, },
@@ -158,46 +108,6 @@
"layout": "block", "layout": "block",
"prefix_label": 0, "prefix_label": 0,
"prefix_name": 0 "prefix_name": 0
},
{
"key": "field_67fff4d4ddbb7",
"label": "Angle",
"name": "angle",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"group_clone_angle"
],
"display": "seamless",
"layout": "block",
"prefix_label": 1,
"prefix_name": 1
},
{
"key": "field_6828da67543fc",
"label": "Settings (end)",
"name": "",
"aria-label": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 0,
"multi_expand": 0,
"endpoint": 1
} }
], ],
"location": [ "location": [
@@ -218,5 +128,5 @@
"active": true, "active": true,
"description": "", "description": "",
"show_in_rest": 0, "show_in_rest": 0,
"modified": 1747508044 "modified": 1731536288
} }

View File

@@ -9,15 +9,14 @@
"aria-label": "", "aria-label": "",
"type": "link", "type": "link",
"instructions": "", "instructions": "",
"required": 1, "required": 0,
"conditional_logic": 0, "conditional_logic": 0,
"wrapper": { "wrapper": {
"width": "", "width": "40",
"class": "", "class": "",
"id": "" "id": ""
}, },
"return_format": "array", "return_format": "array"
"allow_in_bindings": 1
}, },
{ {
"key": "field_673529a2a37a1", "key": "field_673529a2a37a1",
@@ -27,22 +26,14 @@
"type": "text", "type": "text",
"instructions": "", "instructions": "",
"required": 0, "required": 0,
"conditional_logic": [ "conditional_logic": 0,
[
{
"field": "field_672d3d7b2c273",
"operator": "!=empty"
}
]
],
"wrapper": { "wrapper": {
"width": "", "width": "20",
"class": "", "class": "",
"id": "" "id": ""
}, },
"default_value": "", "default_value": "",
"maxlength": "", "maxlength": "",
"allow_in_bindings": 1,
"placeholder": "", "placeholder": "",
"prepend": "", "prepend": "",
"append": "" "append": ""
@@ -55,42 +46,28 @@
"type": "select", "type": "select",
"instructions": "", "instructions": "",
"required": 0, "required": 0,
"conditional_logic": [ "conditional_logic": 0,
[
{
"field": "field_672d3d7b2c273",
"operator": "!=empty"
}
]
],
"wrapper": { "wrapper": {
"width": "", "width": "20",
"class": "", "class": "",
"id": "" "id": ""
}, },
"choices": { "choices": {
"primary": "<i class=\"fas fa-circle\" style=\"color: #002448\"><\/i> Prussian Blue", "primary": "<i class=\"fas fa-circle\" style=\"color: #7A74A6\"><\/i> Kimberly",
"secondary": "<i class=\"fas fa-circle\" style=\"color: #fc533e\"><\/i> Sunset Orange", "secondary": "<i class=\"fas fa-circle\" style=\"color: #9C729E\"><\/i> Trendy Pink",
"tertiary": "<i class=\"fas fa-circle\" style=\"color: #fdd400\"><\/i> Gold", "tertiary": "<i class=\"fas fa-circle\" style=\"color: #B8728B\"><\/i> Turkish Rose",
"quaternary": "<i class=\"fas fa-circle\" style=\"color: #7d89d1\"><\/i> Moody Blue", "quaternary": "<i class=\"fas fa-circle\" style=\"color: #5875A0\"><\/i> Waikawa Gray",
"quinary": "<i class=\"fas fa-circle\" style=\"color: #ffdab4\"><\/i> Frangipani", "quinary": "<i class=\"fas fa-circle\" style=\"color: #4298B7\"><\/i> Boston Blue",
"0": "<i class=\"fas fa-circle\" style=\"color: #FFFFFF\"><\/i> White",
"black": "<i class=\"fas fa-circle\" style=\"color: #000000\"><\/i> Black", "black": "<i class=\"fas fa-circle\" style=\"color: #000000\"><\/i> Black",
"quaternary-white": "<i class=\"fas fa-circle text-gradient text-gradient-quaternary-white\"><\/i> Moody Blue to White", "0": "<i class=\"fas fa-circle\" style=\"color: #FFFFFF\"><\/i> White"
"quinary-white": "<i class=\"fas fa-circle text-gradient text-gradient-quinary-white\"><\/i> Frangipani to White",
"white-quaternary": "<i class=\"fas fa-circle text-gradient text-gradient-white-quaternary\"><\/i> White to Moody Blue",
"white-quinary": "<i class=\"fas fa-circle text-gradient text-gradient-white-quinary\"><\/i> White to Frangipani"
}, },
"default_value": "primary", "default_value": 0,
"return_format": "value", "return_format": "value",
"multiple": 0, "multiple": 0,
"allow_null": 0, "allow_null": 0,
"allow_in_bindings": 1,
"ui": 1, "ui": 1,
"ajax": 0, "ajax": 0,
"placeholder": "", "placeholder": ""
"create_options": 0,
"save_options": 0
}, },
{ {
"key": "field_672d3dc52c275", "key": "field_672d3dc52c275",
@@ -100,16 +77,9 @@
"type": "select", "type": "select",
"instructions": "", "instructions": "",
"required": 0, "required": 0,
"conditional_logic": [ "conditional_logic": 0,
[
{
"field": "field_672d3d7b2c273",
"operator": "!=empty"
}
]
],
"wrapper": { "wrapper": {
"width": "", "width": "20",
"class": "", "class": "",
"id": "" "id": ""
}, },
@@ -121,12 +91,9 @@
"return_format": "value", "return_format": "value",
"multiple": 0, "multiple": 0,
"allow_null": 0, "allow_null": 0,
"allow_in_bindings": 1,
"ui": 0, "ui": 0,
"ajax": 0, "ajax": 0,
"placeholder": "", "placeholder": ""
"create_options": 0,
"save_options": 0
} }
], ],
"location": [ "location": [
@@ -147,5 +114,5 @@
"active": true, "active": true,
"description": "", "description": "",
"show_in_rest": 0, "show_in_rest": 0,
"modified": 1748001311 "modified": 1731537485
} }

View File

@@ -1,6 +1,6 @@
{ {
"key": "group_post_social", "key": "group_post_social",
"title": "Settings: Social Channel", "title": "Social Channel Settings",
"fields": [ "fields": [
{ {
"key": "field_664c658853f1b", "key": "field_664c658853f1b",
@@ -492,9 +492,7 @@
"allow_null": 0, "allow_null": 0,
"ui": 1, "ui": 1,
"ajax": 0, "ajax": 0,
"placeholder": "", "placeholder": ""
"create_options": 0,
"save_options": 0
}, },
{ {
"key": "field_664c65c653f1c", "key": "field_664c65c653f1c",
@@ -532,5 +530,5 @@
"active": true, "active": true,
"description": "", "description": "",
"show_in_rest": 0, "show_in_rest": 0,
"modified": 1748087727 "modified": 1734711372
} }

View File

@@ -1,42 +0,0 @@
{
"key": "group_settings_organization",
"title": "Organization Settings",
"fields": [
{
"key": "field_6754469181492",
"label": "Website",
"name": "website",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "organization"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1733960217
}

View File

@@ -0,0 +1,26 @@
// Global Variables, Mixins, and Framework
@use "global/variables";
@use "global/mixins";
@use "global/fonts";
@use "global/typography";
@use "global/framework";
// Third Party Plugins
@use "plugins/contact-form-7";
@use "plugins/mce";
// Sections
@use "sections/header";
@use "sections/footer";
// Components
@use "components/forms";
@use "components/button";
@use "components/card";
// Blocks
@use "blocks/BadExample";
// Page Styles
@use "views/page";

View File

@@ -1,3 +1,6 @@
@use "../global/fonts";
@use "../global/variables/colours";
button { button {
&%block, &%block,
&.block { &.block {
@@ -10,68 +13,66 @@ button {
button, button,
input[type="submit"] { input[type="submit"] {
&.btn { &.button {
appearance: none; appearance: none;
} }
} }
%btn, %button,
.btn { .button {
display: inline-block; display: inline-block;
padding: 0.75em 1.5em; padding: 0.5em 1.25em;
border: 0.125em solid $black; border: 0.125em solid colours.$black;
border-radius: 2em; border-radius: 0.25em;
background-color: $black; background-color: colours.$black;
color: $white; color: colours.$white;
font-family: $font; font-family: fonts.$font;
font-weight: 700; font-weight: 700;
font-size: 1em;
text-transform: lowercase;
text-decoration: none; text-decoration: none;
white-space: normal; white-space: normal;
cursor: pointer; cursor: pointer;
transition: 300ms ease all; transition: 300ms ease all;
.knockout & { .knockout & {
background-color: $white; background-color: colours.$white;
border-color: $white; border-color: colours.$white;
color: currentcolor; color: currentcolor;
} }
&:hover, &:hover,
&:focus { &:focus {
color: $white; color: colours.$white;
text-decoration: none; text-decoration: none;
background-color: rgba($black, 0.5); background-color: rgba(colours.$black, 0.5);
border-color: rgba($black, 0.5); border-color: rgba(colours.$black, 0.5);
.knockout & { .knockout & {
background-color: rgba($white, 0.5); background-color: rgba(colours.$white, 0.5);
border-color: rgba($white, 0.5); border-color: rgba(colours.$white, 0.5);
color: currentcolor; color: currentcolor;
} }
} }
&.outline { &.outline {
border-color: $black; border-color: colours.$black;
background-color: transparent; background-color: transparent;
color: $black; color: colours.$black;
&:hover, &:hover,
&:focus { &:focus {
background-color: $black; background-color: colours.$black;
color: $white; color: colours.$white;
} }
.knockout & { .knockout & {
@media screen { @media screen {
border-color: $white; border-color: colours.$white;
color: $white; color: colours.$white;
&:hover, &:hover,
&:focus { &:focus {
background-color: $white; background-color: colours.$white;
color: $black; color: colours.$black;
} }
} }
} }
@@ -101,11 +102,10 @@ input[type="submit"] {
&.bigger { font-size: 1.5em; } &.bigger { font-size: 1.5em; }
} }
.btn-wrap { .button-wrap {
margin: 1.5em -0.25em -0.25em; margin: 1.5em -0.25em -0.25em;
input[type=submit], .button {
.btn {
margin: 0.25em; margin: 0.25em;
} }
} }

View File

@@ -1,36 +1,32 @@
select, @use "../global/fonts";
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), @use "../global/variables/breakpoints";
@use "../global/variables/colours";
textarea { textarea {
color: $grey-dark; min-height: 10.375em;
}
input,
textarea {
color: colours.$grey;
background: white; background: white;
font-weight: 400; font-weight: 400;
font-size: 1em; font-size: 1em;
font-family: $font; font-family: fonts.$font;
width: 100%; width: 100%;
padding: 0.5em 1em; padding: 0.875em 1em;
margin: 0; margin: 0 0 1em;
border-radius: 0; // border-radius: 0.125em;
border: 1px solid $grey; border: 0.0625em solid rgba(colours.$black, 0.1);
outline: none;
transition: all 300ms ease; transition: all 300ms ease;
outline-color: $primary-lighter;
&::placeholder { &::placeholder {
color: $grey-lighter; color: colours.$grey-light;
} }
&:focus { &:focus {
border-color: $primary-light; box-shadow: 0 0.25em 0.5em rgba(colours.$black, 0.1);
color: $primary-lighter;
}
.hfont & {
font-weight: bold;
font-family: $hfont;
color: $primary;
&:focus {
color: $primary-lighter;
}
} }
} }
@@ -47,18 +43,16 @@ input[type="checkbox"] {
select { select {
width: 100%; width: 100%;
appearance: none;
} }
.field-wrap { .field-wrap {
flex: 1 1 calc(100% - 1em); flex: 1 1 calc(100% - 1em);
margin: 0.5em; margin: 0 0.5em;
transition: all 300ms ease; transition: all 300ms ease;
span.label { p {
display: block; display: flex;
font-size: 0.75em; flex-wrap: wrap;
margin: 0 0 0.25em;
} }
label { label {
@@ -75,35 +69,17 @@ select {
margin: 0; margin: 0;
} }
.has-icon {
position: relative;
i {
position: absolute;
top: 0.45em;
left: 0.5em;
z-index: 1;
color: $quaternary-lighter;
font-size: 1.25em;
}
input,
select {
padding-left: 2.5em !important;
}
}
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
.mce_inline_error { .mce_inline_error {
flex: 0 0 100%; flex: 0 0 100%;
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
margin: 0; margin: 0;
font-family: $font; font-family: fonts.$font;
} }
/* stylelint-enable selector-class-pattern */ /* stylelint-enable selector-class-pattern */
@media (min-width: $screen-sm) { @media (min-width: breakpoints.$screen-sm) {
&.half { &.half {
flex: 0 0 calc(50% - 1em); flex: 0 0 calc(50% - 1em);
max-width: calc(50% - 1em); max-width: calc(50% - 1em);
@@ -112,41 +88,73 @@ select {
} }
} }
.select-wrap { .form-footer {
.has-icon { p {
select { margin: 0;
padding-right: 1.5em; line-height: 1.2;
}
button,
.button,
input[type="submit"] {
margin: 0;
}
.wpcf7-list-item {
margin: 0;
user-select: none;
}
.form-footer-button {
flex: 1 1 100%;
display: block;
margin: 2em 0 0;
}
@media (min-width: breakpoints.$screen-sm) {
display: flex;
flex-wrap: wrap;
.form-footer-button {
flex: 0 0 8.5em;
max-width: 8.5em;
width: 8.5em;
margin: 0 0 0 2em;
text-align: right;
} }
&::after { .form-footer-text {
content: '\f0d7'; flex: 1 1 5em;
font-family: 'Font Awesome 6 Free', serif; margin: auto;
font-weight: 900;
display: block; p {
position: absolute; display: block;
top: 0.375em; }
right: 0.75em;
color: $grey-light;
} }
} }
} }
.section-form { .section-form {
container-name: SectionForm; button {
container-type: inline-size; margin: 1em 0 0;
}
span.label {
font-weight: 700;
}
.textarea-wrap {
span.label {
display: none;
}
}
form { form {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin: -0.5em; margin: 1em -0.5em 0;
position: relative; position: relative;
div[class^="eacf7-form-"] {
flex: auto;
display: flex;
flex-wrap: wrap;
}
.wpcf7 { .wpcf7 {
.screen-reader-response { .screen-reader-response {
display: none; display: none;
@@ -159,55 +167,27 @@ select {
left: calc(50% - 12px); left: calc(50% - 12px);
} }
&-form-control-wrap {
display: block;
}
&-not-valid-tip { &-not-valid-tip {
position: absolute; background: colours.$error;
right: -0.5em; color: colours.$white;
top: -3.125em;
background: $error;
color: $white;
padding: 0.5em 1em; padding: 0.5em 1em;
border-radius: 0.5em; border-radius: 0 0 0.5em 0.5em;
font-weight: 700; font-weight: 700;
font-size: 0.75em;
transition: all 300ms ease;
&::before {
content: '';
position: absolute;
right: 1em;
bottom: -0.25em;
display: block;
width: 1em;
height: 1em;
background: $error;
transform: rotate(45deg);
}
&:hover {
opacity: 0.1;
}
} }
&-response-output { &-response-output {
display: block; margin: 1em 0.5em 0;
margin: 2em auto 0; max-width: calc(100% - 1em);
flex: 1 1 100%; width: calc(100% - 1em);
width: 100%; flex: 0 0 calc(100% - 1em);
text-align: left; text-align: center;
font-family: $font; color: colours.$white;
font-family: fonts.$font;
font-weight: 700; font-weight: 700;
font-size: 0.875em; background: colours.$black;
border: 0.125em solid colours.$white;
padding: 0.5em 1em; padding: 0.5em 1em;
border-radius: 0.5em; border-radius: 0.5em;
border-width: 0;
@extend .white;
@extend .bg-black;
@extend .knockout;
} }
&-display-none { &-display-none {
@@ -231,7 +211,7 @@ select {
display: block; display: block;
width: 1.25em; width: 1.25em;
height: 1.25em; height: 1.25em;
border: 0.125em solid $black; border: 0.125em solid colours.$black;
background: transparent; background: transparent;
color: currentcolor; color: currentcolor;
@@ -256,29 +236,6 @@ select {
} }
} }
.form-footer {
@container SectionForm (min-width: #{$screen-sm}) {
display: flex;
align-items: center;
justify-content: space-between;
&-text {
flex: 1;
}
}
button,
.btn,
input[type="submit"] {
margin: 0;
}
.wpcf7-list-item {
margin: 0;
user-select: none;
}
}
&.submitting { &.submitting {
.field-wrap:not(.form-footer) { .field-wrap:not(.form-footer) {
opacity: 0.1; opacity: 0.1;
@@ -297,13 +254,15 @@ select {
&.sent { &.sent {
.wpcf7-response-output { .wpcf7-response-output {
@extend .bg-success; background: colours.$success;
border-color: colours.$white;
} }
} }
&.invalid { &.invalid {
.wpcf7-response-output { .wpcf7-response-output {
@extend .bg-error; background: colours.$error;
border-color: colours.$white;
} }
} }
@@ -322,7 +281,7 @@ select {
.wpcf7 { .wpcf7 {
&-checkbox { &-checkbox {
input[type="checkbox"] { input[type="checkbox"] {
border-color: $white; border-color: colours.$white;
} }
} }
} }

View File

@@ -0,0 +1,56 @@
$font: "Ubuntu", Helvetica, Arial, sans-serif;
/*
* Roots Fonts Setup
* https://roots.io/sage/docs/fonts-setup/
*
* Self-Hosted Google Fonts (Ubuntu Demo)
* https://gwfh.mranftl.com/fonts/ubuntu?subsets=latin
*
* Add the font to your Tailwind config
* tailwind.config.cjs
*
* Configure theme.json to use the font with Bud
*/
/* stylelint-disable */
/* ubuntu-regular - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/ubuntu-v20-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ubuntu-italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Ubuntu';
font-style: italic;
font-weight: 400;
src: url('../fonts/ubuntu-v20-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/ubuntu-v20-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ubuntu-700 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Ubuntu';
font-style: normal;
font-weight: 700;
src: url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/ubuntu-v20-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ubuntu-700italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Ubuntu';
font-style: italic;
font-weight: 700;
src: url('../fonts/ubuntu-v20-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/ubuntu-v20-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

View File

@@ -0,0 +1,4 @@
@use "framework/breakpoints";
@use "framework/normalise";
@use "framework/colours";
@use "framework/spacing";

View File

@@ -0,0 +1,4 @@
@use "mixins/linear-gradient";
@use "mixins/text-contrast";
@use "mixins/generate-colour-classes";
@use "mixins/generate-button-classes";

View File

@@ -1,14 +1,29 @@
@use "fonts";
@use "variables/breakpoints";
@use "variables/colours";
@use "variables/spacing";
.wysiwyg {
*:first-child {
margin-top: 0;
}
*:last-child {
margin-bottom: 0;
}
}
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6 {
color: $primary; color: colours.$primary;
font-weight: 700; font-weight: 700;
font-family: $hfont; font-family: fonts.$font;
line-height: 1.1em; line-height: 1.1em;
margin: 1.5em 0 0.5em; margin: 1.5em 0 0.25em;
padding: 0; padding: 0;
&.section-title { &.section-title {
@@ -17,7 +32,7 @@ h6 {
@media screen { @media screen {
.knockout & { .knockout & {
color: $white; color: colours.$white;
} }
} }
} }
@@ -33,7 +48,7 @@ h3 { font-size: 1.25em; }
h4, h4,
h5 { font-size: 1.15em; } h5 { font-size: 1.15em; }
@container (min-width: #{$screen-sm}) { @media (min-width: breakpoints.$screen-sm) {
h1 { font-size: 2.5em; } h1 { font-size: 2.5em; }
h2 { font-size: 2em; } h2 { font-size: 2em; }
h3 { font-size: 1.5em; } h3 { font-size: 1.5em; }
@@ -48,8 +63,8 @@ p,
li, li,
td, td,
label { label {
color: $grey-darker; color: colours.$grey;
font-family: $font; font-family: fonts.$font;
font-weight: 400; font-weight: 400;
line-height: 1.5em; line-height: 1.5em;
margin: 0 0 0.8em; margin: 0 0 0.8em;
@@ -57,39 +72,30 @@ label {
@media screen { @media screen {
.knockout & { .knockout & {
color: $white; color: colours.$white;
} }
} }
} }
.overline {
margin: 0 0 0.125em;
@container (min-width: #{$screen-md}) {
font-size: 1.25em;
}
}
a { a {
color: $primary; color: colours.$primary;
text-decoration: none; text-decoration: none;
outline: none; outline: none;
transition: all 300ms ease; transition: all 300ms ease;
font-weight: bold;
&:hover, &:hover,
&:focus { &:focus {
color: $primary-dark; color: colours.$primary-dark;
text-decoration: none; text-decoration: none;
} }
@media screen { @media screen {
.knockout & { .knockout & {
color: $white; color: colours.$white;
&:hover, &:hover,
&:focus { &:focus {
color: $tertiary; color: colours.$primary-light;
} }
} }
} }
@@ -125,12 +131,12 @@ ol {
hr { hr {
margin: 1.5em auto 2em; margin: 1.5em auto 2em;
height: 0; height: 0;
border: 0 solid $grey-light; border: 0 solid colours.$grey-light;
border-width: $borderThin 0 0; border-width: spacing.$borderThin 0 0;
@media screen { @media screen {
.knockout & { .knockout & {
border-color: $white; border-color: colours.$white;
} }
} }
} }
@@ -144,47 +150,3 @@ hr {
text-align: right; text-align: right;
} }
} }
.wysiwyg {
>*:first-child {
margin-top: 0;
}
>*:last-child {
margin-bottom: 0;
}
a:not(.btn) {
text-decoration: underline;
font-weight: bold;
}
}
blockquote {
p {
font-family: $hfont;
font-weight: bold;
line-height: 1.2;
}
>*:first-child::before,
>*:last-child::after {
color: $secondary;
line-height: 1;
display: inline-block;
vertical-align: top;
transform: scale(1.5);
}
>*:first-child::before {
content: '\201C';
margin-right: 0.125em;
transform-origin: top right;
}
>*:last-child::after {
content: '\201D';
margin-left: 0.125em;
transform-origin: top left;
}
}

View File

@@ -0,0 +1,3 @@
@use "variables/colours";
@use "variables/breakpoints";
@use "variables/spacing";

View File

@@ -1,4 +1,6 @@
@each $label, $value in $breakpoints { @use "../variables/breakpoints";
@each $label, $value in breakpoints.$breakpoints {
.min-#{$label} { .min-#{$label} {
@media (min-width: $value) { @media (min-width: $value) {
display: none; display: none;

View File

@@ -0,0 +1,13 @@
@use "../mixins/generate-button-classes";
@use "../mixins/generate-colour-classes";
@use "../variables/colours";
::selection {
color: colours.$white;
background: colours.$primary;
}
@each $color, $hex in colours.$colors {
@include generate-colour-classes.generate_colour_classes($color, $hex);
@include generate-button-classes.generate_button_colors($color, $hex);
}

View File

@@ -1,3 +1,5 @@
@use "../variables/colours";
* { * {
box-sizing: border-box; box-sizing: border-box;
backface-visibility: hidden; // removes jagged edges on rotated elements backface-visibility: hidden; // removes jagged edges on rotated elements
@@ -5,14 +7,13 @@
html { html {
font-size: 16px; font-size: 16px;
scroll-behavior: smooth;
} }
body, body,
html { html {
margin: 0; margin: 0;
padding: 0; padding: 0;
background: $white; background: colours.$white;
} }
.visually-hidden { .visually-hidden {
@@ -32,10 +33,5 @@ img {
&.lazy { &.lazy {
filter: blur(0.25em); filter: blur(0.25em);
opacity: 0;
} }
} }
svg {
fill: currentColor;
}

View File

@@ -0,0 +1,113 @@
@use "../variables/colours";
@use "../variables/spacing";
.brand {
display: block;
width: spacing.$brandWidth;
height: spacing.$brandHeight;
svg,
img {
display: block;
width: spacing.$brandWidth;
height: spacing.$brandHeight;
}
.knockout & {
@media screen {
.fill-primary {
fill: colours.$white;
}
.fill-grey {
fill: rgba(colours.$white, 0.8);
}
}
}
}
.container {
width: 90%;
margin: auto;
&-large { max-width: spacing.$containerLarge; }
&-medium { max-width: spacing.$containerMedium; }
&-small { max-width: spacing.$containerSmall; }
&-narrow { max-width: spacing.$containerNarrow; }
}
.section {
padding: spacing.$sectionMedium 0;
&-small { padding: spacing.$sectionSmall 0; }
&-medium { padding: spacing.$sectionMedium 0; }
&-large { padding: spacing.$sectionLarge 0; }
&-zero-top { padding-top: 0; }
&-zero-bottom { padding-bottom: 0; }
}
.inner {
padding: spacing.$innerMedium;
&-small { padding: spacing.$innerSmall; }
&-large { padding: spacing.$innerLarge; }
&-zero-x {
padding-left: 0;
padding-right: 0;
}
&-zero-y {
padding-top: 0;
padding-top: 0;
}
}
.rounded {
border-radius: spacing.$borderRadius;
&-top {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
&-bottom {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
}
.border {
border-style: solid;
border-width: spacing.$borderWidth;
&-thin { border-width: 0.0625em; }
&-regular { border-width: spacing.$borderWidth; }
&-thick { border-width: spacing.$borderThick; }
&-thicker { border-width: spacing.$borderThicker; }
&-top {
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
}
&-right {
border-top-width: 0;
border-bottom-width: 0;
border-left-width: 0;
}
&-bottom {
border-top-width: 0;
border-right-width: 0;
border-left-width: 0;
}
&-left {
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
}
}

View File

@@ -1,35 +1,37 @@
@use "../variables/colours";
@use "sass:color"; @use "sass:color";
@mixin generate_button_colors($name, $hex) { @mixin generate_button_colors($name, $hex) {
$buttons: ( $buttons: (
".btn", ".button",
"button", "button",
"input[type=submit]", "input[type=submit]",
); );
@each $button in $buttons { @each $button in $buttons {
#{$button}.#{$name} { #{$button}.#{$name} {
@include text-contrast($hex); color: colours.$white;
background: $hex; background: $hex;
border-color: $hex; border-color: $hex;
&:hover, &:hover,
&:focus { &:focus {
@include text-contrast($hex); color: colours.$white;
background: color.adjust($hex, $lightness: 10%); background: color.adjust($hex, $lightness: 10%);
border-color: color.adjust($hex, $lightness: 10%); border-color: color.adjust($hex, $lightness: 10%);
} }
} }
#{$button}.#{$name}.inverted { #{$button}.#{$name}.inverted {
@include text-contrast($hex); color: $hex;
background: transparent; background: transparent;
border-color: $hex; border-color: $hex;
&:hover, &:hover,
&:focus { &:focus {
@include text-contrast($hex); color: white;
background: #{$hex}; background: #{$hex};
border-color: #{$hex}; border-color: #{$hex};
} }
@@ -37,26 +39,26 @@
@media screen { @media screen {
*:not(.bg-#{$name}) #{$button}.#{$name} { *:not(.bg-#{$name}) #{$button}.#{$name} {
@include text-contrast($hex); color: white;
background-color: $hex; background-color: $hex;
border-color: $hex; border-color: $hex;
&:hover, &:hover,
&:focus { &:focus {
@include text-contrast($hex); color: white;
background-color: color.adjust($hex, $lightness: 10%); background-color: color.adjust($hex, $lightness: 10%);
border-color: color.adjust($hex, $lightness: 10%); border-color: color.adjust($hex, $lightness: 10%);
} }
} }
.bg-#{$name} #{$button}.#{$name} { .bg-#{$name} #{$button}.#{$name} {
@include text-contrast($hex); color: $hex;
background: white; background: white;
border-color: white; border-color: white;
&:hover, &:hover,
&:focus { &:focus {
@include text-contrast($hex); color: white;
background: transparent; background: transparent;
border-color: white; border-color: white;
} }

View File

@@ -1,8 +1,8 @@
@use "text-contrast";
@use "sass:color"; @use "sass:color";
@mixin generate_colour_classes($name, $hex) { @mixin generate_colour_classes($name, $hex) {
.knockout .#{$name},
.#{$name} { .#{$name} {
color: $hex; color: $hex;
} }
@@ -20,7 +20,7 @@
background-color: $hex; background-color: $hex;
::selection { ::selection {
@include text_contrast(color.invert($hex)); @include text-contrast.text_contrast(color.invert($hex));
background: color.invert($hex); background: color.invert($hex);
} }
} }

View File

@@ -1,5 +1,3 @@
@use "sass:list";
// define as many $color-stops as needed // define as many $color-stops as needed
@mixin linear-gradient($direction, $color-stops...) { @mixin linear-gradient($direction, $color-stops...) {
background: list.nth(list.nth($color-stops, 1), 1); background: list.nth(list.nth($color-stops, 1), 1);

View File

@@ -0,0 +1,17 @@
@use "../variables/colours";
@use "sass:color";
@use "sass:math";
@mixin text-contrast($n, $dark: colours.$black, $light: colours.$white, $cutoff: 1.667) {
$brightness: math.round((color.channel($n, "red") * 299) + (color.channel($n, "green") * 587) + math.div((color.channel($n, "blue") * 114), 1000));
$light-color: math.round((color.channel(colours.$white, "red") * 299) + (color.channel(colours.$white, "green") * 587) + math.div((color.channel(colours.$white, "blue") * 114), 1000));
@if math.abs($brightness) < (math.div($light-color, $cutoff)) {
color: $light;
}
@else {
color: $dark;
}
}

View File

@@ -0,0 +1,105 @@
@use "sass:color";
//== Status
$success: #39b54a;
$error: #be1e2d;
$alert: #eed202;
//== Brand Colours
$primary: #337ab7;
$secondary: #5bc0de;
$tertiary: color.invert($primary);
$quaternary: color.invert($secondary);
//== Primary Tints
$primary-darkest: color.adjust($primary, $lightness: -30%);
$primary-darker: color.adjust($primary, $lightness: -20%);
$primary-dark: color.adjust($primary, $lightness: -10%);
$primary-light: color.adjust($primary, $lightness: 10%);
$primary-lighter: color.adjust($primary, $lightness: 20%);
$primary-lightest: color.adjust($primary, $lightness: 30%);
//== Secondary Tints
$secondary-darkest: color.adjust($secondary, $lightness: -30%);
$secondary-darker: color.adjust($secondary, $lightness: -20%);
$secondary-dark: color.adjust($secondary, $lightness: -10%);
$secondary-light: color.adjust($secondary, $lightness: 10%);
$secondary-lighter: color.adjust($secondary, $lightness: 20%);
$secondary-lightest: color.adjust($secondary, $lightness: 30%);
//== Tertiary Tints
$tertiary-darkest: color.adjust($tertiary, $lightness: -30%);
$tertiary-darker: color.adjust($tertiary, $lightness: -20%);
$tertiary-dark: color.adjust($tertiary, $lightness: -10%);
$tertiary-light: color.adjust($tertiary, $lightness: 10%);
$tertiary-lighter: color.adjust($tertiary, $lightness: 20%);
$tertiary-lightest: color.adjust($tertiary, $lightness: 30%);
//== quaternary Tints
$quaternary-darkest: color.adjust($quaternary, $lightness: -30%);
$quaternary-darker: color.adjust($quaternary, $lightness: -20%);
$quaternary-dark: color.adjust($quaternary, $lightness: -10%);
$quaternary-light: color.adjust($quaternary, $lightness: 10%);
$quaternary-lighter: color.adjust($quaternary, $lightness: 20%);
$quaternary-lightest: color.adjust($quaternary, $lightness: 30%);
//== Shades
$white: white;
$grey-lightest: color.adjust(black, $lightness: 95%);
$grey-lighter: color.adjust(black, $lightness: 80%);
$grey-light: color.adjust(black, $lightness: 70%);
$grey: color.adjust(black, $lightness: 50%);
$grey-dark: color.adjust(black, $lightness: 40%);
$grey-darker: color.adjust(black, $lightness: 20%);
$grey-darkest: color.adjust(black, $lightness: 05%);
$black: black;
//## Colour Array (used in generating colour classes).
$colors: (
// shades
"black": $black,
"grey-darkest": $grey-darkest,
"grey-darker": $grey-darker,
"grey-dark": $grey-dark,
"grey-light": $grey-light,
"grey-lighter": $grey-lighter,
"grey-lightest": $grey-lightest,
"white": $white,
// status
"error": $error,
"success": $success,
"alert": $alert,
// brand
"primary": $primary,
"secondary": $secondary,
"tertiary": $tertiary,
"quaternary": $quaternary,
// primary tints
"primary-darkest": $primary-darkest,
"primary-darker": $primary-darker,
"primary-dark": $primary-dark,
"primary-light": $primary-light,
"primary-lighter": $primary-lighter,
"primary-lightest": $primary-lightest,
// secondary tints
"secondary-darkest": $secondary-darkest,
"secondary-darker": $secondary-darker,
"secondary-dark": $secondary-dark,
"secondary-light": $secondary-light,
"secondary-lighter": $secondary-lighter,
"secondary-lightest": $secondary-lightest,
// tertiary tints
"tertiary-darkest": $tertiary-darkest,
"tertiary-darker": $tertiary-darker,
"tertiary-dark": $tertiary-dark,
"tertiary-light": $tertiary-light,
"tertiary-lighter": $tertiary-lighter,
"tertiary-lightest": $tertiary-lightest,
// quaternary tints
"quaternary-darkest": $quaternary-darkest,
"quaternary-darker": $quaternary-darker,
"quaternary-dark": $quaternary-dark,
"quaternary-light": $quaternary-light,
"quaternary-lighter": $quaternary-lighter,
"quaternary-lightest": $quaternary-lightest,
);

View File

@@ -2,8 +2,8 @@
$offCanvasWidth: 17.5em; $offCanvasWidth: 17.5em;
$brandWidth: 7.46875em !default; $brandWidth: 9em !default;
// $brandHeight: 1.835em !default; $brandHeight: 3em !default;
$tileAspectRatio: math.div(400, 640) * 100%; $tileAspectRatio: math.div(400, 640) * 100%;
$heroAspectRatio: math.div(593, 1920) * 100vw; $heroAspectRatio: math.div(593, 1920) * 100vw;
@@ -41,6 +41,3 @@ $borderWidth: 0.1250em;
$borderThick: 0.2500em; $borderThick: 0.2500em;
$borderThicker: 0.5000em; $borderThicker: 0.5000em;
$borderThickest: 1.0000em; $borderThickest: 1.0000em;
$angleHeight: 6.667cqw;
$angleHeightSmall: 3.472cqw;

View File

@@ -0,0 +1,24 @@
@use "../global/variables/colours";
.wpcf7 .screen-reader-response {
display: none;
}
.wpcf7-response-output {
@extend p !optional;
@extend .container !optional;
@extend .container-narrow !optional;
padding: 1em 0 0;
margin-top: 2em;
border: 1px solid colours.$grey-light;
border-width: 1px 0 0;
.knockout & {
border-color: rgba(colours.$white, 0.3);
}
}
.wpcf7-display-none {
display: none;
}

View File

@@ -1,12 +1,14 @@
@use "../global/variables/colours";
#mce-responses { #mce-responses {
.response { .response {
padding: 0 0 1em; padding: 0 0 1em;
margin: 0 0 1em; margin: 0 0 1em;
font-size: 0.875em; font-size: 0.875em;
border-bottom: 1px solid $grey-lighter; border-bottom: 1px solid colours.$grey-lighter;
} }
} }
.knockout #mce-responses .response { .knockout #mce-responses .response {
border-bottom-color: rgba($white, 0.3); border-bottom-color: rgba(colours.$white, 0.3);
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

View File

@@ -0,0 +1,18 @@
import.meta.glob([
'../images/**',
'../fonts/**',
]);
import domReady from '@wordpress/dom-ready';
import blocks from './blocks.js';
import Header from './sections/header.js';
import LazyLoad from './lib/Lazy.js';
/**
* Application entrypoint
*/
domReady(async () => {
LazyLoad();
blocks();
Header();
});

View File

@@ -0,0 +1,6 @@
import BadExample from "./blocks/BadExample";
export default function()
{
BadExample();
}

View File

@@ -0,0 +1,4 @@
export default function BadExample()
{
}

View File

@@ -0,0 +1,5 @@
import domReady from '@wordpress/dom-ready';
domReady(() => {
//
});

View File

@@ -0,0 +1,33 @@
export default function Header() {
const body = document.querySelector("body");
// const menuToggle = document.querySelector(".js-menu-toggle");
// const menuClose = document.querySelector(".js-menu-close");
// menuToggle.addEventListener("click", (e) => {
// e.preventDefault();
// body.classList.toggle("menu-open");
// });
// menuClose.addEventListener("click", (e) => {
// e.preventDefault();
// body.classList.remove("menu-open");
// });
// document.addEventListener("keyup", function (event) {
// if (event.key === "Escape") {
// body.classList.remove("menu-open");
// }
// });
document.addEventListener("scroll", () => {
const scrolled = document.scrollingElement.scrollTop;
const position = body.offsetTop;
const header = document.querySelector(".site-header");
if (scrolled > position + header.offsetHeight) {
body.classList.add("scrolled");
} else {
body.classList.remove("scrolled");
}
});
}

View File

@@ -1,22 +0,0 @@
import domReady from '@roots/sage/client/dom-ready';
import Header from '../views/sections/header/header';
import Footer from '../views/sections/footer/footer';
import blocks from './blocks.js';
import LazyLoad from './lib/Lazy.js';
import Accordion from './lib/Accordion.js';
/**
* Application entrypoint
*/
domReady(async () => {
LazyLoad();
Accordion();
Header();
Footer();
blocks();
});
/**
* @see {@link https://webpack.js.org/api/hot-module-replacement/}
*/
if (import.meta.webpackHot) import.meta.webpackHot.accept(console.error);

View File

@@ -1,6 +0,0 @@
import WYSIWYG from '../views/blocks/WYSIWYG/WYSIWYG';
export default function()
{
WYSIWYG();
}

View File

@@ -1,9 +0,0 @@
/**
* @see {@link https://bud.js.org/extensions/bud-preset-wordpress/editor-integration/filters}
*/
roots.register.filters('@scripts/filters');
/**
* @see {@link https://webpack.js.org/api/hot-module-replacement/}
*/
if (import.meta.webpackHot) import.meta.webpackHot.accept(console.error);

View File

@@ -1,25 +0,0 @@
/**
* @see {@link https://developer.wordpress.org/block-editor/reference-guides/filters/block-filters/#blocks-registerblocktype}
*/
export const hook = 'blocks.registerBlockType';
/**
* Filter handle
*/
export const name = 'sage/button';
/**
* Filter callback
*
* @param {object} settings
* @param {string} name
* @returns modified settings
*/
export function callback(settings, name) {
if (name !== 'core/button') return settings;
return {
...settings,
styles: [{ label: 'Outline', name: 'outline' }],
};
}

View File

@@ -1,15 +0,0 @@
export default function Accordion()
{
const accordions = document.querySelectorAll(".js-accordion");
if(!accordions) return;
accordions.forEach(accordion => {
const question = accordion.querySelector(".js-accordion-toggle");
question.addEventListener("click", function(e) {
e.preventDefault();
accordion.classList.toggle("open");
});
});
}

View File

@@ -1,28 +0,0 @@
$fa-font-path: "~/fonts";
@import "@fortawesome/fontawesome-free/scss/fontawesome";
// @import "@fortawesome/fontawesome-free/scss/solid";
// @import "@fortawesome/fontawesome-free/scss/brands";
// Global Variables, Mixins, and Framework
@import "global/variables";
@import "global/mixins";
@import "global/fonts";
@import "global/typography";
@import "global/framework";
// Components
@import "components/forms";
@import "components/button";
@import "components/card";
// Third Party Plugins
@import "plugins/contact-form-7";
@import "plugins/mce";
// Sections
@import "../views/sections/header/header";
@import "../views/sections/footer/footer";
// Blocks
@import "../views/blocks/WYSIWYG/WYSIWYG";

View File

@@ -1,65 +0,0 @@
@import "app";
body {
&.template-plain-document {
.editor-styles-wrapper {
max-width: $containerMedium;
margin: auto;
}
}
.editor-visual-editor {
background: $white;
}
.editor-styles-wrapper {
padding: 2rem !important;
}
&:not(.template-plain-document) {
.editor-styles-wrapper {
background: transparent;
}
.editor-visual-editor {
background-image: url('~images/pattern-fabric-of-squares-gray.png');
background-size: 200px;
background-attachment: fixed;
&__post-title-wrapper {
padding: 1rem;
margin: 0 0 3rem !important;
background: $white;
box-shadow: 0 0.5rem 1rem rgba($black, 0.15);
}
}
.wp-block-post-title {
position: relative;
padding: 0.5rem;
border: $borderThin solid $grey-lighter;
margin: 0;
&::before {
content: 'Page Title';
position: absolute;
top: -0.5rem;
left: 0.5rem;
color: $grey-lighter;
font-family: $font;
font-size: 0.8rem;
display: block;
padding: 0 0.5rem;
margin: 0;
background: $white;
line-height: 1;
font-weight: 400;
}
}
.wp-block-post-content {
background: $white;
box-shadow: 0 0.5rem 1rem rgba($black, 0.15);
}
}
}

View File

@@ -1,18 +0,0 @@
$hfont: Times, 'Times New Roman', serif;
$font: Helvetica, Arial, sans-serif;
/*
* Roots Fonts Setup
* https://roots.io/sage/docs/fonts-setup/
*
* Self-Hosted Google Fonts (Ubuntu Demo)
* https://gwfh.mranftl.com/fonts/ubuntu?subsets=latin
*
* Add the font to your Tailwind config
* tailwind.config.cjs
*
* Configure theme.json to use the font with Bud
*/
/* stylelint-disable */

View File

@@ -1,17 +0,0 @@
@import "framework/breakpoints";
@import "framework/normalise";
@import "framework/colours";
@import "framework/spacing";
.socials {
font-size: 1.5em;
li {
display: inline-block;
}
a {
display: block;
padding: 0.125em;
}
}

Some files were not shown because too many files have changed in this diff Show More