Title: maghis's Replies | WordPress.org

---

# maghis

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

 *   [Profile](https://wordpress.org/support/users/maghis/)
 *   [Topics Started](https://wordpress.org/support/users/maghis/topics/)
 *   [Replies Created](https://wordpress.org/support/users/maghis/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/maghis/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/maghis/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/maghis/engagements/)
 *   [Favorites](https://wordpress.org/support/users/maghis/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: [[WP-PostRatings] Limit votes to 5 times (in 5 minutes)](https://wordpress.org/support/topic/limit-votes-to-5-times-in-5-minutes/)
 *  Thread Starter [maghis](https://wordpress.org/support/users/maghis/)
 * (@maghis)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/limit-votes-to-5-times-in-5-minutes/#post-7386737)
 * thanks for the fast reply
    Bye
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to add javascript code in header for 1 page only!!](https://wordpress.org/support/topic/how-to-add-javascript-code-in-header-for-1-page-only/)
 *  [maghis](https://wordpress.org/support/users/maghis/)
 * (@maghis)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/how-to-add-javascript-code-in-header-for-1-page-only/#post-1003059)
 * If you use greenshady’s code above there is a ) missing in the first line:
    `
   if ( is_page( 'about' )) {`
 * Enjoy !
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Gravatar image not shown after user registered](https://wordpress.org/support/topic/gravatar-image-not-shown-after-user-registered/)
 *  [maghis](https://wordpress.org/support/users/maghis/)
 * (@maghis)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/gravatar-image-not-shown-after-user-registered/#post-1327755)
 * Hi minminteoh
 * WordPress has integrated thread comments, around version 2.7.x and so if your
   theme does not support threaded comments, then it’s because i uses the old comment.
   php format (the loop).
    That structure has change ( the old one is still working)
   If you use 2.7.x wp version then you can change your comment.php and remove the
   threaded plugins. Just check some of the new themes, in the comment.php file.
 * This is the new code:
 *     ```
       <ol class="commentlist">
           <?php wp_list_comments('avatar_size=40'); ?>
       </ol>
       ```
   
 * Short and sweet! everything in processed by WP even pagination !
    You can visit:
   [wp_list_comments codex](http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display)
 * here is the old code from classic theme:
 *     ```
       <?php if ( have_comments() ) : ?>
       <ol id="commentlist">
   
       <?php foreach ($comments as $comment) : ?>
       	<li <?php comment_class(); ?> id="comment-<?php comment_ID() ?>">
       	<?php echo get_avatar( $comment, 32 ); ?>
       	<?php comment_text() ?>
       	<p><cite><?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
       	</li>
       <?php echo $comment->user_id; ?>
       <?php endforeach; ?>
       </ol>
   
       <?php else : // If there are no comments yet ?>
       	<p><?php _e('No comments yet.'); ?></p>
       <?php endif; ?>
       ```
   

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