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
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