Storefront Echo theme, ‘Latest Products’ text above homepage carousel will not change.

Posted by on May 31, 2012 in Blog, Echo, Storefront Themes, Themes | No Comments

The Problem

When using Storefront Themes, Echo theme you can go to Storefront Options Panel/Text Above Carousel Tab and enter some text in the “Text Above Carousel” field. If you are using the Jigoshop e-commerce plugin everything is fine and you see your text on your homepage. If you are using WP e-Commerce or Woocommerce plugins for your shop it still says the default “Latest Products”. This is a bug in version 1.4.1, hopefully it will be fixed in later versions.


Meanwhile the fix is simple. It works in Jigoshop, a look in the home-carousel-jigoshop.php file which is in the sub folder includes in your Echo theme folder shows this for the text above the Carousel

<h2 style="text-align:center;"><?php if(get_option('storefront_carousel_text')) {echo get_option('storefront_carousel_text');} else {echo "Latest Products";}?></h2>

but in the WP e-Commerce and Woocomerce versions of that file it just says

<h2 style="text-align:center;">Latest Products</h2>

So open either home-carousel-woocommerce.php. or home-carousel-wpec.php depending on which shop plugin you are using and replace that line with the one from Jigoshops file. Just cut and paste from above. This is such an easy edit you could just do it by going to Appearance/Editor in the WordPress backend and selecting the appropriate file for editing from the list.

PHP Tools:

You may edit your PHP outside WordPress and upload it to your server. You must use an appropriate code editor NOT microsoft word or anything like that which adds a lot of invisible formatting and will be a disaster.
If you do not have one, 2 excellent free ones are…
TextWrangler for Mac,
Notepad++ for the PC

Leave a Reply