Hi Leute!
Ich habe in meinem Theme in der Page.php und Index.php das Datum
<?php the_time('j') ?> und das "posted by" entfernt.
Allerdings haben sich jetzt ein paar Grafiken unschön verschoben.
Link zur Seite:
http://www.zeitwandel.de/neu/?page_id=2
Original page.php:
<?php get_header(); ?>
<div id="content">
<div id="main">
<div class="content"><div class="cont-r"><div class="cont-l"><div class="cont-bot">
<div class="grad-hack"><div class="begin"></div>
<?php if (have_posts()) : ?>
<?php $postnumber = '1' ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post<?php if($postnumber == '1') echo $postnumber; $postnumber++; ?>" id="post-<?php the_ID(); ?>">
<div class="title">
<div class="date"><?php the_time('j') ?><div class="month"><?php the_time('M') ?></div></div>
<h1><?php the_title(); ?></h1>
<p class="author"><?php edit_post_link('Edit', ' | ', ' | '); ?> Posted by: <?php the_author() ?> in <?php the_category(', ') ?></p>
</div>
<div class="entry font-resize">
<?php the_content('Read the rest of this entry »'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; ?>
<div class="backtotop"><a class="scroll" href="#top">Back to top</a></div>
<?php endif; ?>
</div>
</div></div></div></div>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>
Alles anzeigen
geänderte page.php:
<?php get_header(); ?>
<div id="content">
<div id="main">
<div class="content"><div class="cont-r"><div class="cont-l"><div class="cont-bot">
<div class="grad-hack"><div class="begin"></div>
<?php if (have_posts()) : ?>
<?php $postnumber = '1' ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post<?php if($postnumber == '1') echo $postnumber; $postnumber++; ?>" id="post-<?php the_ID(); ?>">
<div class="title">
<div class="date"><div class="month"><?php the_time('M') ?></div></div>
<h1><?php the_title(); ?></h1>
<p class="author"></p>
</div>
<div class="entry font-resize">
<?php the_content('Read the rest of this entry »'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; ?>
<div class="backtotop"><a class="scroll" href="#top">Back to top</a></div>
<?php endif; ?>
</div>
</div></div></div></div>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>
Alles anzeigen
Könnt ihr mir helfen dass zu fixen?
Vielen Dank,
Ventus