| | |
| | | $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(); |
| | |
| | | { |
| | | $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) { |
| | |
| | | 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) { |