Jake Vanderwerf
2026-09-14 7935d26cd16a4f8f69a59a44e27a7263b60e54bf
src/summary/render.php
@@ -19,12 +19,10 @@
    // Buffer output
    if (is_tax()) {
        switch (get_queried_object()->taxonomy) {
            case BASE.'shop':
                return jvbRenderShopSummary();
            default:
                return jvbRenderTermSummary();
        }
      return match (get_queried_object()->taxonomy) {
          BASE . 'shop' => jvbRenderShopSummary(),
          default => jvbRenderTermSummary(),
       };
    } elseif (is_singular()) {
        return jvbRenderArtistSummary();
    }
@@ -152,7 +150,7 @@
        <h2>Contact <?=$artist['name']?></h2>
        <?php
        echo jvbRenderContactInfo($current->ID, 'post');
        echo jvbRenderLinks($current->ID, 'post');
        echo jvbRenderLinks($current->ID);
        ?>
    </section>
    <?php
@@ -294,16 +292,11 @@
    ob_start();
   $tax = jvbNoBase($current->taxonomy);
    switch ($tax) {
        case 'style':
            $title = 'Tattoo Artists';
            break;
        case 'theme':
            $title = 'Tattoos';
            break;
        default:
            $title = '';
    }
   $title = match ($tax) {
      'style' => 'Tattoo Artists',
      'theme' => 'Tattoos',
      default => '',
   };
    $meta = Meta::forTerm($current->ID);
    $fields = $meta->getAll();