• I have the following code:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <?php while(have_posts()): the_post();?>
    
    		<div class="post" id="post-<?php the_ID(); ?>">
    
    			<h2><a href=""><?php the_title(); ?></a></h2>
    
    			<?php the_content(); ?>
    
    				</div>
    
    		<?php // comments_template(); ?>
    
    		<?php endwhile;?>

    It only shows the title and not the post content why?

  • The topic ‘Post Content is not showing only title’ is closed to new replies.