示例#1
0
文件: 404.php 项目: nunoluciano/uxcl
<?php get_header(); ?>

       <div id="xpress_wrap">
	   
	<?php if(xpress_is_theme_sidebar_disp()) : ?>
	   
		<div id="xpress_content" class="narrowcolumn">
		
	<?php else : ?>
	
		<div id="xpress_content" class="narrowcolumn_nonside">
		
	<?php endif; ?>

    <div id="xpress_header">
    	<div id="xpress_headerimg">
    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>
    </div>

		<h2 class="center"><?php _e('Error 404 - Not Found', 'xpress'); ?></h2>

	</div>
       </div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
示例#2
0
文件: single.php 项目: nouphet/rata
        xpress_right_arrow_posts_link('echo=1');
        ?>
</div>
				<?php 
    }
    ?>
			</div>
				
		<?php 
} else {
    ?>
			<p><?php 
    _e('Sorry, no posts matched your criteria.', 'xpress');
    ?>
</p>
		<?php 
}
?>
	</div>
</div>
<?php 
if (xpress_is_theme_sidebar_disp()) {
    get_sidebar();
}
?>

<?php 
get_footer();
?>

示例#3
0
						echo ' | ';
						edit_post_link(__('Edit', 'xpress'), '', ' | ');
						comments_popup_link(__('No Comments &#187;', 'xpress'), __('1 Comment &#187;', 'xpress'), __('% Comments &#187;', 'xpress'), '', __('Comments Closed', 'xpress') );
					?>
					</div>
				</div>

			<?php endwhile; ?>
				
			<div class="xpress-navi-bar">
				<?php if(function_exists('wp_pagenavi')) : ?>			
					<div class="xpress_pagenavi"><?php wp_pagenavi(); ?></div>
				<?php else : ?>
					<div class="alignleft"><?php xpress_left_arrow_posts_link('echo=1'); ?></div>
					<div class="alignright"><?php xpress_right_arrow_posts_link('echo=1'); ?></div>
				<?php endif; ?>
			</div>
				
		<?php else : ?>

			<h2 class="center"><?php _e('Not Found', 'xpress'); ?></h2>
			<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'xpress'); ?></p>
			<?php include (get_template_directory() . "/searchform.php"); ?>

		<?php endif; ?>
	</div>
</div>
<?php if(xpress_is_theme_sidebar_disp()) get_sidebar(); ?>

<?php get_footer(); ?>