Support » Fixing WordPress » the_content showing the full post

  • I have some code to display the latest two posts in a category, however I only want it to show until the more tag, the code below however SHOULD work as far as I know but shows the whole post..

    global $post;
    	$myposts2 = get_posts('numberposts=2offset=0&category=12');
    	foreach($myposts2 as $post) :
    echo"<h1>Chip Tricks And Card Shuffling</h1>";
    echo"<h2>Featured Trick : ";
    	echo the_title();
    	the_content("Read More..");

    Any Ideas

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘the_content showing the full post’ is closed to new replies.