| | |
| | | $meta = Meta::forPost($current->ID); |
| | | $artist = jvbContentFromUser((int)$current->post_author); |
| | | |
| | | $registrar = Registrar::getInstance($current->post_type)); |
| | | $registrar = Registrar::getInstance($current->post_type); |
| | | $sections = []; |
| | | if ($registrar) { |
| | | $sections = $registrar->getSections(); |
| | |
| | | </header> |
| | | <section> |
| | | <details class="bio-info"> |
| | | <summary class="row btw"> |
| | | <summary class="row x-btw"> |
| | | <h2>About <?= ($artist['name'] !== '') ? $artist['name'] : strtok($artist['display_name'], ' ')?></h2> |
| | | </summary> |
| | | <div class="columns stack-small"> |
| | |
| | | { |
| | | $current = get_queried_object(); |
| | | |
| | | $cache = Cache::for('shop_bio', WEEK_IN_SECONDS)->connect('taxonomy'); |
| | | $cache = Cache::for('shop_bio', 'term',WEEK_IN_SECONDS); |
| | | $key = $current->term_id; |
| | | $cached = $cache->get($key); |
| | | if ($cached !== false) { |
| | |
| | | </header> |
| | | <section> |
| | | <details class="bio-info"> |
| | | <summary class="row btw"> |
| | | <summary class="row x-btw"> |
| | | <h2>Learn More About <?=$current->name?></h2> |
| | | </summary> |
| | | <div class="map"> |
| | |
| | | function jvbRenderTermSummary() |
| | | { |
| | | $current = get_queried_object(); |
| | | $cache = Cache::for('term_summary', WEEK_IN_SECONDS)->connect('taxonomy'); |
| | | $cache = Cache::for('term_summary', 'term',WEEK_IN_SECONDS); |
| | | $key = $current->ID; |
| | | $cached = $cache->get($key); |
| | | if ($cached !== false) { |