예제 #1
0
            echo $post;
        }
        echo '</div>';
    }
} else {
    get_template_part('content', 'none');
}
/**
 * @hooked eighteen_tags_paging_nav - 10
 */
do_action('eighteen_tags_loop_after');
?>

	</main><!-- #main -->
</div><!-- #primary -->
<?php 
if (Eighteen_Tags::instance()->public->get('blog-show-sidebar')) {
    get_sidebar();
    ?>
	<style>
	@media screen and (min-width: 763px) {
		.eighteen-tags-pro-active div#primary {
			width: 73.9130434783%;
			float: left;
			margin-right: 4.347826087%;
		}
	}
	</style>
	<?php 
}
get_footer();
예제 #2
0
파일: pro.php 프로젝트: pootlepress/18-tags
/**
 * Returns the main instance of Eighteen_Tags to prevent the need to use globals.
 *
 * @since  1.0.0
 * @return Eighteen_Tags Instance
 */
function Pro_18Tags()
{
    return Eighteen_Tags::instance();
}
예제 #3
0
/**
 * Gets the theme mod for customizer fields
 *
 * @param string $id
 * @param mixed $default
 * @return mixed Setting value
 */
function get_18tags_mod($id, $default = null)
{
    return get_theme_mod(Eighteen_Tags::instance()->token . '-' . $id, $default);
}