Plugin Directory

Changeset 462158


Ignore:
Timestamp:
11/12/2011 01:41:38 PM (14 years ago)
Author:
teo7
Message:

In graphic mode, replaced comments text by a png image

Location:
wp-popular-posts-tool/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • wp-popular-posts-tool/trunk/wp-popular-posts-tool.php

    r461942 r462158  
    6464                                    <?php echo $post->post_title ?>
    6565                                </a>
    66                                 <?php echo '<br />'; if($disableComments==0){echo $post->comment_count . ' '; _e('comments');}?>
     66                                <?php echo '<br />'; if($disableComments==0){echo '<a title="Comments" class="hot-comments-count" href="'. get_permalink($post->ID).'#comments"><img src="' .plugins_url('', __FILE__) . '/comments.png" alt="Comments" title="Comments" /><span>' . $post->comment_count .'</span></a>';}?>
    6767                            </td>
    6868                            <td style="width:<?php echo ($width); ?>%;
     
    8181                                    <?php echo $post->post_title ?>
    8282                                </a>
    83                                 <?php echo '<br />'; if($disableComments==0){echo $post->comment_count . ' '; _e('comments');}?>
     83                                <?php echo '<br />'; if($disableComments==0){echo '<a title="Comments" class="hot-comments-count" href="'. get_permalink($post->ID).'#comments"><img src="' .plugins_url('', __FILE__) . '/comments.png" alt="Comments" title="Comments" /><span>' . $post->comment_count .'</span></a>';}?>
    8484                            </td>
    8585                        </tr>
Note: See TracChangeset for help on using the changeset viewer.