Only the most recent post is showing on my category page (working on localhost, not live site)
This is the code I have for my content.php page and it works completely fine on my local host, showing all the posts but now I've made the site live, only the most recent post shows, and it also now doesn't show the author and date which was also working before.
Can anyone help me solve this? I'm thinking I might not have the loop right but I can't find a solution
" >?php exotic_post_thumbnail(); ?
div class=entry-header
div class=article-title
?php
if ( is_singular() ) :
the_title( 'h1 class=entry-title', '/h1' );
else :
the_title( 'h2 class=entry-titlea href=' . esc_url( get_permalink() ) . ' rel=bookmark', '/a/h2' );
endif; ?
/div
div class=article-info
div class=article-author
Bynbsp;?php echo get_field(author); ?,
/div
div class=article-date
?php echo get_the_date( 'dS F Y'); ?
/div
/div
/div!-- .entry-header --
-->
Topic localhost loop categories custom-field posts Wordpress
Category Web