I currently have the list of my four recent posts displayed inside my post, but I only want to show it on the post (single) page. I tried adding a conditional single tag, but I keep getting a parse error. How can I combine the two php tags:
Here is the code I want displayed:
<center><b>Latest News:<i>
<?php get_archives('postbypost',"4",1,"","",""); ?></b></center></i>
I tried this and I got a parse error:
<?php
if (is_single()) { echo '
<center><b>Latest News:<i>
<?php get_archives('postbypost',"4",1,"","",""); ?></b></center></i>
';} ?>
Thanks!