2
I’m wanting my button id="boot"
(<div id="boot">
) each time it is pressed, charge +3 testimonials.
<?php
query_posts( array ( "category_name" => "depo" ));
if (have_posts()) : while (have_posts()) : the_post();
?>
<article id="post-28" role="article" style="margin-left:20px;">
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<h1 class="titulo-depo" ><b><a class="index-tro"href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></b></h1>
<h2 class="depo-p"><b><?=the_content();?></b></h2>
</article>
<?php
$cont_banner++;
endwhile; ?>
<?php else : ?>
<?php endif; ?>
<div id="bott"><a href="eventos.php"><p>+DEPOIMENTOS</p></a></div><br /><br /><br /><br />
What happens when you click on it?
– PauloHDSousa
I want when cracking it to open +3 post at the bottom in the <H2 class="Depo-p"><b><?= the_content();? ></b></H2>
– kaiquemix
Possible duplicate of How to show more posts when you click button?
– Léo Cunha