Ejemplo n.º 1
0
    </div>
    
    <?php 
    }
    ?>
    <?php 
} else {
    ?>
    
    <h2>Not Found &mdash; There's no articles that fit your criteria <span class="tagline">Why don't you try again?</span></h2>
    <?php 
}
?>
    <div id="bookmarks">
        <?php 
if (is_category()) {
    echo '<h2 class="Heading">Category Archives <span class="tagline">Other categories</span></h2>';
    echo '<ul>';
    wp_list_cats('sort_column=name');
    echo '</ul>';
} else {
    echo '<h2 class="Heading">Monthly Archives <span class="tagline">Other dates of posting</span></h2>';
    smartArchives();
}
?>
    </div>
</div>
<!--  Side Central END -->
<?php 
get_sidebar();
get_footer();
Ejemplo n.º 2
0
					<header class="entry-header">
						<h1 class="entry-title"><?php 
        single_post_title();
        ?>
</h1>
					</header><!-- .entry-header -->

					<div class="entry-content">
						<?php 
        the_content();
        ?>

						<?php 
        if (function_exists('smartArchives')) {
            smartArchives('both', '');
            ?>

						<?php 
        } elseif (function_exists('wp_smart_archives')) {
            wp_smart_archives();
            ?>

						<?php 
        } elseif (function_exists('srg_clean_archives')) {
            srg_clean_archives();
            ?>

						<?php 
        } else {
            ?>
Ejemplo n.º 3
0
		<?php hybrid_before_content(); // Before content hook ?>

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

			<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">

				<?php hybrid_before_entry(); // Before entry hook ?>

				<div class="entry-content">

					<?php the_content(); ?>

					<?php if ( function_exists( 'clean_my_archives' ) ) : echo clean_my_archives(); ?>

					<?php elseif ( function_exists( 'smartArchives' ) ) : smartArchives( 'both', '' ); ?>

					<?php elseif ( function_exists( 'wp_smart_archives' ) ) : wp_smart_archives(); ?>

					<?php elseif ( function_exists( 'srg_clean_archives' ) ) : srg_clean_archives(); ?>

					<?php else : ?>

						<h2><?php _e( 'Archives by category', 'hybrid' ); ?></h2>

						<ul class="xoxo category-archives">
							<?php wp_list_categories( array( 'feed' => __( 'RSS', 'hybrid' ), 'show_count' => true, 'use_desc_for_title' => false, 'title_li' => false ) ); ?>
						</ul><!-- .xoxo .category-archives -->

						<h2><?php _e( 'Archives by month', 'hybrid' ); ?></h2>