Title: verticalimit's Replies | WordPress.org

---

# verticalimit

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_list_comments()](https://wordpress.org/support/topic/wp_list_comments-3/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/wp_list_comments-3/#post-1625943)
 * I found out that if i was including the callback function within <?php … ?> like
   this :
 *     ```
       <?php
       ....
       function mytheme_comment($comment, $args, $depth) {
          $GLOBALS['comment'] = $comment; ?>
          <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
            <div id="comment-<?php comment_ID(); ?>">
             <div class="comment-author vcard">
                <?php echo get_avatar($comment,$size='48',$default='<path_to_url>' ); ?>
   
                <?php printf(__('<cite class="fn">%s</cite> <span class="says">dit:</span>'), get_comment_author_link()) ?>
             </div>
             <?php if ($comment->comment_approved == '0') : ?>
                <em><?php _e('Your comment is awaiting moderation.') ?></em>
                <br />
             <?php endif; ?>
   
             <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'  ','') ?></div>
   
             <?php comment_text() ?>
   
             <div class="reply">
                <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
             </div>
            </div>
       <?php
               }
       ?>
       ```
   
 * it was working better than adding at the end the following code:
 *     ```
       <?php
       function im_comment($comment, $args, $depth) {
          $GLOBALS['comment'] = $comment; ?>
          <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
            <div id="comment-<?php comment_ID(); ?>">
             <div class="comment-author vcard">
                <?php echo get_avatar($comment,$size='48',$default='<path_to_url>' ); ?>
                <?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link()) ?>
             </div>
             <?php if ($comment->comment_approved == '0') : ?>
                <em><?php _e('Your comment is awaiting moderation.') ?></em>
                <br />
             <?php endif; ?>
             <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'  ','') ?></div>
             <?php comment_text() ?>
             <div class="reply">
                <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
             </div>
            </div>
       <?php
               }
       ?>
       ```
   
 * To call the function, i used:
    `wp_list_comments('avatar_size='.$avsize.'&callback
   =im_comment');`
 * and after:
    `wp_list_comments('avatar_size='.$avsize.'type=comment&callback=im_comment');`
 * As a result, the theme and its parameters are remaining but the comments are 
   not showing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Cache] How to remove WP-Cache](https://wordpress.org/support/topic/how-to-remove-wp-cache/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/how-to-remove-wp-cache/#post-1658179)
 * Thanks Dennis.
 * In the plugin folder, i have:
    – wp-db-backup – wp-super-cache
 * Do i need to remove also wp-db-backup?
    Or is it a default wordpress backup plugin?
 * In the content folder, i have:
    – backup-0cc64 – cache – gt-cache
 * Which ones do i need to remove please?
 * Thanks again 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [WP-PageNavi Version 2.72 Not Showing Page 2](https://wordpress.org/support/topic/wp-pagenavi-version-272-not-showing-page-2/)
 *  [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/wp-pagenavi-version-272-not-showing-page-2/#post-1578622)
 * Hello,
 * The plugin was working fine on my blog for months.
    Since i did the last update,
   i can not go to any page after page 1: I get an error: “Page is missing”.
 * [http://www.emarketinglicious.fr/blog](http://www.emarketinglicious.fr/blog)
 * Thanks in advance for any help 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PageNavi] [Plugin: WP-PageNavi] 2.73 Not Showing Page 2](https://wordpress.org/support/topic/plugin-wp-pagenavi-273-not-showing-page-2/)
 *  [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-pagenavi-273-not-showing-page-2/#post-1652525)
 * Thanks 🙂
    Unfortunately i did not work for me. I tried also with 4 and 5. But
   still was the same.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-PageNavi] [Plugin: WP-PageNavi] 2.73 Not Showing Page 2](https://wordpress.org/support/topic/plugin-wp-pagenavi-273-not-showing-page-2/)
 *  [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-pagenavi-273-not-showing-page-2/#post-1652500)
 * Hello,
 * i have the same pb: i get a mistake for the page 2.
    How did you manage to fix
   your pb pls?
 * Thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[contact form 7] multiple textareas](https://wordpress.org/support/topic/contact-form-7-42/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/contact-form-7-42/#post-1639557)
 * That’s perfect.
    Thanks a lot 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_list_comments()](https://wordpress.org/support/topic/wp_list_comments-3/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/wp_list_comments-3/#post-1625792)
 * Thanks for your help.
    How can you validate pages when your work on a local server
   pls?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_list_comments()](https://wordpress.org/support/topic/wp_list_comments-3/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/wp_list_comments-3/#post-1625730)
 * Thanks Esmi. It worked fine.
    But still there is sthg wrong. The header and the
   footer changed of colors for example.
 * I don’t think it is connected to your code but rather because i added mytheme_comment
   function in the theme.
 * Here are the changes i have made so far:
 * **1. functions.php**
 * I added this code at the end of the file:
 *     ```
       <?php
       function im_comment($comment, $args, $depth) {
          $GLOBALS['comment'] = $comment; ?>
          <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
       	 <div id="comment-<?php comment_ID(); ?>">
       	  <div class="comment-author vcard">
       		 <?php echo get_avatar($comment,$size='48',$default='<path_to_url>' ); ?>
       		 <?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link()) ?>
       	  </div>
       	  <?php if ($comment->comment_approved == '0') : ?>
       		 <em><?php _e('Your comment is awaiting moderation.') ?></em>
       		 <br />
       	  <?php endif; ?>
       	  <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'  ','') ?></div>
       	  <?php comment_text() ?>
       	  <div class="reply">
       		 <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
       	  </div>
       	 </div>
       <?php
       		}
       ?>
       ```
   
 * 2.comments.php
 * I replaced the following line:
    `wp_list_comments('avatar_size='.$avsize);`
 * with:
    `wp_list_comments('avatar_size='.$avsize.'&callback=im_comment');`
 * How can i avoid to loose the original configuration of my theme that i have made
   through the admin panel?
 * Thanks,
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_list_comments()](https://wordpress.org/support/topic/wp_list_comments-3/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/wp_list_comments-3/#post-1625512)
 * Ok I found my mistake.
    Just forgot to put <?php
 * Next one:
    My theme is coded with: `wp_list_comments('avatar_size='.$avsize);`
 * I want to keep it as i would prefer to remain with the original avatar settings
   instead of doing it with the callback function.
 * I need to add this line to call the callback function:
    `<?php wp_list_comments('
   callback=mytheme_comment'); ?>`
 * How can i add those two lines together please? only one <?php wp_list_comments()
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_list_comments()](https://wordpress.org/support/topic/wp_list_comments-3/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/wp_list_comments-3/#post-1625495)
 * How can it be if i only copy and paste the codex code?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Viper’s Video Quicktags] Not working](https://wordpress.org/support/topic/plugin-vipers-video-quicktags-not-working/)
 *  Thread Starter [verticalimit](https://wordpress.org/support/users/verticalimit/)
 * (@verticalimit)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-vipers-video-quicktags-not-working/#post-1443919)
 * Thank you for your help.
    I had already uninstalled the linkification plugin 
   in Firefox. I had also disabled the wordpress plugins. But remained with the 
   same problem.
 * I can not understand where it is coming from:
    Firefox, WordPress.
 * My theme is not responsible for this problem.
    I already checked with the development
   team.
 * If it was due to my other firefox plugins, then you should see the video.
    Do
   you see it?
 * If i look at this page with safari (i did not install any plugin), i still can
   not access the video.
 * Any idea?

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