Shoora
10/3/2018 - 4:11 PM

A bit of PHP you can put in your functions.php to modify the default Features by WooThemes template.

A bit of PHP you can put in your functions.php to modify the default Features by WooThemes template.

<?php
/**
 * Modify the default Features by WooThemes template 
 */
function my_features_item_template( $tpl, $args ) {
	$tpl = str_replace( '%%IMAGE%%', '<div class="feature-icon">
		%%IMAGE%%
		<div class="animation animation-1"></div>
		<div class="animation animation-2"></div>
		</div>', $tpl );
	return $tpl;
}
add_filter( 'woothemes_features_item_template', 'my_features_item_template', 10, 2 );