Esempio n. 1
0
" title="<?php 
printf(esc_attr__('Permalink to %s', 'catchbox'), the_title_attribute('echo=0'));
?>
" rel="bookmark"><?php 
the_title();
?>
</a></h2>
			<h3 class="entry-format"><?php 
_e('Gallery', 'catchbox');
?>
</h3>
		</hgroup>

		<div class="entry-meta">
			<?php 
catchbox_posted_on();
?>
		</div><!-- .entry-meta -->
	</header><!-- .entry-header -->

	<?php 
if (is_search()) {
    // Only display Excerpts for search pages
    ?>
		<div class="entry-summary">
			<?php 
    the_excerpt();
    ?>
		</div><!-- .entry-summary -->
		<?php 
} else {
Esempio n. 2
0
?>

	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<header class="entry-header">
			<?php if ( is_sticky() ) : ?>
				<hgroup>
					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'catchbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
					<h3 class="entry-format"><?php _e( 'Featured', 'catchbox' ); ?></h3>
				</hgroup>
			<?php else : ?>
			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'catchbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
			<?php endif; ?>

			<?php if ( 'post' == get_post_type() ) : ?>
                <div class="entry-meta">
                    <?php catchbox_posted_on(); ?>
                    <?php if ( comments_open() && ! post_password_required() ) : ?>
                    	<span class="sep"> &mdash; </span>
                        <span class="comments-link">
                         	<?php comments_popup_link(__('No Comments &darr;', 'catchbox'), __('1 Comment &darr;', 'catchbox'), __('% Comments &darr;', 'catchbox')); ?>
                        </span>
                    <?php endif; ?>
                </div><!-- .entry-meta -->
			<?php endif; ?>
		</header><!-- .entry-header -->
        	
		 <?php 
		 	$options = catchbox_get_theme_options();
			$current_content_layout = $options['content_layout'];
			?>
		<?php if ( is_search() ) : // Only display Excerpts for Search ?>