Title: code in wordpress hit counter plugin
Last modified: August 21, 2016

---

# code in wordpress hit counter plugin

 *  [Bastienne](https://wordpress.org/support/users/bastienne/)
 * (@bastienne)
 * [13 years ago](https://wordpress.org/support/topic/code-in-wordpress-hit-counter-plugin/)
 * I would like to add a text to the counter of this plugin, such as:
 * Visitors: xxx
 * where xxx is the number the counter displays.
 * I thought to echo this in the Plugin file
    wordpress-hit-counter/image.php like
   this (it displays the word Bezoekers:) What am I doing wrong here?
 * echo ‘<div class=”wordpress-hit-counter”‘.$alignment_options.’>’;
    echo ‘<h1 
   class=”widget-title”>Bezoekers:</h1>’; if (get_option(‘wphc_pad_zeros’) && strlen(
   $hits) < 7) { for ($i = 0; $i < (7 – strlen($hits)); $i++) { echo “<img src='”.
   WP_PLUGIN_URL.”/wordpress-hit-counter/styles/$style/0.gif’>”;

The topic ‘code in wordpress hit counter plugin’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [Bastienne](https://wordpress.org/support/users/bastienne/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/code-in-wordpress-hit-counter-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
