Support » Fixing WordPress » Read more doesn't work when displaying content of a specific post

  • Resolved vk011

    (@vk011)


    I am trying to display content of one specific post by its id, and it works but it shows the WHOLE post regardless of the fact that there is “read more” link inserted in the post (if I just show all posts the read more link works, so that’s not the issue).

    This is my code:

    <?php
    		query_posts('p=80');
    		while (have_posts()): the_post();
    		  //the_title();
    		   the_content('READ MORE');
    		endwhile;
    	?>

    Any ideas please?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Read more doesn't work when displaying content of a specific post’ is closed to new replies.