* @license GPL-2.0+ * @link https://aumcreate.com * @copyright 2025 AumCreate * @since 1.0.0 */ get_header(); /* * The second `` that used to stand here is gone (2026-10-06). header.php already opened one; this file * reopening it was invalid HTML and printed `body_class()` twice. Its `data-post-id` moved to that one tag — * see the note there. */ // Get article template type $template_type = get_post_meta(get_the_ID(), '_aum_post_template', true); $template_type = empty($template_type) ? 'text' : $template_type; // Default graphic and text type // Load different template files based on template type switch ($template_type) { case 'gallery': get_template_part('template-parts/single/content', 'gallery'); break; case 'video': get_template_part('template-parts/single/content', 'video'); break; case 'text': default: get_template_part('template-parts/single/content', 'text'); break; } // Display comment template if (comments_open() || get_comments_number()) : comments_template(); endif; get_footer();