Support » Plugins and Hacks » [Plugin: Simple Post Thumbnails] Can’t get it to work, sorry… i’m newbie

Viewing 10 replies - 1 through 10 (of 10 total)
  • same problem here. worst support for the plug in ever.

    Here is the code with including linking to the post.

    <a href="<?php the_permalink() ?>"><img alt="<?php the_title(); ?>" src="<?php echo p75GetThumbnail($post->ID, null, null); ?>" style="float:left;margin:0 10px 0 0;" border="0" /></a>

    Please excuse my stupidity. I still don’t understand. Already looked at that thread.

    I have the code…Just don’t know where/which file/how I should add it.

    Where do I go to add the code per this instruction?:

    4. Add the p75GetThumbnail(int $postID, [int $width, [int $height, [string $fileType]]]) function to your theme to get the URL of a thumbnail and p75GetOriginalImage(int $postID) to get the URL to the original image.

    In plain, elementary English please. Thank you.

    HHCreed2

    (@hhcreed2)

    I’m having the same problem too. Where do I put the code at? Can someone please helps us out with this?

    HHCreed2

    (@hhcreed2)

    Anyone?

    jamal88

    (@jamal88)

    I have the same problem.

    come on guys, show us where to place this code

    17toads

    (@17toads)

    Here’s the answer for where to replace code:

    Go to:
    > Appearance > Editor
    > Open “Main Index Template (index.php)”

    Find:
    <img src="<?php $key="thumbnail"; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php the_title(); ?>" />

    Replace the above full line of code with the following:
    <img alt="" src="<?php if ( p75HasThumbnail($post->ID) ) { echo p75GetThumbnail($post->ID, 150, 150); } ; ?>" style="float:left;margin:0 5px 0 0;" border="0" />

    Thumbnail Size Editing:
    If you want a different size thumbnail, change 150, 150 to your desired width and height.

    As a precautionary note:
    I would first comment out the first line of code you find to this: <!--img src="<?php $key="thumbnail"; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php the_title(); ?>" /--> so that if it doesn’t work you can always revert. Commenting out code is just that, it hides the code from the browser. You can then place the new line of code below or before the commented out line.

    Best wishes everyone!

    Someone have this plugin work in wordpress 2.9.2 ? I can’t able to show the thumbnail in the homepage

    hi guys..

    i followed 17toads instructions to

    Go to:
    > Appearance > Editor
    > Open “Main Index Template (index.php)”

    Find:
    <img src=”<?php $key=”thumbnail”; echo get_post_meta($post->ID, $key, true); ?>” alt=”<?php the_title(); ?>” />

    However, when i hit Ctrl+F to find that code, it finds nothing.. so that code is not even there in the index.php

    I’m still having this issue. My video posts are not showing the thumbnails and i dunno how to fix it. I’m using videoelements_ver_1.5

    please help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Simple Post Thumbnails] Can’t get it to work, sorry… i’m newbie’ is closed to new replies.