Hello
haaa you made me laught ^^
1 week ago the widget only worked for “posts”, i forgot to add the posts types settings.
Now it includes all post types from settings and you want to, keep tracking of page count but not show it in widget XD
I will add a filter hook for that ok ? This is too special, so for you, i’ll do this filter 😉
See you
Added in 2.19.10, the filter name is “baw_count_views_widget_post_types”.
So you can add this in your functions.php from theme:
add_filter( 'baw_count_views_widget_post_types', 'special_post_types_for_bawmrp_widget' );
function special_post_types_for_bawmrp_widget( $post_types )
{
return array( 'posts' );
}
My bad:
add_filter( 'baw_count_views_widget_post_types', 'special_post_types_for_bawmrp_widget' );
function special_post_types_for_bawmrp_widget( $post_types )
{
return array( 'post' );
}
Thanks for this, it is just what I needed too.