Commit Graph

82 Commits

Author SHA1 Message Date
Viktor Szépe 74aaddc0ba
Merge branch 'develop' into fix-typos 2023-10-10 08:23:53 +02:00
Viktor Szépe e9fb08514d Fix typos 2023-07-04 15:41:29 +00:00
IanDelMar 3a883d0c9a remove phpstan ignore comments 2022-11-14 12:23:15 +01:00
IanDelMar 194b508d3b Add since tag for changes from v1.0.0 2022-10-18 08:39:49 +02:00
Brian Coords 9743699db1 cleans up phpstan errors 2022-10-04 07:11:47 -07:00
IanDelMar d29f61227e Use inline styles to fix admin bar hiding offcanvas close icon 2022-08-17 01:38:20 +02:00
Brian Coords e3c0afce53 fixes css filepath 2021-10-29 15:57:10 -07:00
Brooke f5057073cc Support Script Debug
Understrap is already including the unminified version of assets.
These can be useful when debugging locally, or if minification is happening elsewhere in the stack.

WordPress uses the SCRIPT_DEBUG constant to tell core not to minify assets.
This PR brings that logic to understrap
2021-10-06 22:07:27 -07:00
Brian Coords 1576ca2617 initial commit of new bs5 build and templates 2021-09-10 15:31:03 -07:00
IanDelMar 0ba77d0692 Switch to lowercase s in Understrap 2021-07-28 17:38:12 +02:00
IanDelMar 3fb7e1501b Switch to case-sensitiv @package tag 2020-06-04 11:46:15 +02:00
IanDelMar 860d8c123a Fix WPCS errors and warnings + escaping
Fixes many WPCS errors and warnings

Also:
* Partly removes excessive php opening/closing tags.
* Uses printf for better readability in loop-templates/content-none.php.
* Adds understrap_kses_title() to escape post titles.
* Adds understrap_escape_the_archive_description() to escape the archive description.
* Fixes missing '__' after esc_html in author.php.
* Updates the phpcs.xml to reflect all the changes.
* Updates composer dependencies and scripts.
2020-04-19 12:08:39 +02:00
Gary Kealy 2dac14e6c1 Capital S 2019-07-18 17:21:25 +01:00
Gary Kealy 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
Holger Koenemann 705bd724d9 Update enqueue.php 2019-04-14 07:01:02 +02:00
Holger Koenemann 9f848d858f Fixing https://github.com/understrap/understrap/issues/946 2019-04-14 06:54:10 +02:00
IanDelMar cf15b3eb76 Fix space usage 2018-11-19 00:40:25 +01:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Holger Könemann acb4fcb186 using bootstrap.bundle.js instead of popper.js and bootstrap.js 2018-07-30 15:02:21 +02:00
KoenemannH 6bc5c14ee8 Reset enqueue.php 2018-07-06 08:55:44 +02:00
Johan Nielsen 81766fbf3d
Using filepath instead of uri in asset_path
Sometimes the check file_exists check fails because it wants a path not a uri.
Resulting in unrev'ed assets being served.
2018-06-25 22:52:22 +02:00
Johan Nielsen 524418e204
formatting and file check and type0 2018-05-05 09:47:03 +02:00
0dp 4b01b22fb4 gulp-rev 2018-05-02 12:27:12 +02:00
Eric Amundson cf0109af54
Remove duplicate theme JS enqueue, update comment
Howdy Holger,

I believe the `theme.min.js` file was enqueued twice; once using old method and again using new. This pull request removes the old enqueue method.

I also added _CSS_ to the comment as it's enqueuing more than JS.

I hope that helps!
2018-04-11 21:30:49 -07:00
Holger Könemann 4fb9fdd96d Adding timestamp to js/css resources - Thx @gintsmurans
https://github.com/understrap/understrap/issues/631
2018-04-06 19:43:18 +02:00
Thomas A. Reinert d13eba5445 Removed "false" to avoid empty "media"-value
Removed "false" to avoid empty "media"-value which invalidates HTML.
Renders as media="all" if omitted.

See:
https://developer.wordpress.org/reference/functions/wp_enqueue_style/
for how to correctly enqueue styles.
2018-03-02 15:39:39 +01:00
koenemann 4b05927dc2 Re - add jQuery by default 2017-12-14 09:22:42 +01:00
Holger Könemann a97c485ea3 Fixing sanitizing, escaping and prefix´s issues 2017-12-06 10:20:33 +01:00
koenemann 4c5c07baa1 Basic guideline adjustments 2017-11-27 09:02:16 +01:00
koenemann 7a0b63c026 Removing * ´s 2017-11-24 08:31:05 +01:00
koenemann 9c66724092 Workaround for jQuery problem
Adding query slim 3.2.1 to make sure Bootstrap AND WordPress will work.
Its just a workaround till Bootstrap 4 Beta 3
2017-11-24 08:28:33 +01:00
koenemann 708751d76d Testing BS4 Beta 2 Dev version 2017-11-10 14:08:14 +01:00
Holger Könemann f3c62f320d remove deregisterin jquery 2017-10-23 16:40:06 +02:00
Holger Könemann ac895520fc Update version no, add all query 2017-10-23 12:21:27 +02:00
Ashar Irfan af83978869 Corrected a comment for custom templates in functions.php. Corrected Wordpress to WordPress. 💯 2017-10-03 13:18:29 +05:00
Holger Könemann df9ebebc85 remove static can script call and replace it with local js 2017-08-11 20:17:35 +02:00
Holger Könemann 0b825c0621 enqueu theme.min.js in footer 2017-08-11 20:14:01 +02:00
Holger Könemann 4bf73a8890 Exclude popper.js 2017-08-11 20:08:29 +02:00
koenemann c01f07b4ae removing empty spaces 2017-01-27 14:26:46 +01:00
Holger Könemann ef7c58099c Removing Owl Carousel dependency 2017-01-25 10:24:08 +01:00
koenemann a38a20c3da Removing the vertical one page template and function 2016-12-23 11:20:56 +01:00
Holger Könemann 57777e4eaa Fixing strange condition, return true on every pagetemplate 2016-12-07 08:29:57 +01:00
Holger Könemann 6c32331ade Adding dynamic version info behind UnderStrap asset´s URL´s 2016-12-01 20:46:15 +01:00
koenemann a660a7d2f1 increase version number in enqueue.php 2016-11-24 12:22:23 +01:00
Stef Kariotidis 74b1de1722 coding standards part 1 2016-11-21 19:12:36 +02:00
Stef Kariotidis 33602b1d74 dont load script on woocommerce pages 2016-11-18 23:33:34 +02:00
Holger Könemann ad03eb383a Making all function pluggable 2016-11-01 20:36:43 +01:00
koenemann 2c2fe4d765 0.5.0 Pre release draft 2016-10-27 11:51:16 +02:00
Stef Kariotidis 03f4350a55 recheck and fix indentation 2016-10-25 19:38:36 +03:00
Stef Kariotidis c3b98e296e add vertical layout template 2016-10-23 18:54:40 +03:00