Support » Plugin: WordPress Popular Posts » [Plugin: WordPress Popular Posts] Text wrapping & formatting when using thumbnail

Viewing 1 replies (of 1 total)
  • As per haredx’ input in another thread, I have found that I can change this paragraph in wordpress-popular-posts.php line 735:

    $content .= '<li>'. $thumb .'<h4><a href="'. get_permalink($wppost->ID) .'" title="'. $title_attr .'"><span class="wpp-post-title">'. $tit .'</span><br></a>'. $post_content .' '. $stats . $rating .'</li>' . "\n";

    This ensures title and counters are on separate lines, and bold header (just as is the default in wordpress.org). Problem is I don’t know how to put the lines to the top right of the thumb (as it is by default here in wordpress.org). The above code will put text below image, and the default behaviour of the plugin is to put the title and counters in one long string starting at the last line right to the thumb and then wrapping next line underneath the thumb if the header is longer.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Text wrapping & formatting when using thumbnail’ is closed to new replies.