Viewing 1 replies (of 1 total)
  • Plugin Author Hugh Lashbrooke

    (@hlashbrooke)

    Adding this code to your theme’s functions.php file will change the ‘Views’ bit of the shortcode text to ‘Hits’:

    add_filter( 'post_hit_counter_post_views_shortcode_html', 'speedbumpkitchen_views_text_mod', 10, 1 );
    function speedbumpkitchen_views_text_mod ( $html ) {
      $html = str_replace( 'Views', 'Hits', $html );
      return $html;
    }

    Is that what you’re looking for?

    If this has helped you then please consider supporting continued development by leaving a review.

    Cheers,
    Hugh

Viewing 1 replies (of 1 total)
  • The topic ‘Change or Eliminate "Views" wording’ is closed to new replies.