• Timothy

    (@seahawknationblog)


    My Theme supports the featured image feature in back end writing posts, im looking for a plugin that will grab all my posts that have a photo and place the post photo into the featured image section at the size i can define of 400px x 210px.

    I have looked and tried several on the WordPress market such as image grab & Justin Tadlocks Plugin but with no success, does anyone know of any out there that will accomplish this for me or i will have to go through 5000 plus articles to add them myself.

    I need a plugin to grab all of my images and place them into featured image?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Timothy

    (@seahawknationblog)

    Nobody has an answer yet for this??

    Thread Starter Timothy

    (@seahawknationblog)

    I guess no one still has any ideas how to accomplish this?

    Thread Starter Timothy

    (@seahawknationblog)

    Did anyone ever come up with any idea on this??

    You could modify your theme to retrieve the first attached image for any post that doesn’t have a featured image.

    You can see an example showing a similar concept here.

    Thread Starter Timothy

    (@seahawknationblog)

    That sounds great but where do both of the codes go, one for the functions.php which is the first box, where does the second code go?

    The second block of code should replace whatever code is currently being used by your theme to display the featured image.

    Obviously, of course, you’d want to replace the 150,150 with the dimensions you want (400,200 it looks like).

    Actually, looking at the code block, you probably also want to replace:
    $postimage = get_attachment_image($post->ID);
    with:
    $postimage = get_attachment_image($post->ID,array(400,200));

    Thread Starter Timothy

    (@seahawknationblog)

    Tried it in several places with no luck at working, does not retrieve old posts thumbs or article photos

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin to grab all post images & make Featured Image?’ is closed to new replies.