How do I override WordPress plugin css [closed]

Assuming you are overriding the Page Builder styles with vc-style stylesheet. Try this.. function vc_override() { wp_enqueue_style( ‘vc-style’, get_stylesheet_directory_uri() . ‘/css/vc_elements-style.css’, array(‘js_composer_front’) ); //visual composer } add_action( ‘wp_enqueue_scripts’, ‘vc_override’, 999 ); View your site’s source to check whether your style is appearing before or after visual composer style.

Limiting buddy press features based on membership level (PMPro)

Our docs are here: https://www.paidmembershipspro.com/add-ons/buddypress-integration/ When you edit a membership level, for the “unlock BuddyPress” settings, choose the “Yes – Give members access to specific features” option and it will show checkboxes for each BuddyPress module. This should work. Make sure the general settings for non-members are locking down everything.

How to add add blank non-editable wp page like default blog for use with plugin

You can do it by hooking admin_init action: First, you can create a option to select the page you create for your plugin. I suppose that the option will be save in wp_options table with name your_plugin_special_page. Remove editor support on that page with this action. add_action( ‘admin_init’, ‘your_plugin_hide_editor’ ); function your_plugin_hide_editor() { // Get … Read more

How to create multiple pages for PDFs

If you really want to include them in a page, you could create a page template which pulls in the requested PDF by ID. So for example, you create the Page www.example.com/pdf/ and add a query string so when someone visits www.example.com/pdf/?id=234 they see the PDF which has a post ID of 234. Within the … Read more