1
Hello guys I’m with a problem that when I do several posts on the same day it would be the same date it only appears in the last post
<article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"> <div class="box-index" style=" background-image:url(<?php echo $image[0];?>); "></div></a>
<b><a class="index-tro"href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></b><br />
<div class="datee"> <?php the_date(); ?> </div>
<div class="linhapon"></div>
<h2 class="resum"><?php the_excerpt(); ?></h2>
<!--<?php
if ( get_the_post_thumbnail( $post_id ) != '' ) {
the_post_thumbnail();
} else {
echo get_first_image();
}
?>-->
</article>
This is wordpress right there?
– rray
yes this is wordpress @rray
– kaiquemix