Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM › Hide visit number on dashboard
- This topic has 3 replies, 2 voices, and was last updated 8 years ago by
WCFM Forum.
- AuthorPosts
- August 23, 2018 at 6:28 am #29295
Flore
GuestHello,
Is it possible to hide visit number graph (.wcfm_dashboard_wc_status_data class) but to keep sell by product graph (.wcfm_dashboard_wc_status_graph class) ?
When I do by css a display:none on “wcfm_dashboard_wc_status_data” class it appears that dashboard crashed. I was suprised that css do that, so I tried I tried 3 times.
I would like to hide this graph as I am using a WP Job Manager theme, I do not use vendors shop, vendors have listings on my site, and I hide product page and shop page. So this visit number graph will always be with 0 view.Thank you for your help,
Flore - August 23, 2018 at 9:03 am #29317
WCFM Forum
MemberHi,
CSS will not work here. Please add this line of code in child theme functions.php –
add_filter( 'wcfm_is_allow_analytics', '__retrun_false' ) ;Thank You
- August 23, 2018 at 9:05 am #29319
Flore
GuestThank you so much ! It is working 🙂
Have a nice day,
Flore - August 23, 2018 at 9:06 am #29321
WCFM Forum
MemberGreat, you are welcome 🙂
- AuthorPosts
- The topic ‘Hide visit number on dashboard’ is closed to new replies.