Moin Moin,
in der Hoffnung hier richtig zu sein :-)
Ich habe ein theme mit slider im Headbereich. Allerdings greift dieser slider auf artikel-Bilder zurück.
Ich hingegen möchte mehr die statischen seiten nutzen.
Kann mir bitte jemand behilflich bei der anpassung sein ???
PHP
<div id="slider">
<div class="buttons">
<span class="prev">prev</span>
<span class="next">next</span>
</div>
<div class="holder">
<div class="contents">
<ul>
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
$ftpost = get_option('swp_ftpost');
$my_query = new WP_Query('category_name='. $ftpost .'&showposts= 15');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>
<li class="fragment">
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" >
<?php the_post_thumbnail(array(150,150)); ?>
</a></li>
<?php endwhile; ?>
</ul>
</div>
</div>
</div>
Alles anzeigen
beste grüße
Krauskopf