Commit Graph

32 Commits

Author SHA1 Message Date
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 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
IanDelMar 2334f6a9c4
Fix for #976
Declare `wc_reviews_enabled()` and `wc_reviews_enabled()` on frontend only.
2019-05-18 10:36:25 +02:00
Chris Allen 447674355c
Fix theme support for WooCommerce
Looks like the add_theme_support() call should be 'woocommerce' and not 'understrap'.
2019-05-08 20:56:21 +01:00
IanDelMar 8b841fb3e2
WooCommerce backward compatibility. Fix for #961
`wc_review_ratings_enable` was added in WC 3.6.0. Calling it in WC 3.5.x throws a fatal error. See #961
2019-04-29 23:42:07 +02:00
Holger Koenemann cac4962ddb Update Woocommerce version info 2019-04-22 18:38:43 +02:00
IanDelMar 9c8be5118d Fix indentation & space usage 2018-11-19 00:26:03 +01:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
KoenemannH 6bc5c14ee8 Reset enqueue.php 2018-07-06 08:55:44 +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
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
Alex Wright 140da01e60 Add pluggable function wrappers to inc/woocommerce.php 2018-03-30 10:47:02 -05: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
Jason King 1bd7160dd7
Enable woocommerce product gallery slider by default. 2018-01-10 16:11:37 +10:30
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
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
koenemann ba5a30e657 Changing woo commerce text domain 2017-11-28 09:04:07 +01:00
koenemann 464086a40b Update prefixes 2017-11-27 09:07:11 +01:00
Jason King ce3a75698d Declare woocommerce support. 2017-05-03 14:22:35 +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
Holger Könemann 355ad5bff4 hook in woo commerce 2017-02-11 10:15:59 +01:00
Stef Kariotidis 74b1de1722 coding standards part 1 2016-11-21 19:12:36 +02:00
Stef Kariotidis 91b04484b0 make forms more bootstrap like 2016-11-19 11:46:50 +02:00
Holger Könemann ad03eb383a Making all function pluggable 2016-11-01 20:36:43 +01:00
Holger Könemann 55075824cc add woocommerce support declaration 2015-09-09 10:58:25 +02:00