Brauche Hilfe mit Wordpress.

DaxDony

LoseTrader.de
ID: 373148
L
11 Mai 2008
3.550
342
Liebe Klammunity,
brauche wieder eure Hilfe.

Wollte Heute WordPress ausprobieren, und so habe ich es mir runtergeladen, wieder hochgeladen (^^), instl. und ein Design eingefügt.
Nun habe ich testweise ein paar Artikel eingefügt, in der Vorschau sah das ganze noch so aus:

Bild 1

in "Wirklichkeit" sieht es nun aber so aus:

Bild 2

... wie kann ich diese Vorschaubilder trotzdem einfügen?
Ohne würde das ganze ziemlich Öde aussehen!


Danke :)
 
Hey,
besten Dank für deine Hilfe :)


Code:
<?php get_header(); ?>

<div class="main">
	
	<?php include ('column-one.php'); ?>

		<div class="content">

			
			<div class="column two">
	
				<div class="edge-alt"></div>
	
									<?php if (have_posts()) : ?>

										<?php while (have_posts()) : the_post(); ?>
											<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
											
											                <div class="entry-thumb">
											                	<?php $key="thumb"; echo get_post_meta($post->ID, $key, true); ?>
											                </div>
															<div class="entry">
				<p class="meta"><?php the_time('l, F jS, Y') ?> - <span class="category"><?php the_category(', '); ?></span></p>


																<?php the_excerpt(); ?>
																<p class="more"><a href="<?php the_permalink() ?>">continue reading</a></p>
	

															</div>
															<?php endwhile; ?>

															<div class="navigation">
																<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
																<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
															</div>

														<?php else : ?>

															<h2 class="center">Not Found</h2>
															<p class="center">Sorry, but you are looking for something that isn't here.</p>
															<?php endif; ?>
														
			</div><!-- end column -->

			
		</div><!-- end content -->

		<?php get_footer(); ?>

Das wäre die index...




Edit:
Habe eine interessante Zeile gefunden >

$key="thumb"; echo get_post_meta($post->ID, $key, true);


Doch wo wähle ich die Grafik aus?
 
Zuletzt bearbeitet:
Hier ist der Code von "columne-one" - sollte wichtig sein ?!


PHP:
<div class="asides">
	<div class="navigation">
		<div class="edge-nav"></div>
		
		<?php include ('navigation.php'); ?>

	</div><!-- end navigation -->
	<div class="column one">
			<h2 class="featured">Featured</h2>
			
						<?php $my_query = new WP_Query('category_name=featured&showposts=3'); ?>
						<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
							<div class="featured-post">
							
			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
			<p class="meta">Posted by <a href="<?php the_author(); ?>"><?php the_author(); ?></a> on <?php the_time('l, F jS, Y') ?></p>
			            <?php the_excerpt(); ?>
			<p class="more"><a href="<?php the_permalink() ?>">continue reading</a></p>
					</div>

					<?php endwhile; ?>

	</div><!-- end column -->
</div><!-- end asides -->


Ich hoffe wirklich, dass mir jemand helfen kann!
 
Hm... du hast das "benutzerdefinierte Feld" (heißt das so in der deutschen Sprachversion?) "thumb" erstellt? Darin speicherst du dann den HTML-Code zum anzeigen des Vorschaubildes. Alternativ kann man den Code auch so anpassen, dass du nur den Link zum Bild angeben musst.

Greetz

paddya
 
Hm... du hast das "benutzerdefinierte Feld" (heißt das so in der deutschen Sprachversion?) "thumb" erstellt? Darin speicherst du dann den HTML-Code zum anzeigen des Vorschaubildes. Alternativ kann man den Code auch so anpassen, dass du nur den Link zum Bild angeben musst.

Greetz

paddya

Hat wunderbar geklappt,
genau das, was ich gesucht habe :D
Vielen, vielen Dank :)