Commit Graph

57 Commits

Author SHA1 Message Date
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
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