SkyVerge Test
Why Use Plugins Instead of Theme Changes? February 25 2014
Since we develop a lot of plugins (mostly for WooCommerce) and do some custom development, we get a lot of questions on best practices or recommendations for adding functionality to a site. Many times we’ll provide suggestions or guidance and tell people they should create a custom plugin, which prompts the question, “Couldn’t I just modify my theme template or buy a theme with this built-in this instead? I don’t Keep Reading…
The post Why Use Plugins Instead of Theme Changes? appeared first on SkyVerge.
Override WooCommerce Template File Within a Plugin September 06 2012
The goal of this article is to describe one approach to overriding WooCommerce core template files within a custom plugin, such that they can still be overridden by a theme in the typical way. Note that this is similar to but solves a slightly different problem than what we did to create a custom overrideable woocommerce template file in your custom plugin. Overriding a core template in your plugin is Keep Reading…
The post Override WooCommerce Template File Within a Plugin appeared first on SkyVerge.
Create an Overrideable WooCommerce Template File July 06 2012
Sometimes when developing a WooCommerce plugin you want to output a snippet of HTML, and do so in such a way that the content can be easily overridden by a theme. It’s part of the process of crafting a well-engineered, customizable plugin. The best way to achieve this is by using WooCommerce’s own templating mechanism, and what once took some effort and some filters is now a snap thanks to Keep Reading…
The post Create an Overrideable WooCommerce Template File appeared first on SkyVerge.
Theming WooCommerce: How to Override WooCommerce Template Files March 24 2012
To override WooCommerce template files in your theme (or better yet, child theme) simply make a folder named ‘woocommerce’ within your theme directory, and then create the folders/template file you wish to override within it. Example As an example, lets override the price template for the single product page to add a notice. First we locate the template file in question at: woocommerce/templates/single-product/price.php (see the full list of templates). Next, Keep Reading…
The post Theming WooCommerce: How to Override WooCommerce Template Files appeared first on SkyVerge.