2
How can I show on my page, only the images highlighted, no titles and description on my page?
This is my structure:
<?php
$args = array( 'posts_per_page' => 1, 'category_name' => 'primeiro-conceito' );
$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post );
$com_number = get_comments_number( $post->ID );
$post_thumb_id = get_post_thumbnail_id( $post->ID );
$post_thumb_src = wp_get_attachment_image_src( $post_thumb_id, '800x850' );
?>
<div id="posts-conceitos">
<a href="<?php echo get_permalink( $ultima->ID ); ?>"><img class="img-responsive margin-bottom-10" src="<?php echo $post_thumb_src[0]; ?>"></a>
<?php the_excerpt(); ?>
</div>
post an excerpt of the code you are using, your question opens doors to very broad answers.
– Hoppy
follows my code:
– Julio Rodrigues
I don’t see "titles and description" in the code you’re showing...
– brasofilo