Commit Graph

305 Commits

Author SHA1 Message Date
William Patton ddd8bacca8 Swap shorthand array `[]` to `array()` in pagination function definition 2018-07-12 20:07:38 +01:00
KoenemannH dee0292777 Adding missing text domain 2018-07-06 09:48:49 +02:00
KoenemannH 6bc5c14ee8 Reset enqueue.php 2018-07-06 08:55:44 +02:00
Holger Könemann 7cdaeddef7 Switch back to pre-gulp4 version 2018-07-04 11:37:13 +02:00
Holger 003f503adb
Merge pull request #700 from ZacharyElkins/WooCommerce_3.4.0
Woo commerce 3.4.0 - Thx @ZacharyElkins !
2018-07-02 10:56:50 +02:00
0dp b32d6bae16 fix PR conflict 2018-06-26 10:10:40 +02:00
0dp d8ad7b29d4 gulp4 2018-06-14 11:33:05 +02:00
Unknown 3bfdc7996f Remove Add-To-Cart Function
There is no need for this, as the modified template file is provided. Including only the function may be confusing for users.
2018-06-05 19:46:35 -06:00
0dp 4c3a923fd4 rev task updated only runs on dist 2018-06-04 23:27:23 +02:00
Ernesto Ruge a5dbc3c877
better solution based on core 2018-05-26 10:43:34 +02:00
Ernesto Ruge ece50c2b28
$consent is not set
... so it should not be used there.
2018-05-25 12:42:18 +02:00
Jean Pierre Kolb a18067c446 Added cookies checkbox support for inc/custom-comments.php, needed for WordPress 4.9.6 GDPR update 2018-05-18 10:47:48 +02:00
Holger fa9243dc8c
Merge pull request #666 from 0dp/gulp-rev - thx @0dp
gulp-rev
2018-05-15 15:02:14 +02:00
Johan Nielsen f8dd00d1c4
Update pagination.php
1. Dynamic prev and next
1. Improved active class
1. Improved ellipsis
2018-05-11 21:28:07 +02:00
Johan Nielsen e59538ad22
dynamic prev_next
I've noticed that with the current implementation, next arrow is still shown if there are no more pages.
By setting prev_next to true, WordPress should handle the generation of next and previous arrows. 
This also means that the code is dramatically simplified.

But please test this, because I don't remember why I didn't write the code this way in the first place.
Maybe because there was some fringe case I tried to rectify?
2018-05-05 10:09:27 +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
Unknown 29e92aacde Remove closing div from WooCommerce function
#primary div has been moved to right-sidebar-check.php
2018-04-20 11:29:43 -06:00
William Patton 4f0295ebea Modify walker with 'understarp' prefixed on class name and as textdomain 2018-04-17 17:18:34 +01:00
William Patton cea18747d9 Swap customized walker to latest upstream wp-bootstrap-navwalker class 2018-04-17 17:08:26 +01:00
Holger Könemann bf6dfb6046 Adding the herocanvas widget position 2018-04-13 20:19:33 +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
Alex Wright a677325ffb Add pluggable function wrappers to inc/widgets.php 2018-03-30 11:38:54 -05:00
Alex Wright d3236e10d6 Add pluggable function wrappers to inc/theme-settings.php 2018-03-30 11:34:46 -05:00
Alex Wright b2e336e2e8 Add pluggable function wrappers to inc/setup.pphp 2018-03-30 11:28:55 -05:00
Alex Wright 8da32c1a75 Add pluggable function wrappers to inc/pagination.php; add single quotes around active class name on line 41 2018-03-30 11:21:47 -05:00
Alex Wright 9397cfc53e Add pluggable function wrappers to inc/extras.php 2018-03-30 11:03:09 -05:00
Alex Wright acd630fcfa Add pluggable function wrappers to inc/custom-header.php 2018-03-30 10:58:32 -05:00
Alex Wright 3083096ef7 Add pluggable function wrappers to inc/wpcom.php 2018-03-30 10:51:43 -05:00
Alex Wright 140da01e60 Add pluggable function wrappers to inc/woocommerce.php 2018-03-30 10:47:02 -05:00
Alex Wright c75682937e Add pluggable function wrappers to inc/template-tags.php 2018-03-30 10:14:25 -05:00
Alex Wright eda69c0385 Add pluggable function wrappers to inc/jetpack.php 2018-03-30 10:01:59 -05:00
Alex Wright 3114c1bda6 Update demo of adding pluggable function wrappers to add actions / hooks above functions 2018-03-29 12:39:09 -05:00
Alex Wright 554f362643 Apply pluggable function wrapper to inc/editor.php 2018-03-28 10:42:05 -05:00
Holger 5eae85e137
Merge pull request #599 from ZacharyElkins/WooUpdate
Updated WooCommerce template files to 3.3.4 release - Thx @ZacharyElkins !
2018-03-26 18:46:21 +02:00
0dp 33183a3481 new pagination 2018-03-24 14:18:00 +01:00
Unknown 61dbdfcde3 Replace add-to-cart template with function
- Remove add-to-cart template;
- Add function to replace "button" class with "btn btn-outline-primary;
2018-03-23 13:53:48 -06:00
Holger Könemann a2fa9e56ba Remove woocommerce.php and replace it with hooked version
See
https://github.com/understrap/understrap/issues/606#issuecomment-3753920
87

Thx @ZacharyElkins !
2018-03-22 18:47:51 +01:00
Johan Nielsen da311e953e
include minified css
The gulp fix for minify also minifies custom-editor-style.css.
Fixed to include the minified version
2018-03-21 20:08:02 +01:00
Holger Könemann 86c0ba96bb Replace the workaround 2018-03-21 11:50:46 +01:00
Thomas A. Reinert c5a345a3d6 Interim fix for #600 2018-03-17 22:51:20 +01:00
MarieComet d180bcfa40 add function exists check in custom-comments.php 2018-03-05 07:29:00 +01: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
Jason King 1bd7160dd7
Enable woocommerce product gallery slider by default. 2018-01-10 16:11:37 +10:30
Johan Nielsen 742cf2f6a2
container type never gets set v.0.6.12 2017-12-14 13:20:40 +01:00
koenemann 4b05927dc2 Re - add jQuery by default 2017-12-14 09:22:42 +01:00
koenemann 0da90aa66c Re-add understrap_setup_theme_default_settings 2017-12-14 08:59:29 +01:00
Shannon Smith 6d7783700c Fix divider in Bootstrap nav
Bootstrap nav water was using the wrong class for the dropdown so I
have adjusted that.
2017-12-11 17:02:48 +13:00
Holger Könemann a97c485ea3 Fixing sanitizing, escaping and prefix´s issues 2017-12-06 10:20:33 +01:00
koenemann 44c38d710a Sorry, fixing the right fn name... 2017-12-05 08:53:57 +01:00
koenemann 86caee1f17 Rename understrap_woocommerce_form_field_args function 2017-12-05 08:51:44 +01:00
koenemann b95ee41617 Re-add themes default options 2017-12-01 14:32:22 +01:00
Holger Könemann 869cade5e0 redeclare custom style support for editor 2017-11-29 11:09:11 +01:00
Holger Könemann 0e9f845545 Remove unused files and add search form value 2017-11-29 10:56:38 +01:00
Holger Könemann 4685be4327 Fixing woo commerce declaration and rerelease it 2017-11-29 10:50:36 +01:00
Holger Könemann 1692e21d0c redeclare woocommerce support 2017-11-29 10:42:52 +01:00
Holger Könemann e9b8b037a8 remove prefix for internal editor function 2017-11-29 10:26:50 +01:00
Holger Könemann 6d953a08bd preparing 0.6.9 update part 2 2017-11-29 10:24:45 +01:00
Holger Könemann 1094e5e601 disable theme-settings.php call 2017-11-29 09:43:44 +01:00
koenemann ba5a30e657 Changing woo commerce text domain 2017-11-28 09:04:07 +01:00
koenemann a761db175d Regarding to https://themes.trac.wordpress.org/ticket/48576#comment:5 2017-11-28 08:52:50 +01:00
koenemann ba75e8860b Rename function 2017-11-27 09:24:49 +01:00
koenemann 21aa3dc318 Remove automatically db updates by theme
Due to conflicts with wp.org theme guidelines
2017-11-27 09:13:21 +01:00
koenemann 464086a40b Update prefixes 2017-11-27 09:07:11 +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 3baf902e94 Aha, wrong place. But now, see again here: https://github.com/holger1411/understrap/issues/466 2017-11-24 08:07:59 +01:00
koenemann 0e2077ff6d See https://github.com/holger1411/understrap/issues/466 2017-11-24 08:05:20 +01:00
koenemann 07f950730e https://github.com/holger1411/understrap/issues/463 2017-11-24 07:55:53 +01:00
bruceconlon 038675e6c9
Making the class pluggable
As it would not affect any other users of the parent/child theme, placing a request that the fucntion first checks if the class exits,  so it could be overridden in a child theme if needed
2017-11-22 11:59:58 +13:00
koenemann 708751d76d Testing BS4 Beta 2 Dev version 2017-11-10 14:08:14 +01:00
koenemann 9836d8c952 Fixing https://github.com/holger1411/understrap-child/issues/108 and rebuild 2017-11-10 08:03:15 +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
Holger 4b8c760dda Merge pull request #427 from asharirfan/issue424
Fixed author div tag. There was a missing '>' in the tag 💯
2017-10-23 12:20:35 +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
Ashar Irfan 7dec636454 Fixed author div tag. There was a missing '>' in the tag 💯 2017-10-03 12:28:49 +05:00
koenemann 10f5e9212e Make inc/security.php overwritable
See: https://github.com/holger1411/understrap/issues/409 - Thx @ErinPo
2017-09-15 08:09:12 +02:00
Holger 726006040c Merge branch 'master' into master 2017-08-14 10:55:08 +02: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
Oral UNAL 6a2d794144 Update security.php
remove_action can take accept only 3 params
2017-08-05 00:40:36 +03:00
Oral UNAL c5a142b762 Update theme-settings.php
If someone tries to override in child temp
2017-08-05 00:39:22 +03:00
Patrick a2279ac086 Update widgets.php
Small little typo in comments
2017-07-26 10:38:10 +02:00
Rami Yushuvaev 57a75efefa Use esc_html() 2017-06-08 18:21:14 +03:00
Holger ff71842e73 Merge pull request #325 from blowsie/patch-1 - Good idea! Seems I just forget it to add. Thx @blowsie !
Allow slbd_count_widgets function to be overridden
2017-05-23 08:51:20 +02:00
Elliot 779c351f2d Pagination Amend 2017-05-22 12:26:07 +01:00
Sam Blowes 0ddf5ff086 Allow slbd_count_widgets function to be overridden
Allow slbd_count_widgets function to be overridden by child them so that more responsive classes can be added if desired.
e.g. `$widget_classes .= ' col-md-3 col-sm-6';`
2017-05-18 15:23:50 +01:00
Jason King 0014477b9c Specify correct post templates for jetpack infinite scroll. 2017-05-18 14:23:26 +09:30
koenemann 0cd0d3aca4 fixing float-sm-left and right problem with BS´s flex box utilities 2017-05-16 09:00:26 +02:00
Jason King ce3a75698d Declare woocommerce support. 2017-05-03 14:22:35 +09:30
Holger 229627ca8b Merge pull request #298 from kosvrouvas/master
Fix next/previous post links not floating correctly - Thx @kosvrouvas
2017-04-29 11:07:22 +02:00
Kostas Vrouvas 86db306e43 Fix next/previous post float class 2017-04-26 12:47:02 +03:00
Jason King 0a11efded4 Update old BS3 class .img-responsive to .img-fluid
As per #293 by ErinPo
2017-04-23 14:06:09 +09:30
koenemann 60ed4079fd Replacing woocommerce text domain with understrap 2017-04-21 14:33:06 +02:00
Jason King 363776ccd2 Adding Woocommerce 3.0.0 Product Gallery Support
Gallery slider needs Flexslider - https://woocommerce.com/flexslider/. Holger will need to make the decision if this is to be implemented.
2017-04-14 20:17:51 +09:30
Holger Könemann 7345d07493 custom woo functions 2017-02-11 12:26:23 +01:00