Simple Post Thumbnails
Simple Post Thumbs NOT working an NO support (1 post)

  1. tommydamani
    Posted 5 years ago #

    Found some thread that say "oh yes i found the code that works huuuhaaaa" then they add the code but the idiots forget to mention 'where' to put this code for non geeky people like us.

    one person says this code will work:
    <img alt="<?php the_title(); ?>" src="<?php echo p75GetThumbnail($post->ID, null, null); ?>" border="0" />

    another says thing code:

    if ( p75HasThumbnail($post->ID) ) {

    then he follows up with this code:
    <img alt="" src="<?php if ( p75HasThumbnail($post->ID) ) { echo p75GetThumbnail($post->ID, 150, 150); } ; ?>" style="float:left;margin:0 5px 0 0;" border="0" />

    and says this:

    This will return an image only if there is one and resizes the thumbnail to 150x150. I also took out the alt because it looked weird when there wasn't a thumbnail having the title below the title.

    So what the h&ll?? WHERE DO WE PUT THEM???????

    WE NEED HELP!!!!!!!!!!!!!!


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic