1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to make post excerpt in Thesis theme?

Discussion in 'Black Hat SEO' started by putrasandy, Jul 6, 2012.

  1. putrasandy

    putrasandy Regular Member

    Joined:
    Sep 26, 2010
    Messages:
    219
    Likes Received:
    11
  2. Irukichan

    Irukichan Registered Member

    Joined:
    Jan 19, 2010
    Messages:
    75
    Likes Received:
    40
    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;
    }
    
     
  3. BigFatWallet

    BigFatWallet Power Member

    Joined:
    May 21, 2010
    Messages:
    705
    Likes Received:
    927
    Here you go -


    Admin ====> Appearance ====> Thesis Options ===> expand posts under display option section and select "Display post excerpts"
     
  4. putrasandy

    putrasandy Regular Member

    Joined:
    Sep 26, 2010
    Messages:
    219
    Likes Received:
    11
    Yep, i know that.. but forgot to say.. :D

    How to insert the image on every post excerpts?

     
  5. Irukichan

    Irukichan Registered Member

    Joined:
    Jan 19, 2010
    Messages:
    75
    Likes Received:
    40
    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.
     
    • Thanks Thanks x 1
  6. putrasandy

    putrasandy Regular Member

    Joined:
    Sep 26, 2010
    Messages:
    219
    Likes Received:
    11
    Thank you! :)

    next question, how to change post excerpts words?
    in default i think is 55 words, it's to little for me

     
  7. Irukichan

    Irukichan Registered Member

    Joined:
    Jan 19, 2010
    Messages:
    75
    Likes Received:
    40
    Changing the post excerpt is a little more complicated since it's a default in Wordpress itself. If you want a lot of control on your teasers, you can use the <!--more--> tag and put it wherever you want your excerpt to "cut off". That requires tagging every single post, though, depending on its content.

    You can alternatively take the following and put it in your custom functions file:

    Code:
    function custom_excerpt_length( $length ) {
    	return 65;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    
    This will change your excerpt everywhere, though, so if you're using your excerpt to do things like recent posts with summaries on your sidebar, it'll mess it up. Change '65' to whatever you want the length to be.