Commit Graph

69 Commits

Author SHA1 Message Date
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
koenemann c9beb0307e hotfixing release 0.4.7 2016-08-15 15:05:49 +02:00
koenemann 5861b31639 Update to 0.4.6 2016-08-01 08:48:04 +02:00
koenemann a612973ca3 0.4.5 release 2016-06-24 08:02:49 +02:00
koenemann c9023ac501 Cleanup, setting right escaping, sidebar image size limits 2016-06-23 11:21:57 +02:00
Holger Könemann 5c54ed29f9 0.4.5 Pre-Release commit 2016-06-21 19:00:08 +02:00
Holger Könemann f9d28c76b5 Version changes to 0.4.4 2016-06-18 13:56:58 +02:00
Holger Könemann 3703c13171 Adding post_gallery filter to incorporate BS4 markup 2016-05-17 17:41:00 +02:00
Holger Könemann 15c5b4867e Moving slider script options from footer.php to inc/enqueue.php and js/slider_settings.js 2016-05-13 17:38:27 +02:00
Holger Könemann 21faea2f50 Version update to 0.4.3 2016-05-06 17:54:56 +02:00
koenemann 1b4139add7 Mini release 0.4.2 2016-04-29 11:34:47 +02:00
koenemann a7b89ac1de Final switch from BS3 to BS4 2016-04-28 15:58:52 +02:00
Holger Könemann a80dd33a6d some renaming 2016-04-06 10:45:57 +02:00
Holger Könemann 5d6e139c7e Extracting jQuery from theme.min.js
Just one JS file caused some trouble. Theme loads the WP jQuery file as
extra file again
2016-04-06 10:17:43 +02:00