WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using the new thumbnail feature for excerpt thumbs? (5 posts)

  1. fifthhouse
    Member
    Posted 4 years ago #

    WordPress 2.9 has new feature to create thumbnails of images. Does anyone know how to use that feature to include those thumbnails in post excerpts?

  2. OlafB
    Member
    Posted 4 years ago #

    Hi fifthhouse,
    try it before, i think it works :)

    the_post_thumbnail();
    the_excerpt;
  3. fifthhouse
    Member
    Posted 4 years ago #

    Thanks OlafB. Actually can you give me some more guidance on this? I'm not sure what to do here. Is this some code I add? I have a file called "singlepost.php". Do I add it there? Is this the actual code, or do I need to add something else with it?

  4. OlafB
    Member
    Posted 4 years ago #

    You must go in your themes-folder, look at index.php or archive.php or category.php or ..., find the_excerpt and do change.

    When singlepost.php the Template are to use the function then this are the right place.

  5. fifthhouse
    Member
    Posted 4 years ago #

    Sorry I don't know what you mean by do the change. Do you mean I add: the_post_thumbnail();
    right above
    the_excerpt;

    ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.