XPressME Integration Kit

Trac

source: trunk/xpressme_integration_kit/wp-content/themes/xpress_default/page.php

Last change on this file was 582, checked in by toemon, 14 years ago

デフォルトテーマでページを表示するとヘッダが2重に表示されるバグ修正 Fixes #334

File size: 975 bytes
Line 
1<?php get_header(); ?>
2
3   <div id="xpress_wrap">
4           
5        <?php if(xpress_is_theme_sidebar_disp()) : ?>
6           
7                <div id="xpress_content" class="narrowcolumn">
8               
9        <?php else : ?>
10       
11                <div id="xpress_content" class="narrowcolumn_nonside">
12               
13        <?php endif; ?>
14
15                <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
16                <div class="post" id="post-<?php the_ID(); ?>">
17                <?php if (function_exists('hotDates')) { hotDates(); }?>
18                <h2><?php the_title(); ?></h2>
19                        <div class="entry">
20                                <?php the_content('<p class="serif">' . __('Read the rest of this page &raquo;', 'xpress') . '</p>'); ?>
21
22                                <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'xpress') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
23
24                        </div>
25                </div>
26                <?php endwhile; endif; ?>
27        <?php edit_post_link(__('Edit this entry.', 'xpress'), '<p>', '</p>'); ?>
28
29        </div>
30       </div>
31
32<?php get_sidebar(); ?>
33
34<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.