Title: fsx's Replies | WordPress.org

---

# fsx

  [  ](https://wordpress.org/support/users/fsx/)

 *   [Profile](https://wordpress.org/support/users/fsx/)
 *   [Topics Started](https://wordpress.org/support/users/fsx/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fsx/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fsx/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fsx/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fsx/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fsx/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple User Listing] Show only users with at least 1 post](https://wordpress.org/support/topic/show-only-users-with-at-least-1-post/)
 *  [fsx](https://wordpress.org/support/users/fsx/)
 * (@fsx)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/show-only-users-with-at-least-1-post/#post-4439550)
 * you’re right, but if you don’t need pagination, for the dumber ones like me, 
   it’s ok.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple User Listing] cant get ordering by last_name to work](https://wordpress.org/support/topic/cant-get-ordering-by-last_name-to-work/)
 *  Thread Starter [fsx](https://wordpress.org/support/users/fsx/)
 * (@fsx)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cant-get-ordering-by-last_name-to-work/#post-5467469)
 * Number 1 was the clue. Thanks for the hint, I was blind…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple User Listing] Show only users with at least 1 post](https://wordpress.org/support/topic/show-only-users-with-at-least-1-post/)
 *  [fsx](https://wordpress.org/support/users/fsx/)
 * (@fsx)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/show-only-users-with-at-least-1-post/#post-4439548)
 * Maybe I found a far more simple solution, as we already defined `$num_posts` 
   in content-author.php
 * Just change the Template like this:
 *     ```
       $user_info = get_userdata($user->ID);
       $num_posts = count_user_posts ( $user->ID );
       ?>
       <?php if ($num_posts != 0) echo '
       <div class="author-info author-block">
       <div class="author-avatar">'.get_avatar( $user->ID, 68 ).'</div>
       <div class="author-description"><h2><a href="'.get_author_posts_url($user->ID).'">'.$user_info->display_name.'</a></h2>
       <p>'.$user_info->description.'</p>
       <p class="author-beitraege"><a href="'.get_author_posts_url($user->ID).'">Lese'.$user_info->display_name.'s Beiträge</a></p>
       </div>
       </div>';
       ?>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)