Features by WooThemes
add extra field to Feature Details (2 posts)

  1. Dave Loodts
    Posted 2 years ago #

    Hey, i installed this plugin for the wootheme 'For the Cause'.
    I need an extra testfield in the feature plugin for naming a class; it's to indicating a fontawesome icon.

    How can i do that in my funstions.php file ?
    Can it be done with a filter ?

    It's this function in 'For the Cause', the i-tag with the class icon-'here comes the class'.

    add_filter('woothemes_features_item_template', 'woo_custom_features_template');

    if ( ! function_exists( 'woo_custom_features_template' ) ) {
    function woo_custom_features_template( $tpl ) {
    $tpl = '<div class="%%CLASS%%">%%IMAGE%%<div class="feature-content"><h3 class="feature-title">
    <div class="post-type swatch-red">
    <i class="icon-%%ICON%%"></i>
    return $tpl;
    } // End woo_custom_features_template()


  2. saxisme
    Posted 1 year ago #

    Hi Davel,

    did you manage to solve it?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Features by WooThemes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.