Commit Graph

58 Commits

Author SHA1 Message Date
Mike Jolley 7fd4005475 Wrap hidden input in div
Closes #13541
2017-03-13 17:56:25 +00:00
Mike Jolley 846e1ca25c If max and min value are identical, don't show qty input 2017-02-17 15:51:59 +00:00
James Koster 5b01bb693e Correct use of `--` in checkbox / checkbox label classes 2017-01-13 17:26:09 +00:00
James Koster f709d6be3c Standardise class names #12297 2016-11-17 11:51:54 +00:00
Claudio Sanches f201684917 Wrap checkbox label texts into span elements 2016-11-16 19:44:22 -02:00
Claudio Sanches 1939abf059 Updated use of labels for checkboxes 2016-11-09 22:41:14 -02:00
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
James Koster ba009c6fc5 Fixes the layout on shop pages when using Twenty Eleven. closes #10665 2016-04-15 13:24:17 +01:00
Mike Jolley e9ff396348 Only add when using intval for stock amounts 2016-02-26 14:36:53 +00:00
Jon Koops 111b72c159 Add attributes to quantity input to show numeric keyboard on mobile devices.
This commit adds both a `pattern` attribute to restrict user's input to numerical characters, and the forwards compatible `inputmode` attribute to hint at the keyboard layout to use. These attributes combined make sure that the numerical keyboard shows instead of the normal keyboard on most mobile devices (tested on the latest versions of Android and iOS).

Possible Caveats:
- Due to the nature of the numeric keyboard on iOS it is impossible to add a decimal point.

Further Reading:
https://stackoverflow.com/questions/6178556/iphone-numeric-keyboard-for-text-input
https://www.smashingmagazine.com/2015/05/form-inputs-browser-support-issue/
http://danielfriesen.name/blog/2013/09/19/input-type-number-and-ios-numeric-keypad/
2016-02-25 17:48:06 +01:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
djenggoat 7d3e4b1778 mismatch end tag wrapper for twentysixteen
mismatch end tag wrapper end for WordPress twentysixteen templates/global/wrapper-end.php
2016-02-06 20:12:05 +08:00
Takashi Irie d88ba80f84 Edits for Twnety Sixteen 2015-11-23 11:55:50 +00:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley f050c804e1 Use wp.template for variation and variation button 2015-10-28 13:04:28 +00:00
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02:00
Mike Jolley 8e19abe368 Check if $breadcrumb is empty 2015-09-14 15:56:58 +01:00
George Stephanis 95e6b84fbb Make sure we esc_attr translation results
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Justin Shreve d383e3bfd0 Use wp_lostpassword_url instead wc_lostpassword_url. The WC function is just meant to be a filter. 2015-06-25 16:54:36 +00:00
Mike Jolley bd11f51d04 Double shop page in breadcrumb and white space issues.
Fixes #7432
2015-02-16 16:21:48 +00:00
Claudio Sanches 5772356eb2 Re-added the woocommerce_breadcrumb_home_url filter 2015-02-12 18:34:40 -02:00
Mike Jolley 508bfd5c06 Merge branch 'breadcrumbs-class'
Adds endpoint page titles for #5522
Fixes link back to endpoint pages and closes #6638
Avoids need for breadcrumb fix which closes #6834
Removes the need and closes #6834
Fixes #6840
2014-12-05 13:42:19 +00:00
Bryce cb7e06ba8b Change structure of check to appease claudio 2014-12-01 01:42:28 +07:00
Bryce df95a6f016 check if offset exists in breadcrumb.php
Closes #6878
2014-12-01 01:21:42 +07:00
James Koster 01a1a8f1df twentyfifteen styles. #6797 2014-11-21 10:29:47 +00:00
James Koster b9a4989357 twentyfifteen wrappers. #6797 2014-11-21 10:26:58 +00:00
James Koster a7350cfd6b twentyeleven pagination. #6737 2014-11-13 14:06:52 +00:00
Gregory Karpinsky 511e8b1b5b get_page() is deprecated since 3.5.0 2014-10-05 18:27:52 -04:00
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Ninos Ego cc6cf6a881 Template breadcrumb - only remove last seperator
We should use ``rtrim()`` instead of ``trim()``, because otherwise
(depending to the $delimiter/$before/$after) it's possible to remove
also something from the beginning of the $parents variable.
2014-09-10 01:09:40 +02:00
Mike Jolley 20407c8cc0 Fix extra delimiter in breadcrumbs Closes #6153 2014-09-04 10:17:19 +01:00
Ninos Ego e9c36acdd3 Fixed: merge conflict 2014-08-27 01:43:38 +02:00
Ninos Ego fbaa044f37 Fixed: merge conflict 2014-08-27 01:42:20 +02:00
Ninos Ego 27532a446d Small fixes 2014-08-22 13:12:26 +02:00
Ninos Ego 4adc74337f Merged: 65e6bf5aed 2014-08-22 12:57:49 +02:00
Mike Jolley 65e6bf5aed get_category_parents can still be used for #6055 2014-08-22 11:02:05 +01:00
Ninos Ego 47e6f98501 Display on blog (if not front page)
The breadcrumb should be displayed on the blog page, if it's not the
front page.
2014-08-19 19:16:52 +02:00
Ninos Ego 5417e7f8c6 Template: breadcrumb - category structure
The html structure of multidimensional categories was wrong ($before &
$after was missing).
2014-08-19 19:00:07 +02:00
Ninos Ego 7819a78462 Template: breadcrumb - small fixes
- undefined variable on author page
- wrong html structure on hierarchical page
2014-08-19 17:29:58 +02:00
claudiosmweb 2e0182c3b3 fixed breadcrumb duplicate homepage url
get_option( 'page_on_front' ) === string
wp_get_page_id( 'shop' ) === integer
2014-07-30 13:25:29 -03:00
claudiosmweb b752f75392 reverted breadcrumbs product_cat query 2014-07-30 13:13:23 -03:00
southan 2ad57033f6 Update to fix #5911
Missed get_term_by calls with slug, reverted to wc_get_product_terms (get_the_terms, whilst great for performance, bypasses all the special sorting implemented by the former).
2014-07-29 15:02:18 +01:00
claudiosmweb 53494ff91c improved the product_cat query in product single page 2014-07-28 17:57:11 -03:00