WooCommerce Hosting Tips: Fix “Your theme does not declare WooCommerce support” Message

Leave a Comment
When we are performing on web site and wish to create it shopping website using woocommerce plugin. we simply go to admin plugins sections and install woocommerce plugin.

WooCommerce Hosting Tips: Fix “Your theme does not declare WooCommerce support” Message

Woocommerce is a superb plugin to create a shopping web site in wordpress. once installation there are few messages appears at the top in admin panel.



One message is to add woocommerce pages to your theme. however if you'll see “Your theme doesn't declare WooCommerce support” then simply need to make a small edit in your theme as mentioned below.

Just place a single line in your theme functions.php file as mentioned below :
add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
add_theme_support( 'woocommerce' );
}
http://hostforlife.eu/
It is better to place the code at the last of the functions.php file, simply before php closing tag.

Actually it's needed to add the above code to provide woocommerce support in third party themes during a case after we are using woocommerce plugin with them.

After addition of the above code your your message showing in admin can mechanically disappear and can not show once more. 

WooCommerce Hosting Recommendation

HostForLIFE.eu receives Spotlight standing advantage award for providing recommended, cheap and fast ecommerce Hosting including the latest WooCommerce. From the leading technology company, Microsoft. All the servers are equipped with the newest Windows Server 2012 R2, SQL Server 2014, ASP.NET 4.5.2, ASP.NET MVC 6.0, Silverlight 5, WebMatrix and Visual Studio Lightswitch. Security and performance are at the core of their WooCommerce hosting operations to confirm every website and/or application hosted on their servers is highly secured and performs at optimum level. mutually of the European ASP.NET hosting suppliers, HostForLIFE guarantees 99.9% uptime and fast loading speed. From €3.00/month , HostForLIFE provides you with unlimited disk space, unlimited domains, unlimited bandwidth,etc, for your website hosting needs.

Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment