Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Não sei o que está acontecendo, mas o slideshow que estou querendo colocar no site ta dando erro, as imagens e as noticias aparecem tudo certo mas não rodam, sempre para na segunda. Existe um tópico similar mas não sei como ele funciona também, é esse aqui: Link
o modelo rodando em html: link
Adptação para wordpress:
<div id="myslider" >
<ul class="ui-tabs-nav">
<?php query_posts('category_name=Destaques&showposts=4'); $i = 1; if (have_posts()) { while (have_posts()) { the_post(); ?>
<li class="ui-tabs-nav-item <?php if ($i == 1) { ?>ui-tabs-selected<?php } ?>"<?php echo 'id="nav-fragment-' . $i . '"><a href="#fragment-' . $i . '">'; ?>
<img src="<?php getImage('1'); ?>" width="73" height="58" >
<span><?php the_title(); ?></span></a></li>
<?php $i++; } // end while loop
} // end if
wp_reset_query(); ?>
</ul>
<?php query_posts('category_name=Destaques&showposts=4'); $i = 1; if (have_posts()) { while (have_posts()) { the_post(); ?>
<?php echo '<div id="fragment-' . $i . '" class="ui-tabs-panel" style="">'; ?>
<a href="<?php the_permalink() ?>" ><img src="<?php getImage('1'); ?>" width="382" height="293" ></a>
<div class="info" >
<h2><a href="<?php the_permalink() ?>" ><?php the_title(); ?></a></h2>
<p><?php the_content_rss('', TRUE, '', 15); ?><a href="<?php the_permalink() ?>" >[+]</a></p>
</div>
</div>
<?php $i++; } // end while loop
} // end if
wp_reset_query(); ?>
</div>Carregando comentários...