Commit Graph

46 Commits

Author SHA1 Message Date
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
Mike Jolley 3d9902c4d5 Page template should have higher priority. 2017-09-20 15:47:30 +01:00
Emran Ahmed 066a857d19 Supporting Custom Post Type Template
Supporting Custom Post Type Template for Single Product.
2017-09-17 02:22:05 +06:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley 724f832b40 Fix get_template_loader_files
Fixes #12958
2017-01-31 09:56:27 +01:00
Mike Jolley 201f89b19a Clean up template loader logic 2016-12-06 11:52:15 +00:00
Kalen Johnson 2d7e6e7206 Filter the template loader files
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.

A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.

This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00
Aristeides Stathopoulos ec8a0b288b PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast 2016-08-27 05:08:49 +03:00
Pascal Birchler cf80c5855e Do not filter the embed template path 2016-04-25 11:27:53 +02:00
Fredrik Forsmo bb19615029 Improve docblock comments in various WC_* classes
* Added comments to various methods
* Fixed various properties comments and param types
2016-01-06 16:24:47 +01:00
Nicola Mustone c9da4f928a check if ABSPATH is defined 2015-11-06 10:22:19 +01: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 d1de7f42b9 Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
Closes #6436
2014-10-03 10:52:11 +01:00
Alexandru Furculita 494b55abac Update class-wc-template-loader.php 2014-06-19 15:45:09 +03:00
Mike Jolley e198ee517a Made stateless classes static to allow unhooking of hooks
Closes #5151
2014-05-28 14:52:50 +01:00
Mike Jolley a1809f1e56 Tweak template loader to work with other WC product taxonomies.
Closes #5521
2014-05-22 10:59:48 +01:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 90ba359ef9 Uninstall option Closes #3968. Change option for #3992 2013-10-23 17:21:03 +01:00
Scott Basgaard 9c9bfe1f4c Add template debug mode option. First pass at #3941 2013-10-23 17:52:58 +02:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00