Forums

Plugin and Custom Fields (8 posts)

  1. DarkArcher
    Member
    Posted 3 years ago #

    Hi, guys.
    A couple of months ago I started a photoblog using wordpress. Then I decided to rearrange the archive.php so that I can see thumbnails and not the whole posts.

    Well, I did it with the custom field, but it is a kinda annoying to add a new one in every new post.

    So, is it possible to use a plugin that will do the job instead of me?
    What I want it to do is to add a custom field with a key "thumb" and a value link to the thumbnail of the image in the post.

    http://caughtinamoment.net/2008/07/

  2. DarkArcher
    Member
    Posted 3 years ago #

    Anyone?

  3. krembo99
    Member
    Posted 3 years ago #

    I think that doing so with custom fields is the best way.
    On my webpage I did a similar thing , but without custom fields, abd it is wrong (although it works fine)
    See it here : http://www.krembo99.com
    Over there I used the template files to produce that effect, and used the Excerpt for the thumbnail path, but like i said, custom fields are the way to do it.

  4. flick
    Member
    Posted 3 years ago #

    I'm sure I've seen at least two plugins that help to automatically 'retrieve' an image from a post and display just the image elsewhere. The most recent one being Get Post Image (the site has over-used its bandwidth for the moment) and I think it does still work with the latest version of WordPress.

    If you would like to use custom fields, and don't want to keep adding a new key, perhaps you could look into More Fields as it adds a custom field in a more user-friendly manner.

  5. krembo99
    Member
    Posted 3 years ago #

    More Fields is a **GREAT** plugin.
    But here I do not see how it can help, he will still have to manualy add the thumb.
    I am sure that WP has the first thumb stored in the DB and that is a way to retrieve it, but I just didn't find it now, when I will have some free time I will do try to look it uop.
    A simple query of the right table will do.

  6. flick
    Member
    Posted 3 years ago #

    @krembo99: Thanks for your comment. When I was reading DarkArcher's post, I wasn't sure if he/she already had a generated thumbnail that just needed to be included with the post. If this was the case, then it would be much easier to use 'More Fields' than creating a custom field every time.

    However, if the thumbnail is readily available in the database table as you've said, then I'd agree that a simple query would suffice as well (although at the moment I wouldn't have a clue which table to use :D)

  7. klmathome
    Member
    Posted 3 years ago #

    I did something similar using Post Thumbs Revisited. It will make any size thumbnail of your first image, and then you use their <?php the_thumb(); ?> tag in your archive/category/search template.
    Worked for me. http://www.kylelmartin.com

  8. iheartpgh
    Member
    Posted 3 years ago #

    @DarkArcher - I have the same question. I am using the theme MiniBlogger - which required me to use the url of the thumbnail in the custom fields.

    Is there anyway to automatically add the link to the thumbnail to the custom fields?

    I found this plugin but I don't understand how it is supposed to work.
    http://wordpress.org/extend/plugins/wpvn-thumbnailer/

Topic Closed

This topic has been closed to new replies.

About this Topic