Hier ist mal ein Bild, das mein Problem hoffentlich besser verdeutlicht:
Bild
Da, wo "Textfeld mit Beschreibung Bild1" steht möchte ich das gerne haben. Leider finde ich keinen Ansatz. Derzeit ist der Text überhaupt nicht sichtbar.
Hier mal der Code der index.php:
Zitat:
<?php get_header();
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<!-- end header -->
<div class="featured">
<div class="photo shadow-left">
<div class="shadow-right">
<ul id="photos">
<?php query_posts('showposts=16&category_name=featured') ;
if (have_posts()) : ?><?php while (have_posts()) : the_post();
$image = "";
$first_image = $wpdb->get_results(
"SELECT guid FROM $wpdb->posts WHERE post_parent = '$post->ID' "
."AND post_type = 'attachment' ORDER BY `post_date` ASC LIMIT 0,1"
);
if ($first_image) {
$image = $first_image[0]->guid;
}
?>
<li>
<a href="<?php the_permalink() ?>"><img src="<? bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<? echo $image ?>&w=480&h=275&zc=1" alt="<? the_title(); ?>" /></a>
</li>
<?php endwhile; ?><?php endif; ?>
</ul>
</div>
</div>
<div class="legend">
<?php
if ($ftfl_welcome_title) { ?>
<h3><? echo $ftfl_welcome_title; ?></h3>
<?
} else { ?>
<h3>Fotofolio</h3>
<? } ?>
<div class="author"><em>by</em> <strong><?php echo $ftfl_full_name ?></strong></div>
<div class="notes">
<p>
<?php
if ($ftfl_welcome_message) {
echo $ftfl_welcome_message;
} else {
echo "Short description about your fotofolio theme";
} ?></p>
</div>
<div class="news">
<h2>die neuesten Logos:</h2>
<?php query_posts('showposts=16');
if (have_posts()) : ?><?php while (have_posts()) : the_post();
$image = "";
$first_image = $wpdb->get_results(
"SELECT guid FROM $wpdb->posts WHERE post_parent = '$post->ID' "
."AND post_type = 'attachment' ORDER BY `post_date` ASC LIMIT 0,1"
);
if ($first_image) {
$image = $first_image[0]->guid;
}
?>
<div class="pic">
<a href="<?php the_permalink() ?>" rel="<? bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $image; ?>">
<img src="<? bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $image; ?>&w=40&h=40&zc=1" /></a>
</div> <!-- .pic -->
<?php endwhile; ?><?php endif; ?>
</div>
</div> <!-- .legend -->
<div class="ffix"></div>
</div><!-- #featured -->
<?php get_footer(); ?>
|
Hoffe, das bringt was...