| | |
| | | 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(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | $meta = Meta::forTerm($current->ID); |
| | | $fields = JVB_TAXONOMY[$tax]['fields']??[]; |
| | | $fields = $meta->getAll(); |
| | | |
| | | ?> |
| | | <header id="top"> |