Jake Vanderwerf
2025-11-25 2a2303d1dccc120dd7aa5f6b6ade0f89e0064850
inc/blocks/FeedBlock.php
@@ -317,7 +317,19 @@
   protected function renderGrid(): void
   {
      ?>
      <div class="item-grid"></div>
      <div class="item-grid">
         <?php
         $total = count($this->config['content']) - 1;
         for ($i = 1; $i <= 36; $i++) {
            $rand = rand(0, $total);
            $config = Features::getConfig($this->config['content'][$rand]);
            $icon = jvbIcon($config['icon']??'logo-triangle');
            ?>
            <div class="placeholder"><?=apply_filters('jvbFeedPlaceholder', $icon) ?></div>
            <?php
         }
         ?>
      </div>
      <?php
   }
@@ -377,8 +389,7 @@
                <p>Try tweaking those filters a bit.</p>
                <p>Edmonton\'s got talent - let\'s find it.</p>
            </div>', $this->config). '</template>';
      echo '<template class="placeholderTemplate"><div class="placeholder">'.apply_filters('jvbFeedPlaceholder', '').'</div></template>';
      echo '<template class="placeholderTemplate"><div class="placeholder">'.apply_filters('jvbFeedPlaceholder', jvbIcon('logo-triangle')).'</div></template>';
   }
   /**