also ich bastle zur zeit an einen kleinen wordpress blog herum und jetzt nich mehr wieter.
ich will nun alles ueberfluessige und unnoetige entfernen um den blog uebersichtlich zu halten.
ich hab mal ein screen gemacht und hoffe das mir einer weiterhelfen kann.
(also die durchgestrichen sachen will ich entfernen)
bilderload.com/bild/79458/20 … 43C82B.png
lenz
13. Januar 2011 um 20:39
2
na dann zeig doch ma deinen code
(single.php)
hallo lenz
ich weiss ja nicht wo der code fuer „Recent Posts“ und „Readers“ sind, wenn ich das wuesste waere es ja kein problem den absatz rauzuloeschen.
hatte gehofft das sich hier einpar Wordpress-freaks aufhalten und das auf die schnelle wiesen
lenz
13. Januar 2011 um 21:41
4
deshlab sollst du hier die single.php deines designs posten.
dann sagen wir dir,was du löschen/ändernd musst.
grüße,
sebastian
[code]<?php get_header(); ?>
<?php include('leader.php'); ?>
<div id="page">
<div id="content_wrap">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post">
<div class="thumb">
<?php
if ($images = get_children(array(
'post_type' => 'attachment',
'numberposts' => 1,
'post_status' => null,
'post_parent' => $post->ID,)))
foreach($images as $image) {
$attachment=wp_get_attachment_image_src($image->ID, $size);
?><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $attachment[0]; ?>&h=200&w=200&zc=1" alt="<?php the_title(); ?>" /></a>
<?php } else { ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/preview.jpg" alt=""/></a>
<?php } ?>
</div>
<div class="text">
<small><?php the_time('F jS') ?> in <?php the_category(', ') ?> by <?php the_author_posts_link(); ?> . <?php edit_post_link('Edit', '', ' '); ?></small>
<h1><?php the_title(); ?></h1>
<p><em><?php the_excerpt(); ?></em></p>
</div>
<div class="clear"></div>
<div class="author">
<?php
echo get_avatar( get_the_author_id(), '80', 'http://www.gravatar.com/avatar/46c25d7d8f2e19fa2bec248f763a11bd?s=80'); ?>
<div class="author-text">
<strong><?php the_author_posts_link(); ?></strong>
<p><?php the_author_description(); ?></p>
<p><small><?php if (get_the_author_url()) { ?><a href="<?php the_author_url(); ?>">VIsit <?php the_author(); ?>'s website</a><?php } else { } ?>
<?php the_content(); ?>
<div id="extra">
<div class="related">
<h3>Related Posts</h3>
<?php wp_related_posts(); ?>
</div>
<div class="social">
<a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" id="delicious-button" title="Delicious">Delicious</a>
<a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" id="stumble-button" title="Stumble">Stumble</a>
<a href="http://digg.com/submit?phase=2&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" id="digg-button" title="Digg">digg</a>
<a href="http://www.reddit.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" id="redd-button" title="Reddit">Reddit</a>
<a href="http://www.mixx.com/submit?page_url=<?php the_permalink(); ?>" id="mixx-button" title="Mixx">Mixx</a>
<a href="http://twitter.com/home?status=<?php the_permalink(); ?>" id="twitt-button" title="Twitter">Twitter</a>
<a href="<?php the_permalink(); ?>feed" id="rss2-button" title="Subscribe">Subscribe</a>
</div>
<div class="clear"></div>
</div>
</div>
<?php comments_template('', true); ?>
<?php endwhile; else: ?>
<div class="post">
<p>Sorry, no posts matched your criteria.</p>
</div>
<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<?php include('bottom.php'); ?>
<?php get_footer(); ?>[/code]
Ryon
14. Januar 2011 um 10:06
6
Hi so sollte es passen …
lg flo