GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
When a post does not have a featured image and neither an image in the content the bootstrapwp_autoset_featured_img() function returns nothing. At the same time however the span2 class that the image receives if there is an image, remains.
With this commit the_excerpt gets a span8 class if there is no image at all (not featured and no other). archive.php and perhaps author.php can be adjusted in the same way, as can index.php, but in the latter this function is not yet used.
PS only the 738eb79 file is the correct version
adjust page-blog.php for if no thumbnail and no images in blog post
fixed code. if there is no the_post_thumbnail and also no attached image, then the blog page uses span8 class for the_excerpt.
internationalise line 15
internationalise line 37
Merge pull request #83 from senlin/master
blogpage: use span8 for posts without images