A Guide to the WooCommerce wc_get_template Function

What Does the WooCommerce wc_get_template Function Do? The wc_get_template function can be used to display the contents of template files. The function allows you to pass values into the templates which can then be displayed as part of the template. The function also allows templates to be over ridden either in themes or plugins. A … Read more

WordPress/Woocommerce: How To Get The Original Url Before It’s Rewritten

WordPress has it’s own rewrite API which it uses to prettify URLs, to give a specific WooCommerce example the shop URL http://wooexp.local/shop/ can be rewritten as http://wooexp.local/index.php?post_type=product If you type the URL above into a browser (changing the host from the I’m using on a Local by Flywheel test site to your site) then you … Read more