Commit Graph

491 Commits

Author SHA1 Message Date
Mike Jolley 280ca3757e wc_get_gallery_image_html checks 2018-02-13 19:18:13 +00:00
Mike Jolley 2b36b5f49f Main image should be larger. 2018-02-13 11:16:42 +00:00
Mike Jolley ebb246d9d3 wc_get_gallery_image_html helper function 2018-02-13 11:16:42 +00:00
Mike Jolley 830a2cb5a5 Don't prepend cats for regular shortcodes 2018-02-08 17:37:56 +00:00
Mike Jolley 974ff71129
Merge pull request #18747 from woocommerce/fix/woocommerce_content
Was missing  wc_get_loop_prop check like the main archive
2018-02-01 14:34:25 +00:00
Mike Jolley add3ca3bea This removes pagination and products from display for themes not using wc_get_loop_prop in their product loops. 2018-02-01 14:31:00 +00:00
Mike Jolley 00d16dce0e Was missing wc_get_loop_prop check like the main archive 2018-02-01 13:22:50 +00:00
Mike Jolley fc3bf3edf2 Moved this below query to prevent subcategories display mode also showing products. 2018-01-31 21:24:14 +00:00
claudiulodro cbaa8831d5 Merge master and resolve conflicts 2018-01-31 11:24:21 -08:00
Mike Jolley e6f54912ee Merge branch 'master' into fix/18680 2018-01-31 17:56:46 +00:00
Mike Jolley 1f2046a3e3 Revert columns to 4 2018-01-31 17:55:17 +00:00
Mike Jolley 586619b136 merge the loop, don't bail 2018-01-31 16:44:50 +00:00
Mike Jolley 40c59d31f2 Merge branch 'master' into fix/18674 2018-01-31 16:29:08 +00:00
Claudiu Lodromanean c28e2e2de5
Merge pull request #18706 from woocommerce/update/uncategorized
Uncategorized tweaks
2018-01-31 08:16:51 -08:00
Mike Jolley a8cc6c8871 Remove deprecation notice 2018-01-31 15:46:47 +00:00
Mike Jolley 5a4cc2d46c Update comment. 2018-01-31 15:35:25 +00:00
Mike Jolley b8df0ea474 Hide uncategorized from store by default. 2018-01-31 13:37:23 +00:00
Mike Jolley 0f33d446e3 Before getting wc_get_loop_prop, setup the loop.
Closes #18687
2018-01-31 11:59:40 +00:00
Mike Jolley 96982cd318 Min columns must be 1, not 0 2018-01-30 23:32:52 +00:00
Mike Jolley 81c8aba8c9 Add woocommerce_output_product_categories so we can handle legacy templates. 2018-01-30 23:24:26 +00:00
Rodrigo Primo 538ee2097c
Merge pull request #18594 from alexminza/master
Added support for additional HTML5 input types for settings/checkout forms
2018-01-30 17:33:13 -02:00
Mike Jolley 057b40e044 Remove kses from before/after attribute
Closes #18643
2018-01-30 11:45:00 +00:00
Alexander Minza 519bfadc63 Added support for additional HTML5 input types 2018-01-25 15:14:30 +02:00
Mike Jolley 371f504964 Helpers for theme support vars and error messages. 2018-01-08 18:48:57 +00:00
Tiago Noronha ece1963e66 Fix default columns isset check. 2018-01-02 19:27:28 +00:00
Caleb Burks 0192fb9ef0 Add woocommerce_loop_product_link filter 2017-12-25 02:20:40 -06:00
Mike Jolley 755647ec5c Improve subcat display to see if subcats can actually be displayed 2017-12-13 15:46:09 +00:00
Mike Jolley f4927ea837 Give control over loop button attributes
Closes #18079
2017-12-11 13:09:21 +00:00
Mike Jolley 5b0df590c0
Merge pull request #18065 from woocommerce/improve/18064
Add default row/column control for themes
2017-12-08 16:14:19 +00:00
claudiulodro fef9d612c7 Better function name 2017-12-08 07:38:40 -08:00
claudiulodro b2cac1dcab Better description 2017-12-08 07:36:33 -08:00
claudiulodro e37391affb Set/remove defaults on theme activation 2017-12-08 07:33:42 -08:00
claudiulodro 600b1bd82c Revert "Add defaults control for themes"
This reverts commit 29090e4676.
2017-12-08 07:23:46 -08:00
claudiulodro e22318449e Fix syntax error @bor0 2017-12-07 14:29:07 -08:00
claudiulodro 29090e4676 Add defaults control for themes 2017-12-07 11:35:06 -08:00
Boro Sitnikovski d0f9aaa99a Merge branch 'master' into tweak/decouple-cart-template-methods 2017-12-07 20:16:08 +01:00
Boro Sitnikovski 588c5f3779 Change method name 2017-12-07 15:53:16 +01:00
Mike Jolley 1f2011e8de Tweak query args 2017-12-06 19:03:14 +00:00
Mike Jolley 3c36ab0517 Helper functions for loop handling to avoid global usage, and helper for displaying subcats 2017-12-06 18:10:19 +00:00
Mike Jolley 8dcffa660e Normalise get_query_results names and add new param for pagination 2017-12-06 13:13:43 +00:00
claudiulodro 535d014ef9 Line up arrays 2017-12-05 10:50:17 -08:00
claudiulodro aab65923c1 Refactor for better style 2017-12-05 10:45:08 -08:00
claudiulodro fec60ab2ea Fix product shortcode pagination 2017-12-05 08:31:50 -08:00
Boro Sitnikovski 145d47c580 Decouple cart templating methods from WC_Cart class 2017-12-05 13:00:21 +01:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08:00
Mike Jolley 20633d409d Fix archive with default permalinks 2017-12-04 15:35:52 +00:00
Ibrahim Ibn Dawood b1bef237d1 made function : woocommerce_template_loop_product_link_open, woocommerce_template_loop_product_link_close, woocommerce_template_loop_category_link_open, woocommerce_template_loop_category_link_close pluggable 2017-12-01 14:58:42 +05:30
Claudio Sanches d438a68300 Allow woocommerce_form_field() have 'custom_attributes' equal 0
array_filter() by default will remove all null values, also 0 or false,
but if trying to declare something like array( 'min' => '0', 'max' =>
'10' ) this will be a problem. So including added strlen() as callback
function will allow keep some strings but still remove null and false
values.

Ref #17940
2017-11-29 18:45:44 -02:00
Claudio Sanches 216ddc799a Fixed VSCode auto align mistake
One more reason to go back to sublime
2017-11-21 10:53:15 -02:00
Claudio Sanches 9681a331e9 Fixed coding standards 2017-11-20 20:19:09 -02:00