How to remove fetured image from single posts
-
I have read to remove a few lines, but I dont see exactly the same code im seeing in other who have this same issue. This is the code.
<?php if ( has_post_thumbnail() ) { $mypostimage = the_post_thumbnail( 'large', array('class' => 'featsingle' , 'alt' => get_the_title() , 'title' => get_the_title() )); the_content(); } else { the_content(); } ?>If I remove all this, I can see the post just fine, although it removes the content, so I only see the tittle, but not the content.
If I remove just a portion, I get the following error when trying to view the post:
Parse error: syntax error, unexpected T_STRING, expecting ‘(‘ in /home3/radiojoe/public_html/rj2/wp-content/themes/dancefloor/single.php on line 15
Exactly what code should I remove, and what not, so I remove only the thumbnail from the single post??? Please help!
The topic ‘How to remove fetured image from single posts’ is closed to new replies.