deqeue bp, bbp css and get group member count.
-
Hello,
I have been quite happy with customizing buddypress, bbpress.
I have found 2 issues you need to know.
1. I am using less file and removed original css files.
/** Remove original bp css **/ function dequeue_buddypress() { wp_dequeue_style('bp-legacy-css'); wp_dequeue_style('bbp-default'); } add_action('wp_enqueue_scripts', 'dequeue_buddypress');
However, I found that it also doesn’t get “cover image in single members, single groups”.
I have added it in a theme. I added all original css code into less file and have been working on customization.Is there any better way to remove original css and use my own less (css) file without losin cover image?
Is there anything more I lose if I remove the original css files?2. How can I get group member amount only NUMBERS.
bp_group_member_count()It gets with xx “members”. But I just need numbers of the group. I use it in groups-loop.php
Thank you,
- You must be logged in to reply to this topic.