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.
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” ){
<br />”;
$merchant_logo = $GLOBALS[‘CORE_THEME’][‘category_icon_’.$category->term_id];
$merchant_logo = str_replace(“&”,”&”,$merchant_logo);
$img = “
}else{
$img = “”;
}
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now