Commit Graph

72 Commits

Author SHA1 Message Date
Nestor Soriano 8729733da4
Escape short description 2021-04-05 11:58:37 +02:00
Claudio Sanches 4418e79d0a Map all possible taxonomy templates 2020-11-23 19:29:30 -03:00
Ron Rennick 6a36bce334 tweak logic to use `woocommerce/*-*` templates in theme folder 2020-09-21 14:12:22 -03:00
Ron Rennick bb6ded857d phpcs fixes 2020-09-21 13:34:14 -03:00
Ron Rennick 57fa6aff83 update taxonomy template names from `_` to `-` 2020-09-21 13:30:29 -03:00
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Claudio Sanches b62457dd01 Validate page template 2020-04-29 17:53:04 +05:30
Rodrigo Primo 7337ab60c2 Fix PEAR.Functions.FunctionCallSignature violations
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Mike Jolley 868e7841e6
Merge pull request #21860 from rellect/wc_case
Rename wc() to WC() for consistency
2019-01-08 14:29:59 +00:00
Refael Iliaguyev 127f1cb276 Use WC() instead wc() for consistency 2018-11-08 12:59:07 +02:00
Sławek Amielucha 29344a5ffd
Fixes typos in class comments. 2018-10-25 22:38:07 +02:00
claudiulodro b49a9a5809 Tweaks to unsupported theme handling and hidden preview button handling 2018-10-19 10:49:58 -07:00
claudiulodro 2e87ec3bf1 Only suppress comments number on unsupported theme shop page 2018-08-24 10:46:57 -07:00
Gerhard Potgieter 56c539681b Yoda, you must! 2018-04-24 07:18:09 +02:00
Gerhard Potgieter ca9865beeb Ensure shop_page_id is > 0 before loading the unsupported theme functionality. In some cases shop_page_id can be -1 which will result in a true as only 0 is seen as false. 2018-04-23 09:47:21 +02:00
Claudio Sanches e2a079f42f Fixed includes/class-wc-template-loader.php coding standards 2018-03-21 00:20:19 -03:00
claudiulodro 383317c256 Layered nav support on unsupported theme archives 2018-03-01 11:28:00 -08:00
claudiulodro 3e114799ca Set is_tax true when on unsupported theme 2018-02-27 11:45:56 -08:00
Mike Jolley 830a2cb5a5 Don't prepend cats for regular shortcodes 2018-02-08 17:37:56 +00:00
Mike Jolley f56e40363b If using get_catalog_ordering_args. remove the args when finsihed 2018-02-08 13:59:03 +00:00
claudiulodro e67634c45f Only do unsupported template rendering in the loop 2018-02-07 11:56:41 -08:00
Mike Jolley 8bd5d908b0
Merge pull request #18744 from woocommerce/fix/18733
Show category description on supported theme archives.
2018-02-01 14:17:20 +00:00
Mike Jolley 5bea7de93c
Merge pull request #18743 from woocommerce/fix/unsupported-theme-homepage-pagination
Fix shop on homepage with unsupported themes
2018-02-01 12:45:17 +00:00
Mike Jolley e787a0bf99 Show category description on supported theme archives. 2018-02-01 11:49:19 +00:00
Mike Jolley 2ed9691c14 Fix shop on homepage with unsupported themes 2018-02-01 11:15:46 +00:00
Mike Jolley 9b22357d26 Prevent regular pagination showing on archives for unsupported themes. 2018-01-31 23:42:08 +00:00
Mike Jolley 9648a72c1b Protect against theme support being defined too late 2018-01-31 19:09:26 +00:00
Mike Jolley 4ff70f96ee Force woocommerce options to show in customizer with unsupported themes 2017-12-04 15:33:42 +00:00
claudiulodro 22031c5b56 Tag support in shortcode 2017-11-30 13:43:32 -08:00
claudiulodro 8d6d4c4fd9 good tax approach 2017-11-30 10:57:33 -08:00
claudiulodro 97c5140c25 Clean up to make it easier to work 2017-11-30 09:58:39 -08:00
claudiulodro 79458dd991 Fix template loading issues 2017-11-29 14:30:43 -08:00
claudiulodro 1f93ed5153 Initial implementation of archives 2017-11-29 13:46:37 -08:00
Mike Jolley 19cd9c4fd6 feedback 2017-11-15 09:41:26 +00:00
Mike Jolley a3948e8c6b Added support for single-product-postname.php template files
Closes #17448
2017-11-14 10:39:33 +00:00
claudiulodro 9b40ce842d Remove function that isn't hooked to anything 2017-11-13 12:19:14 -08:00
claudiulodro 493b3b6550 Remove check. ALready handled elsewhere. 2017-11-13 12:16:44 -08:00
claudiulodro 074f9b76b0 Fix init bug and remove nowrap from buttons 2017-11-13 11:56:24 -08:00
claudiulodro 57be95493a phpcs 2017-11-13 10:42:28 -08:00
claudiulodro 9cc69ea021 Add ability to suppress titles to product_page shortcode 2017-11-13 10:36:58 -08:00
claudiulodro 8e0e0e8747 Cleanup and integrate styles into main stylesheet 2017-11-13 10:08:46 -08:00
claudiulodro 1934f67daf Move unsupported product singles stuff to template loader class 2017-11-10 12:48:45 -08:00
Mike Jolley 3bf47d7d97 Fixed tests 2017-11-10 17:45:01 +00:00
Mike Jolley 33995ace01 Helper functions 2017-11-09 17:34:54 +00:00
Mike Jolley 23aa0277d2 Rows and cols 2017-11-09 12:37:14 +00:00
Mike Jolley e18f2d491c Apply filters to shortcode output 2017-11-09 11:24:44 +00:00
Mike Jolley 95a7857f41 Handle shop content only 2017-11-09 10:44:29 +00:00
Mike Jolley 713226c553 phpcs 2017-11-08 19:57:49 +00:00
Mike Jolley a0e2e59f9b Orderby support 2017-11-08 18:09:39 +00:00
Mike Jolley eb6b4efc01 Shortcode injection 2017-11-08 16:46:15 +00:00