post Thumbnails at the Home page
-
Mod
If you want to change the length of all excerpts, you can add this code to your child theme’s functions.php file:
function custom_excerpt_length( $length ) {
return 0;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );If you only want to make them disappear on your home page, use this CSS:
.home .excerpt-thumb + p {
display: none;
}Mod
That code will stretch your images, which, as you discovered, won’t look good.
You’ll need to play around with your WordPress media settings, and then use a plugin (such as Ajax Thumbnail Rebuild) to rebuild all your thumbnails to a better size.
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
