<?php $news = get_article_array(array('post', 'public_notice', 'tribe_events'), 3, $tax_id); set_query_var('news', $news); set_query_var('is_aside', true); ?> <div class="aside"> <?php get_template_part('template-parts/module/documents'); ?> <?php get_template_part('template-parts/module/faq'); ?> <?php get_template_part('template-parts/module/code'); ?> <?php get_template_part('template-parts/module/news'); ?> </div>
// global $menu_tree; //$count = count($menu_tree); //Announcements $announcements = get_article_array('announcement', 1, $tax_id); set_query_var('announcements', $announcements); //News $news = get_article_array(array('post', 'public_notice', 'tribe_events'), 3, $tax_id); set_query_var('news', $news); //FAQ $faq = get_article_array('faq', -1, $tax_id); set_query_var('faq', $faq); //Code $code = get_article_array('code', -1, $tax_id); set_query_var('code', $code); //Code $docs = get_article_array('attachment', -1, $tax_id); //print_r($docs); set_query_var('docs', $docs); ?> <article id="post-<?php the_ID(); ?> " <?php post_class('level3plus'); ?> > <div class="entry-content"> <?php if ($announcements) {