-
Notifications
You must be signed in to change notification settings - Fork 30
/
index.php
36 lines (29 loc) · 1.08 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php get_header(); ?>
<div class="section content">
<div class="row">
<div class="content-primary">
<div class="content-header">
<h1 id="page-title"><span><?php the_title(); ?></span></h1>
<?php if (has_post_thumbnail()) the_post_thumbnail(); ?>
</div>
<div class="skin">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'twentyten' ), 'after' => '' ) ); ?>
<?php edit_post_link( __( 'Bearbeiten', 'twentyten' ), '', '' ); ?>
<?php endwhile; ?>
</div>
</div>
<div class="content-aside">
<div class="skin">
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'walker' => new My_Walker_Nav_Menu()) ); ?>
<?php
$custom_fields = get_post_custom();
if ($custom_fields['right_column'][0]<>'') { ?>
<? echo $custom_fields['right_column'][0];
} ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>