static function init()
 {
     // o slug do post type
     self::$post_type = strtolower(__CLASS__);
     add_action('init', array(self::$post_type, 'register'), 0);
     add_action('init', array(self::$post_type, 'create_foruns'), 10);
     add_filter('pre_get_posts', array(self::$post_type, 'archive_pre_filter'));
 }
get_header();
?>

	<section class="col-xs-12">

		<?php 
while (have_posts()) {
    the_post();
    ?>
				<?php 
    // Lista de candidatos
    ?>
				<?php 
    $uf = substr($post->post_name, 0, 2);
    $setorial = substr($post->post_name, 3);
    $candidates = Foruns::get_candidates($uf, $setorial);
    $forum_uf_setorial = strtoupper($uf) . '-' . $setorial;
    $original_post = $post;
    $current_user_ID = get_current_user_id();
    ?>
			
				<header>
					<div class="section-description">
						<!-- <p>Olá <strong><?php 
    echo user_short_name();
    ?>
!</strong> Este é o fórum de debates do Setorial de <strong><?php 
    echo substr($post->post_title, 4);
    ?>
 </strong>do estado <strong><?php 
    echo get_state_name_by_uf(substr($post->post_title, 0, 2));