ThemeShaper Forums » Thematic

[closed]

Adding thumbnail images to post excerpts in thematic child theme

(2 posts)
  • Started 4 years ago by winnard
  • Latest reply from theBlogButler
  • This topic is not resolved
  1. Hi Guys,

    I am totally new to Wordpress and thematic, but I am using the thematic framework on my blog. I have this code in my functions.php page in the child theme for my excerpts and managed to get thematic to only show post excerpts on the home page with this continue reading link. But I don't have to add an excerpt in the write post of the admin panel, it automatically creates the excerpt based on the content then adds the continue reading link.

    Here is that code

    function excerpt_ellipse($text) {
    return str_replace('[...]', Continue Reading ..., $text);
    }
    add_filter('get_the_excerpt', 'excerpt_ellipse');

    What I want to do now is have am image thumbnail appear in this excerpt. Does anybody know what I need to do. I have installed thumbnail-for-excerpts plugin but cannot get it to work whilst I have this function above running.

    Posted 4 years ago #
  2. theBlogButler
    Member

    Winnard,

    Try this http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/

    I used it on a commercial theme and it worked fine for me. I haven't used it with Thematic but I think you could drop the functionality into your theme using one of the Thematic hooks.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.