Skip to content

Instantly share code, notes, and snippets.

@fervous
Created September 1, 2016 21:56
Show Gist options
  • Save fervous/3b36fefac27fed7bb623dd60f35540bc to your computer and use it in GitHub Desktop.
Save fervous/3b36fefac27fed7bb623dd60f35540bc to your computer and use it in GitHub Desktop.
product description working - store description not working
add_filter('wcv_product_description', 'custom_wcv_product_description');
function custom_wcv_product_description( $args ){
$args['label'] = 'PRODUCT DESCRIPTION <br><i class="fa fa-info-circle" aria-hidden="true"></i><span style ="font-size:11px; font weight:400;"> REQUIRED. Describe your product in detail for your customers. Include size, materials &amp; any relevant information here.</span>';
return $args;
}
add_filter('wcv_vendor_store_description', 'custom_wcv_vendor_store_description');
function custom_wcv_vendor_store_description( $args ){
$args['label'] = 'SHOP DESCRIPTION <br><i class="fa fa-info-circle" aria-hidden="true"></i><span style ="font-size:11px; font weight:400;">Optional. Give a brief, keyword-rich description of your shop. This is used with SEO. This will be shown under your shop banner on your storefront.</span>';
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment