Viewing 1 replies (of 1 total)
  • Thread Starter Maurizio Spicuglia

    (@nextart)

    i solve it
    in file static-random-posts.php at line 117 you have:

    $posts_string .= "<li><a href='" . get_permalink($post->ID) . "' title='". esc_attr($post->post_title) ."'>" . esc_html($post->post_title) ."</a></li>\n";

    add this :
    ". get_the_post_thumbnail($post->ID, thumbnail) . "<br /> before <a href='”
    like this one

    $posts_string .= "<li>". get_the_post_thumbnail($post->ID, thumbnail) . "<br /><a href='" . get_permalink($post->ID) . "' title='". esc_attr($post->post_title) ."'>" . esc_html($post->post_title) ."</a></li>\n";

    now you have thumbs too….

    bye from italy
    Maurizio

Viewing 1 replies (of 1 total)
  • The topic ‘show post with thumbs’ is closed to new replies.