putrasandy
Regular Member
- Sep 26, 2010
- 219
- 11
.custom .teaser {
width: 100%;
margin-top: 2em;
padding-top: 2em;
border-top: 1px dotted #bbb;
text-align: justify;
}
.custom .teasers_box {
padding-top: 0;
padding-bottom:0;
border-top: 0;
}
If you are NOT using teasers : in your Thesis admin panel options, go to design options --> display options (it's on the leftmost column). Select "display post excerpts".
If you ARE using teasers, go to "HomePage Display Options" and change the number of features to 0 (so your whole homepage will become teasers).
If you select the second option, you will have to add the following CSS:
Code:.custom .teaser { width: 100%; margin-top: 2em; padding-top: 2em; border-top: 1px dotted #bbb; text-align: justify; } .custom .teasers_box { padding-top: 0; padding-bottom:0; border-top: 0; }
Here you go -
Admin ====> Appearance ====> Thesis Options ===> expand posts under display option section and select "Display post excerpts"
Yep, i know that.. but forgot to say..
How to insert the image on every post excerpts?
You have to use the Thesis post image system (you upload it with a meta box directly under the post) OR you can change some stuff and use the standard Wordpress featured image. Thesis system is fine for most designs. Upload your image from your post (like normal), and pull the link from the information window that wordpress gives you. Paste it into the post image field and you will be good to go.
You can change where/how the post image appears by selecting design options and looking at the "Post Image and Thumbnails" menu.
function custom_excerpt_length( $length ) {
return 65;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );