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.