| | |
| | | use JVBase\managers\Cache; |
| | | use JVBase\meta\Meta; |
| | | use JVBase\meta\Render; |
| | | use JVBase\registrar\Registrar; |
| | | |
| | | if (!defined('ABSPATH')) { |
| | | exit; // Exit if accessed directly |
| | |
| | | $meta = Meta::forPost($current->ID); |
| | | $artist = jvbContentFromUser((int)$current->post_author); |
| | | |
| | | $sections = JVB_CONTENT[jvbNoBase($current->post_type)]['sections']??[]; |
| | | $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"> |
| | |
| | | </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"> |
| | |
| | | } |
| | | |
| | | $meta = Meta::forTerm($current->ID); |
| | | $fields = JVB_TAXONOMY[$tax]['fields']??[]; |
| | | $fields = $meta->getAll(); |
| | | |
| | | ?> |
| | | <header id="top"> |