Support » Plugins » [Plugin: WordPress Popular Posts] Title from Top of Thumbnail.

  • I was facing an issue in wordpress popular post, as the title was starting from the bottom of thumbnail. I wanted that title to start from the top of the thumbnail and also the thumbnail should also be on left.

    am using the modifications done :
    (nearly the last widget in the sidebar.)

    So, I did this :

    in wpp.css



    and also in wpp.php you need to change the code a bit.

    $content .= '<li>'. $thumb .'<a href="'. get_permalink($the_ID) .'" title="'. $title_attr .'"><span class="wpp-post-title">'. $tit . '</span></a>' . $post_content .' '. $stats . $rating .'</li>
    ' . ''. "\n";
    By this code:
    $content .= '<li>'. $thumb .'<a href="'. get_permalink($the_ID) .'" title="'. $title_attr .'"><span class="wpp-post-title">'. $tit . $post_content .' '. $stats . $rating .'</span></a>' .'</li>
    ' . ''. "\n";

    am using only title and view to show in plugin so this worked for me, if you want other attributes as the author name, date etc, then you just have to shift ‘</span>’ a bit.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Title from Top of Thumbnail.’ is closed to new replies.