Changed featured view to use term instead of 'business'
authorLaury GvR <laury@gaslightmedia.com>
Fri, 13 Jan 2017 22:10:09 +0000 (17:10 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 13 Jan 2017 22:10:09 +0000 (17:10 -0500)
The featured view shortcode was using "Featured Business" as a
title and was changed to use the term set in the admin side instead

lib/GlmDataAbstract/DataAbstract.php
views/front/members/featured.html

index 67a0487..05fd32b 100755 (executable)
@@ -3334,7 +3334,7 @@ abstract class GlmDataAbstract
         }
 
         $list = $this->wpdb->get_results($sql, ARRAY_A);
-
+        
         if (count($list) == 0) {
             return false;
         }
@@ -3356,7 +3356,7 @@ abstract class GlmDataAbstract
             $this->addDataAbstractNotice($newList, 'DataBlock', "getList() data");
         }
 
-        // If we're doing paging, return that data along with the list
+        // If we're doing paging, return that data along with the list        
         if ($paging) {
             $c = count($list);
             return array(
index c61cb8b..c3572fa 100644 (file)
@@ -1,7 +1,7 @@
 {include file='front/members/header.html'}
 {if $member}
 <div id="featured-business">
-    <h5>Featured Business</h5>
+    <h5>Featured {$terms.term_member_cap}</h5>
     {if $member.logo}
         <div class="glm-featured-member-image-container">
             <img class="glm-featured-member-image" src="{$glmPluginMediaUrl}/images/grid/{$member.logo}" alt="{$member.member_name}">