Title: [Plugin: StatPress] Widget: move count AFTER post title
Last modified: August 19, 2016

---

# [Plugin: StatPress] Widget: move count AFTER post title

 *  [DJF3](https://wordpress.org/support/users/djf3/)
 * (@djf3)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-statpress-widget-move-count-after-post-title/)
 * Hope that there’s a better way to do this (so I won’t run into problems with 
   upgrades)
 * **GOAL**: show top post counts after the post title (not on a separate line)
 * **HOW**: In StatPress 1.4.1 change the following code in /wp-content/plugins/
   statpress/statpress.php:
    **TODO**: move “/li” from line 1435 to line 1436
 * **ORIGINAL**
 *     ```
       foreach ($qry as $rk) {
       		$res.="<li><a href='?".$rk->urlrequested."'>".iri_StatPress_Decode($rk->urlrequested)."</a><strong></li></strong>\n";
       		if(strtolower($showcounts) == 'checked') { $res.=" (".$rk->totale.")"; }
       ```
   
 * NEW
 *     ```
       foreach ($qry as $rk) {
       		$res.="<li><a href='?".$rk->urlrequested."'>".iri_StatPress_Decode($rk->urlrequested)."</a>\n";
       		if(strtolower($showcounts) == 'checked') { $res.=" (".$rk->totale.")<strong></li></strong>"; }
       ```
   
 * **ENHANCEMENT REQUEST**: Could you make this configurable?

The topic ‘[Plugin: StatPress] Widget: move count AFTER post title’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/statpress.svg)
 * [StatPress](https://wordpress.org/plugins/statpress/)
 * [Support Threads](https://wordpress.org/support/plugin/statpress/)
 * [Active Topics](https://wordpress.org/support/plugin/statpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/statpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/statpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [DJF3](https://wordpress.org/support/users/djf3/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-statpress-widget-move-count-after-post-title/)
 * Status: not resolved