• Resolved gneils

    (@gneils)


    Your theme is great! Thanks for creating and supporting it!

    Our website doesn’t use post thumbnails. At least we don’t right now. If there is no thumbnail image for a post than a large default image comes up.

    We could user a 1 pixel transparent gif I suppose. Maybe the file “content-single.php” could be updated. It adds the default image when there is no image. It would be better not to add any image if no thumbnail is available.

    else
    
    			{
    				//To display the default featured image in posts
    				$img_url = esc_url(get_template_directory_uri() . '/images/default.png');

    echo “<img src={$img_url} >”;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default Post Thumbnail Image’ is closed to new replies.