Subversion Repositories ZenDark

Rev

Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 27
Line 3... Line 3...
3
 * The template used for displaying page content in page.php and right-page.php
3
 * The template used for displaying page content in page.php and right-page.php
4
 */
4
 */
5
?>
5
?>
6
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
6
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
7
  <?php
7
  <?php
8
    if (get_the_title() != get_the_title(sdt_get_root_parent(get_the_ID()))) { ?>
-
 
-
 
8
    if (get_the_title() != get_the_title(zendark_get_root_parent(get_the_ID()))) { ?>
9
  <header class="entry-header">
9
  <header class="entry-header">
10
    <h1 id="page-title"><?php the_title(); ?></h1>
10
    <h1 id="page-title"><?php the_title(); ?></h1>
11
  </header>
11
  </header>
12
  <?php } ?>
12
  <?php } ?>
13
  <div class="entry-content">
13
  <div class="entry-content">
14
                <?php the_content(); ?>
14
                <?php the_content(); ?>
15
                <?php wp_link_pages(array( 'before' => '<div class="page-link">'.__('Pages:', 'sdt'), 'after' => '</div>')); ?>
-
 
16
    <?php edit_post_link(__('Edit', 'sdt'), '<span class="entry-meta-top">', '</span>'); ?>
-
 
-
 
15
                <?php wp_link_pages(array( 'before' => '<div class="page-link">'.__('Pages:', 'zendark'), 'after' => '</div>')); ?>
-
 
16
    <?php edit_post_link(__('Edit', 'zendark'), '<span class="entry-meta-top">', '</span>'); ?>
17
    <div style="clear:both"></div>
17
    <div style="clear:both"></div>
18
        </div><!-- .entry-content -->
18
        </div><!-- .entry-content -->
19
</article>
19
</article>