how to localize the number of wordpress post views?
The problem is most probably, that you don’t actually call the filter. WordPress does this not automatically for you. If you want to create a custom filter you have to manually call apply_filters, so that the added filters get executed: function the_views($postID){ $count_key = ‘views’; $count = get_post_meta($postID, $count_key, true); if($count==”){ delete_post_meta($postID, $count_key); add_post_meta($postID, $count_key, … Read more