Support » Plugin: Thumbnail For Excerpts » [Plugin: Thumbnail For Excerpts] Posts without a pic?

Viewing 3 replies - 1 through 3 (of 3 total)
  • There seems to be no other plugin that works as great as this one. I modified the code so that the default pic won’t show up at all (if there is no thumbnail in the post):

    I don’t have the exact line numbers, but if you control find, you should be able to figure it out.

    I’ve already implemented this and tested:

    	$default = 'no';
    	if($default=='no' && $noimg==true){
    	} else {
    				$plus='<a href="'.get_permalink().'">'.$post_thumbnail.'</a>';

    If there are any errors generated by this that I’m not aware of or have not encountered, please let me know.


    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    I just select the “no” dropdown option next to “Default Image:” in the Thumbnail for Excerpts settings and had never had an image show up for posts without images.

    @cscottb: That works fine indeed! 🙂 Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Thumbnail For Excerpts] Posts without a pic?’ is closed to new replies.