CSS Class Manager – An advanced autocomplete additional css class control for your blocks
Struggling with adding multiple CSS classes to your WordPress blocks? CSS Class Manager simplifies the process with autocomplete suggestions and a dedicated manager for adding, editing, and organizing your classes. Boost your block styling efficiency! There are two main motivations behind creating this plugin: Limitation of Block Style – When applying a block style, only one CSS class can be added to a block. Unfortunately, the block editor lacks the ability to select multiple block styles. To address this, users must resort to the Additional CSS Class(es) inspector control to apply multiple classes. CSS Class Manager provides a powerful manager and an autocomplete inspector control, enabling users to easily add and apply CSS classes to their blocks. Poor UX of the Additional CSS Class(es) control – The default control for adding class names is a simple text input. This can be cumbersome, especially when applying CSS classes frequently. With the custom inspector control provided by CSS Class Manager, users can effortlessly add their class names, enhancing the user experience. Features Advanced Autocomplete Control: Streamline block styling with autocomplete functionality for CSS classes. Effortless Class Management: Easily add, edit, or remove CSS classes directly within the manager interface. Body and Post Classes: Add custom class names to post body and post containers using body_class and post_class filters directly from the post editor. Inline CSS Classes: Add custom class names to any selected text inside paragraph, heading and other blocks that support Rich Text. Theme.json Integration: Automatically include global class names generated from theme.json settings in your class suggestions. Show the control in its own panel: User specific settings to show the Additional CSS Class(es) control in its own panel. Add classes without saving to the database: User specific settings to toggle saving classes to the database. Import and Export: Seamlessly transfer custom CSS class names to ensure consistency across projects. Getting Started Activate the plugin within your WordPress setup. The advanced control will replace the default “Additional CSS Class(es)” and can be found in the “Advance” block settings section. Adding and selecting classes in the autocomplete field is similar to the tags and categories fields. To add body or post classes, look for the “Body Classes” and “Post Classes” controls in the Post tab of the post editor (requires custom-fields support). See the limitations To add inline classes to the selected text, use the block format tool control in the text formatting tools options (available in blocks that support Rich Text). To edit and manage class names, click the “Open Class Manager” link or select “CSS Class Manager” from the More Menu. Import/Export can be done from the manager modal. Theme.json generated classes are automatically included and can be disabled from the Preferences in the manager modal. Use css_class_manager_filtered_class_names filter to add class names with PHP files.
Top keywords
- class24×5.01%
- classes17×3.55%
- css17×3.55%
- css class11×2.30%
- manager11×2.30%
- control10×2.09%
- add9×1.88%
- block9×1.88%
- class names9×1.88%
- names9×1.88%
- post9×1.88%
- class manager6×1.25%
Custom CSS and JavaScript
This plugin allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality. Features: Code editor with syntax highlighting and AJAX saving to avoid reloading the editor at each save. Save and preview your CSS and JavaScript as a draft that is only applied to logged-in users with the necessary permissions until you are ready to publish your changes to the public. View and restore past revisions of your CSS and JavaScript. Automatically minify your custom CSS and JavaScript code to reduce file size. For the public, custom CSS and JavaScript code is served from the filesystem instead of the database for optimal performance. Now available! Custom CSS and JavaScript Developer Edition: Divide your CSS and JavaScript into multiple virtual files to keep your code organized (the code is still served as one CSS and one JS file on the front-end for efficiency). Supports Sassy CSS (SCSS)! Live preview for CSS! Upload and download CSS and JavaScript files, individually or in ZIP files. The developer logo and review/donation links are removed from the editor page in the WordPress admin. Click here to purchase! Alternatively, you can manually upload the plugin to your wp-content/plugins directory. If you like this plugin, please consider leaving a comment or review. User Access Control In the Custom CSS and JavaScript WordPress plugin, access to plugin features is determined by user capabilities. Users with the edit_theme_options capability will enjoy full access to all the plugin’s features. By default, the “Administrator” and “Editor” roles come equipped with the edit_theme_options capability. However, site administrators have the flexibility to customize these capabilities and assign them to other roles or individual users through plugins or custom code. Furthermore, to provide users with enhanced control, we’ve introduced a custom capability known as wpz_custom_css_js. Users possessing both the wpz_custom_css_js and edit_posts capabilities can be granted access to the plugin’s features. You may also like these plugins WP Zone has built a bunch of plugins, add-ons, and themes. Check out other favorites here on the repository and don’t forget to leave a 5-star review to help others in the community decide. Product Sales Report for WooCommerce – set up a custom sales report for the products in your WooCommerce store with toggle sorting options. Including or excluding items based on date range, sale status, product category and id, define display order, choose what fields to include, and generate your report with a click. Export Order Items for WooCommerce – export the order details for each sale in your WooCommerce store. Simplify order fulfillment, generate accounting reports in a few clicks, and download into CSV format for readability and universal compatibility with Export Order Items. Replace Image – keep the same URL when uploading to the WordPress media library Force Update Check for Plugins and Themes -force Update Check for Plugins and Themes forces WordPress to run a theme and plugin update check whenever you visit the WordPress updates page Connect SendGrid for Emails – connect SendGrid for Emails is a third-party fork of (and a drop-in replacement for) the official SendGrid plugin Custom CSS and JavaScript – allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality. Disable User Registration Notification Emails – when this plugin is activated, it disables the notification sent to the admin email when a new user account is registered. Inline Image Upload for BBPress – enables the TinyMCE WYSIWYG editor for BBPress forum topics and replies and adds a button to the editor’s “Insert/edit image” dialog that allows forum users to upload images from their computer and insert them inline into their posts. Password Strength for WooCommerce – disables password strength enforcement in WooCommerce. Potent Donations for WooCommerce – acceptance donations through your WooCommerce store Shortcodes for Divi – allows to use Divi Library layouts as shortcodes everywhere where text comes. Stock Export and Import for WooCommerce – generates reports on the stock status (in stock / out of stock) and quantity of individual WooCommerce products. Random Quiz Generator for LifterLMS – pull a random set of questions from your quiz so users never get the same question twice when retaking or setting up a practice quiz. WP and Divi Icons – adds over 660 custom outline SVG icons to your website. SVG icons are vector icons, so they are sharp and look good on any screen at any size. WP Layouts – the best way to organize, import, and export your layouts, especially if you have multiple websites. WP Squish – reduce the amount of storage space consumed by your WordPress installation through the application of user-definable JPEG compression levels and image resolution limits to uploaded images. To view WP Zone’s premium WordPress plugins and themes, visit our WordPress products catalog page.