an
groups-icon

Store Directory Icon

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Stephen sproffitt@thecouponoasis.com
    0 points
    Beginner

    I’m just wondering would it be feasible to modify this chunk of code to use the wp-post-image
    instead of the storelogo? This would save a huge amount of time and would automatically put an image from the wp-post-image into the storelogo location in the store directory.

    // CHECK FOR ICON

    if(isset($category->term_id) && isset($GLOBALS[‘CORE_THEME’] [‘category_icon_’.$category->term_id]) && $atts[‘icon’] == “yes” ){
    $merchant_logo = $GLOBALS[‘CORE_THEME’][‘category_icon_’.$category->term_id];
    $merchant_logo = str_replace(“&”,”&”,$merchant_logo);
    $img = “merchant<br />”;
    }else{
    $img = “”;
    }

    October 22, 2016 at 7:12 pm
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 23, 2016 at 3:53 pm
  • Stephen sproffitt@thecouponoasis.com
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 23, 2016 at 6:17 pm

366

Views

2

Replies