// File Security Check
if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && basename( __FILE__ ) == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
	die ( 'You do not have sufficient permissions to access this page!' );
}

get_header(); ?>

<!-- BEGIN #content -->
<section id="content">

	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

		<article <?php post_class(); ?>>

			<?php // add pageview ?>
			<?php nice_pageviews(); ?>

			<header>
					<?php nice_breadcrumbs( array( 'singular_article_taxonomy' => 'article-category' ) ); ?>

					<h1 class="entry-title"><?php the_title(); ?></h1>

					<?php nice_article_meta(); ?>

			</header>

			<div class="entry">

				<?php

				$embed = get_post_meta( get_the_ID(), 'embed', true );
Esempio n. 2
0
	<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

		<article <?php 
        post_class();
        ?>
>

			<?php 
        // add pageview
        ?>
			<?php 
        nice_pageviews();
        ?>

			<header>
					<?php 
        nice_breadcrumbs(array('singular_article_taxonomy' => 'article-category'));
        ?>

					<h1 class="entry-title"><?php 
        the_title();
        ?>
</h1>

					<?php 
        nice_article_meta();
        ?>