CMB2
CMB2 is a developer’s toolkit for building metaboxes, custom fields, and forms for WordPress that will blow your mind. Easily manage meta for posts, terms, users, comments, or create custom option pages. CMB2 is a complete rewrite of Custom Metaboxes and Fields for WordPress. To get started, please follow the examples in the included example-functions.php file and have a look at the basic usage instructions. You can see a list of available field types here. Contribution Development occurs on Github, and all contributions welcome. Please read the CONTRIBUTING doc for more details. A complete list of all our awesome contributors found here: github.com/CMB2/CMB2/graphs/contributors Features: Create metaboxes to be used on post edit screens. Create forms to be used on an options pages. Create forms to handle user meta and display them on user profile add/edit pages. Create forms to handle term meta and display wherever your taxonomies are used. Flexible API that allows you to use CMB forms almost anywhere, even on the front-end. Several field types are included. Custom API hook that allows you to create your own field types. There are numerous hooks and filters, allowing you to modify many aspects of the library (without editing it directly). Repeatable fields for most field types are supported, as well as repeatable field groups. CMB2 is safe to bundle with any project. It will only load the newest version in the system. Translation If you are looking to provide language translation files, Please do so via WordPress Plugin Translations. Documentation CMB2 documentation can be found at the CMB2 wiki on github. Also, If you’re into reading code and inline documentation, we tried to keep all functions and methods fully inline-documented. 3rd Party Resources Custom Field Types CMB2 Field Type: CMB Attached Posts Field from coreymcollins: custom_attached_posts, for attaching posts to a page. CMB2 Field Type: Post Search Ajax by alexis-magina: post_search_ajax Attach posts to each other. Same approach as CMB2 Attached Posts Field but with Ajax request, multiple/single option, and different UI. CMB2 Field Type: Ajax Search from rubengc: 3 different fields with the same UI in AJAX to search (with query parameters) to users, post type and taxonomy terms. CMB2 Field Type: CMB2 User Search field from Mte90: user_search_text adds a user-search dialog for searching/attaching other User IDs. CMB2 Field Type: Google Maps from mustardBees: Custom field type for Google Maps. The pw_map field stores the latitude/longitude values which you can then use to display a map in your theme. CMB2 Field Type: Leaflet Maps from villeristi: Custom field type for Leaflet Maps. CMB2 Field Type: Select2 from mustardBees: Custom field types which use the Select2 script: The pw_select field acts much like the default select field. However, it adds typeahead-style search allowing you to quickly make a selection from a large list The pw_multiselect field allows you to select multiple values with typeahead-style search. The values can be dragged and dropped to reorder CMB Field Type: Slider from mattkrupnik: Adds a jQuery UI Slider field. WDS CMB2 Date Range Field from dustyf of WebDevStudios: Adds a date range field. CMB2 Remote Image Select from JayWood of WebDevStudios: Allows users to enter a URL in a text field and select a single image for use in post meta. Similar to Facebook’s featured image selector. CMB Field Type: Sorter: This plugin gives you two CMB field types based on the Sorter script. CMB Field Type: Tags: WordPress-Tags-like field type for CMB2. note: this does not set the post tags, but simply provides a unique text input CMB Field Type: Link Picker: Using the Link Picker for CMB2 control, you can choose a link from your WordPress site, or manually enter a link. You can also identify if the link should open in a new window, or not. CMB Field Type: MultidatesPicker: Creates a CMB2 field type that enables a multiple date calendar. It uses a plugin called MultiDatesPicker v1.6.3 for jQuery UI. CMB Field Type: CMB2-radio-image: Image as radio buttons. CMB2 Term Select: Special CMB2 Field that allows users to define an autocomplete text field for terms. Note: this will set the taxonomy terms, but has the option ('apply_term' => false) to disable and save the term ids as data instead (like for options pages, etc). CMB2 Related Links: Allows users to add a related links via a repeating field group. Field inputs are powered by the CMB2 Field Type: CMB2 Post Search field documented above, and so each link can be populated with existing WordPress content by clicking on the search button. Note: this is not a standard field type, but instead a function you use in combination with CMB2::add_field(). CMB2 Field Type: Order by rubengc: Allows users to define custom order of predefined options. CMB2 Field Type: Animation by rubengc: Allows users to pickup an animation from Animate.css (includes preview of chosen animation). CMB2 Field Type: Ajax Search by rubengc: Based on CMB2 Field Type: Post Search Ajax, adds the ability to attach posts/users/terms, and the ability to limit the maximum number of attached objects. CMB2 Field Type: Visual Style Editor by rubengc: Custom field for CMB2 which allows customizing style from a small set of controls. CMB2 Field Type: Content Wrap by rubengc: Custom field for CMB2 to store a content wrap values (padding, margin or border width). CMB2 Field JS Controls by rubengc: Show any field similar to WordPress publishing actions (Post/Page post_status, visibility and post_date submit box field). CMB2 Field Type: Position by rubengc: CMB2 field type to setup a jquery UI position values. CMB2 Field Type: CMB2 Roadway Segments by pixelwatt: This plugin adds a new CMB2 fieldtype for drawing roadway segments onto a map and provides a shortcode for display. CMB2 Field Type: Font Awesome by serkanalgur: This plugin adds a new CMB2 field type for selecting Font Awesome icons. CMB2 Field Type: Typography by eduplessis: This plugin adds a new CMB2 field type “Typography” and it use jQuery fontselect for the font-family selection. CMB2 Field Type: Markdown by Rekenna: This plugin adds a new CMB2 field type “CMB2 Markdown” where you can type in markdown and view a live preview of the results or convert to html with a button. CMB2 Field Type: Switch Button by themevan: This plugin adds a Custom Switch Button field type for CMB2. CMB2 Field Type: select_plus from manzoorwanijk: Select field type which acts much like the default select field. However, it adds the support for optgroup and saving of values with multiple attribute. CMB2 Field Type: Address by scottsawyer: Just a simple, repeatable address field. It’s really just the snippet from CMB2 Snippet Library converted to a plugin. CMB2 Field Type: Link by scottsawyer: Create a link field with some attributes. Very nice for styling links. CMB2 Field Type: Widget Selector by scottsawyer: Need a field that lets you ( or your editor ) select / display an existing widget instance? Then this is the plugin for you. Other Helpful Resources CMB2 WooCommerce HPOS Orders: Adds the ability to add custom fields to the new WooCommerce HPOS orders page. CMB2 Admin Extension: Adds a UI to create CMB2 meta boxes from the WordPress admin. Also on wordpress.org. WordPress Shortcode Button: Uses CMB2 fields to generate fields for shortcode input modals. WDS-Simple-Page-Builder: Uses existing template parts in the currently-active theme to build a customized page with rearrangeable elements. Built with CMB2. CMB2 Example Theme: Demonstrate how to include CMB2 in your theme, as well as some cool tips and tricks. facetwp-cmb2: FacetWP integration with CMB2. CMB2-grid from origgami: A grid system for WordPress CMB2 library that allows the creation of columns for a better layout in the admin. CMB2 Metatabs Options from rogerlos: CMO makes it easy to create options pages with multiple metaboxes–and optional WordPress admin tabs. CMB2 Conditionals from jcchavezs: Allows developers to relate fields so the display of one is conditional on the value of another. CMB2 Metabox Code Generator from willthemoor: Skip the boring bits. Use this generator to create fully functional CMB2 metaboxes easily. Now with bulk entry! Caldera Metaplate by CalderaWP: Not specific to CMB2, but allows creating templates for outputting your custom fields. Yoast CMB2 Field Analysis WP Plugin by alexis-magina: This plugin adds in a js based method of recalculating Yoast SEO’s content scores when updating page content, specifically custom meta fields added via the CMB2 library. Skeleton by awethemes: A complete framework for WordPress, uses CMB2 engine. WP Simple Iconfonts by awethemes: An icon fonts manager and provides a font icon picker for CMB2. CMB2 Nav Menus by nsrosenqvist: Lets you use CMB2 in nav menu entries.. Links Project Homepage Github project page Documentation (GitHub wiki) Snippet Library View CHANGELOG Known Issues Metabox containing WYSIWYG editor cannot be moved or used in a repeatable way at this time (this is a TinyMCE issue). Not all fields work well in a repeatable group.
Top keywords
- field76×5.04%
- cmb275×4.97%
- type43×2.85%
- field type41×2.72%
- cmb2 field32×2.12%
- cmb2 field type29×1.92%
- custom16×1.06%
- adds14×0.93%
- allows12×0.80%
- search12×0.80%
- wordpress12×0.80%
- fields11×0.73%
Ocean Extra
Ocean Extra adds extra features and flexibility to the OceanWP theme for a turbocharged experience. Build any type of a professional looking website without any coding knowledge and by controlling every aspect of it with ease. With Ocean Extra you’re in command and have full authority over available features and options. 👉 Ocean Core Extensions Bundle 👉 Ocean Full Website Templates 📘 Documentation 🎬 Video Tutorials 💙 Join the official OceanWP Facebook community and always be up to speed with the latest news. Check out the video when Ocean Extra’s Theme Panel received a makeover to become OceanWP Panel and an overview of its capabilities Ocean Extra is a 100% free WordPress plugin that enriches your website building experience by adding extra features to the OceanWP free theme. Save time and effort, and reduce the need for additional plugins or custom codes. Everyone deserves a polished website with expert features, and so do you. 🔥 Check out the Premium Features for additional power, energy and ability. Copyright Ocean Extra, Copyright 2016-2025 OceanWP LLC Ocean Extra is distributed under the terms of the GNU GPL. Ocean Extra uses the following third-party resources: Font Awesome Fonts, Copyright Fonticons, Inc. License: SIL OFL 1.1 License – https://scripts.sil.org/OFL Source: https://fontawesome.com/ Font Awesome Icons, Copyright Fonticons, Inc. License: CC BY 4.0 License – https://creativecommons.org/licenses/by/4.0/ Source: https://fontawesome.com/ Font Awesome Code, Copyright Fonticons, Inc. License: MIT License – https://opensource.org/licenses/MIT Source: https://fontawesome.com/ Features Features listed below are just a fraction of the most significant Ocean Extra possibilities: * Host Google fonts locally * Adobe Fonts integration * Custom templates support * Individual page / post control * Freemium website templates import * WordPress widgets * Mega Menu * Menu icons * Various shortcodes * Customizer sections control * Customizer search * Customizer reset * Customizer styling import / export * Integration * Extra settings * Admin settings * Website preloader * Premium licenses panel & more HOST GOOGLE FONTS LOCALLY 1-click solution, no font upload required. (Any Google font you apply from the Customizer)[https://docs.oceanwp.org/article/808-host-google-fonts-locally] will load from your site automatically, making your website faster and GDPR friendly in an instant. This feature also supports the Elementor page builder and Google fonts applied through it. ADOBE FONTS INTEGRATION Add Adobe Fonts (Typekit) to your OceanWP theme. The (integration supports Adobe fonts usage)[https://docs.oceanwp.org/article/849-how-to-add-adobe-fonts-typekit] with the OceanWP theme and plugins (Customizer), as well as Elementor. CUSTOM TEMPLATES SUPPORT Create as many templates as you like, using any page builder you want, including Gutenberg. Create and apply a custom header or footer directly through the Customizer. Display custom templates using shortcodes, hooks or even custom codes. INDIVIDUAL PAGE / POST CONTROL This feature is enabled through the metabox settings and gives you full control over every page or post on your website independantly from your global Customizer settings. For example, you can apply a different page layout or a custom sidebar; you can enable or disable the Header, Top Bar, Page Title, Footer Widgets, Footer Copyright. You can apply a different navigation menu, header style, page title style, play with colors, custom titles, apply templates through shortcodes and much, much, much more. FREEMIUM WEBSITE TEMPLATES Don’t feel like starting a website from scratch? Import one of the freemium full website templates and edit content and styling as you go. Depending on the template type, each contains sample pages, sample posts and Customizer styling. Website templates are also known as demos or site kits. WORDPRESS WIDGETS Enrich your widget areas such as sidebars or footer with additional widgets like: About Me, Contact Info, Recent Posts (with thumbnails), Custom Menu, Social Icons, Social Share and more. MEGA MENU Turn your website navigation into a mega menu with a simple setup directly through the WordPress Menus option. MENU ICONS Add icons to some or all of your menu items. Several icon libraries are supported, like Font Awesome, Simple Line Icons, Dashicons and more. VARIOUS SHORTCODES Use OceanWP shortcodes to display dynamic content on your website, such as: current year, current user, login / logout link, breadcrumbs, WooCommerce cart and more. CUSTOMIZER SECTIONS CONTROL Disable any of the Customizer panels from loading, to increase the Customizer loading time or focus on your tasks. This feature allows you to disable only those panels created by the OceanWP theme or any of the Ocean plugins. Likewise, you can enable all panels back again. CUSTOMIZER SEARCH The search option within the Customizer helps you find all relevant settings instantly. Enable or disable per need. CUSTOMIZER RESET Unhappy with your Customizer settings and styling? Or you would like to import different styling? Reset all current settings to OceanWP’s default values and apply your design. CUSTOMIZER STYLING IMPORT / EXPORT Export your Customizer styling options to use on other sites, to save as backup or simply speed up the design process. Likewise, import an existing Customizer styling file and apply all settings in a breeze. INTEGRATION The Integration panel helps you enable SVG file upload support for the WordPress Media Library, connect with MailChimp, Google reCaptcha, Google Maps and more. EXTRA SETTINGS The Extra Settings panel allows you to disable or enable Ocean Extra plugin components, like the meta box, custom templates support, widgets, etc. ADMIN SETTINGS The Admin Settings panel offers control over additional features, like regenerating the local Google fonts CSS file, disabling the “edit” link on post archive pages which is visible to admins, and more. WEBSITE PRELOADER Dealing with heavy page content such as videos or slow hosting? Enable the (website preloader feature)[https://docs.oceanwp.org/article/851-oceanwp-website-preloader] on your website to reduce bounce rate, entertain visitors, brand site or more. PREMIUM OCEAN FEATURES Some of the most outsanding premium features controled by the Ocean Extra’s OceanWP Panel include: * Ocean Images: Import royalty free images and icons directly to your Media Library, a feature that is included in the Ocean Core Extensions Bundle and the Ocean Pro Demos plugin. * Full Website Templates: Import any of the 220+ full website templates (demos, site kits) to kick start your website fast. * Elementor Widgets: Disable or enable any of the widgets that come with the Ocean Elementor Widgets plugin. * Elementor Library: Control the settings of the Elementor Sections Library, that counts over 60 various designs. Create your page content as you. This feature is included in the Ocean Core Extensions Bundle and the Ocean Pro Demos plugin. * Gutenberg Blocks: Disable or enable any of the blocks that come with the Ocean Gutenberg Blocks plugin. * White Label: Whitelabel your OceanWP theme, personalize it and make it your own, with the Ocean White Label plugin.