[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8575":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":15,"starSnapshotCount":15,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},8575,"CMB2","CMB2\u002FCMB2","CMB2 is a developer's toolkit for building metaboxes, custom fields, and forms for WordPress that will blow your mind.","",null,"PHP",3017,564,133,245,0,3,1,30.26,"GNU General Public License v3.0",false,"develop",true,[24,25,26,27,28,29,30],"cmb2","cmb2-fields","custom-metaboxes","metaboxes","php","repeater-field","wordpress","2026-06-12 02:01:55","# CMB2\n\n[![Gitter](https:\u002F\u002Fbadges.gitter.im\u002FJoin%20Chat.svg)](https:\u002F\u002Fgitter.im\u002FCMB2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![GitHub Actions](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fworkflows\u002FPHPUnit%20Tests\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Factions)\n[![Scrutinizer Code Quality](https:\u002F\u002Fimg.shields.io\u002Fscrutinizer\u002Fg\u002FCMB2\u002FCMB2.svg)](https:\u002F\u002Fscrutinizer-ci.com\u002Fg\u002FCMB2\u002FCMB2\u002F?branch=develop)\n[![Scrutinizer Coverage](https:\u002F\u002Fimg.shields.io\u002Fscrutinizer\u002Fcoverage\u002Fg\u002FCMB2\u002FCMB2.svg)](https:\u002F\u002Fscrutinizer-ci.com\u002Fg\u002FCMB2\u002FCMB2\u002F?branch=develop)\n[![Project Stats](https:\u002F\u002Fwww.openhub.net\u002Fp\u002FCMB2\u002Fwidgets\u002Fproject_thin_badge.gif)](https:\u002F\u002Fwww.openhub.net\u002Fp\u002FCMB2)\n\n![CMB2](https:\u002F\u002Fplugins.trac.wordpress.org\u002Fexport\u002FHEAD\u002Fcmb2\u002Fassets\u002Fbanner-1544x500.png)\n\n**Contributors:**      [jtsternberg](https:\u002F\u002Fgithub.com\u002Fjtsternberg), [webdevstudios](https:\u002F\u002Fgithub.com\u002Fwebdevstudios), [zao](https:\u002F\u002Fgithub.com\u002Fzao-web), [humanmade](https:\u002F\u002Fgithub.com\u002Fhumanmade)  \n**Homepage:**          [https:\u002F\u002Fcmb2.io](https:\u002F\u002Fcmb2.io)  \n**Tags:**              metaboxes, forms, fields, options, settings  \n**Requires at least:** 3.8.0  \n**Requires PHP:**      7.4  \n**Tested up to:**      6.4  \n**Stable tag:**        2.11.0  \n**License:**           GPLv2 or later  \n**License URI:**       [https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Fgpl-2.0.html)\n\n[![Wordpress plugin](https:\u002F\u002Fimg.shields.io\u002Fwordpress\u002Fplugin\u002Fv\u002Fcmb2.svg)](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcmb2\u002F)\n[![Wordpress](https:\u002F\u002Fimg.shields.io\u002Fwordpress\u002Fplugin\u002Fdt\u002Fcmb2.svg)](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcmb2\u002F)\n[![Wordpress rating](https:\u002F\u002Fimg.shields.io\u002Fwordpress\u002Fplugin\u002Fr\u002Fcmb2.svg)](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcmb2\u002F)\n\nComplete contributors list found here: [github.com\u002FCMB2\u002FCMB2\u002Fgraphs\u002Fcontributors](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fgraphs\u002Fcontributors)\n\n## Description\n\nCMB2 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.\n\n**[Download plugin on wordpress.org](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcmb2\u002F)**\n\nCMB2 is a complete rewrite of [Custom Metaboxes and Fields for WordPress](https:\u002F\u002Fgithub.com\u002FWebDevStudios\u002FCustom-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](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki\u002FBasic-Usage).\n\nYou can see a list of available field types [here](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki\u002FField-Types#types).\n\nIf you are coming from the original \"Custom Metaboxes and Fields for WordPress\" plugin, [please read this post](https:\u002F\u002Fwebdevstudios.com\u002F2015\u002F02\u002F02\u002Fcmb2-wordpress-plugin\u002F) for the CMB2 background story.\n\n### Contribution\nDevelopment occurs on Github, and all contributions welcome. Please read the [CONTRIBUTING](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md) doc for more details.\n\nA complete list of all our awesome contributors found here: [github.com\u002FCMB2\u002FCMB2\u002Fgraphs\u002Fcontributors](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fgraphs\u002Fcontributors)\n\n## Features:\n\n* Create metaboxes to be used on post edit screens.\n* [Create forms to be used on an options pages](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki\u002FUsing-CMB-to-create-an-Admin-Theme-Options-Page).\n* Create forms to handle user meta and display them on user profile add\u002Fedit pages.\n* Create forms to handle term meta and display wherever your taxonomies are used.\n* [Flexible API that allows you to use CMB forms almost anywhere, even on the front-end](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki\u002FBringing-Metaboxes-to-the-Front-end).\n* [Several field types are included](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki\u002FField-Types).\n* [Custom API hook that allows you to create your own field types](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki\u002FAdding-your-own-field-types).\n* There are numerous hooks and filters, allowing you to modify many aspects of the library (without editing it directly).\n* Repeatable fields for most field types are supported, as well as repeatable field groups.\n* CMB2 is safe to bundle with any project. It will only load the newest version in the system.\n\n## Translation\nIf you are looking to provide language translation files, Please do so via [WordPress Plugin Translations](https:\u002F\u002Ftranslate.wordpress.org\u002Fprojects\u002Fwp-plugins\u002Fcmb2).\n\n## 3rd Party Resources\n\n#### Custom Field Types\n* [CMB2 Field Type: CMB Attached Posts Field](https:\u002F\u002Fgithub.com\u002Fcoreymcollins\u002Fcmb-attached-posts) from [coreymcollins](https:\u002F\u002Fgithub.com\u002Fcoreymcollins): `custom_attached_posts`, for attaching posts to a page.\n* [CMB2 Field Type: Post Search Ajax](https:\u002F\u002Fgithub.com\u002Falexis-magina\u002Fcmb2-field-post-search-ajax) by [alexis-magina](https:\u002F\u002Fgithub.com\u002Falexis-magina): `post_search_ajax` Attach posts to each other. Same approach as [CMB2 Attached Posts Field](https:\u002F\u002Fgithub.com\u002Fcoreymcollins\u002Fcmb-attached-posts) but with Ajax request, multiple\u002Fsingle option, and different UI.\n* [CMB2 Field Type: CMB2 Post Search field](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-Post-Search-field): `post_search_text` adds a post-search dialog for searching\u002Fattaching other post IDs.\n* [CMB2 Field Type: Ajax Search](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-ajax-search) from [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): 3 different fields with the same UI in AJAX to search (with query parameters) to users, post type and taxonomy terms.\n* [CMB2 Field Type: Google Maps](https:\u002F\u002Fgithub.com\u002FmustardBees\u002Fcmb_field_map) from [mustardBees](https:\u002F\u002Fgithub.com\u002FmustardBees): Custom field type for Google Maps.\n\t> The `pw_map` field stores the latitude\u002Flongitude values which you can then use to display a map in your theme.\n\n* [CMB2 Field Type: Leaflet Maps](https:\u002F\u002Fgithub.com\u002Fvilleristi\u002FCMB2-field-Leaflet-Geocoder) from [villeristi](https:\u002F\u002Fgithub.com\u002Fvilleristi): Custom field type for [Leaflet](https:\u002F\u002Fleafletjs.com\u002F) Maps.\n* [CMB2 Field Type: Select2](https:\u002F\u002Fgithub.com\u002FmustardBees\u002Fcmb-field-select2) from [mustardBees](https:\u002F\u002Fgithub.com\u002FmustardBees): Custom field types which use the [Select2](https:\u002F\u002Fselect2.org\u002F) script:\n\n\t> 1. 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\n\t> 2. The `pw_multiselect` field allows you to select multiple values with typeahead-style search. The values can be dragged and dropped to reorder\n\n* [CMB Field Type: Slider](https:\u002F\u002Fgithub.com\u002Fqmatt\u002Fcmb2-field-slider) from [mattkrupnik](https:\u002F\u002Fgithub.com\u002Fmattkrupnik\u002F): Adds a jQuery UI Slider field.\n* [WDS CMB2 Date Range Field](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-Date-Range-Field) from [dustyf](https:\u002F\u002Fgithub.com\u002Fdustyf) of [WebDevStudios](https:\u002F\u002Fgithub.com\u002FWebDevStudios): Adds a date range field.\n* [CMB2 Remote Image Select](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-Remote-Image-Select-Field) from [JayWood](https:\u002F\u002Fgithub.com\u002FJayWood) of [WebDevStudios](https:\u002F\u002Fgithub.com\u002FWebDevStudios): 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.\n* [CMB Field Type: Sorter](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcmb-field-type-sorter\u002F): This plugin gives you two CMB field types based on the Sorter script.\n* [CMB Field Type: Tags](https:\u002F\u002Fgithub.com\u002Fflorianbeck\u002Fcmb2-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_\n* [CMB Field Type: Link Picker](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Flink-picker-for-cmb2\u002F): 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.\n* [CMB Field Type: MultidatesPicker](https:\u002F\u002Fgithub.com\u002Foriggami\u002Fcmb2-multidates-picker): Creates a CMB2 field type that enables a multiple date calendar. It uses a plugin called [MultiDatesPicker v1.6.3 for jQuery UI](https:\u002F\u002Fdubrox.github.io\u002FMultiple-Dates-Picker-for-jQuery-UI\u002F).\n* [CMB Field Type: CMB2-radio-image](https:\u002F\u002Fgithub.com\u002Fsatwinderrathore\u002FCMB2-radio-image): Image as radio buttons.\n* [CMB2 Term Select](https:\u002F\u002Fgithub.com\u002Fflorianbeck\u002Fcmb2-field-type-tags): 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)._\n* [CMB2 Related Links](https:\u002F\u002Fgithub.com\u002Fjtsternberg\u002FCMB2-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](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-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()._\n* [CMB2 Field Type: Order](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-order) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): Allows users to define custom order of predefined options.\n* [CMB2 Field Type: Animation](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-animation) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): Allows users to pickup an animation from [Animate.css](https:\u002F\u002Fgithub.com\u002Fdaneden\u002Fanimate.css) (includes preview of chosen animation).\n* [CMB2 Field Type: Ajax Search](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-ajax-search) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): Based on [CMB2 Field Type: Post Search Ajax](https:\u002F\u002Fgithub.com\u002Falexis-magina\u002Fcmb2-field-post-search-ajax), adds the ability to attach posts\u002Fusers\u002Fterms, and the ability to limit the maximum number of attached objects.\n* [CMB2 Field Type: Visual Style Editor](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-visual-style-editor) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): Custom field for CMB2 which allows customizing style from a small set of controls.\n* [CMB2 Field Type: Content Wrap](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-content-wrap) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): Custom field for CMB2 to store a content wrap values (padding, margin or border width).\n* [CMB2 Field JS Controls](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-js-controls) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): Show any field similar to Wordpress publishing actions (Post\u002FPage post_status, visibility and post_date submit box field).\n* [CMB2 Field Type: Position](https:\u002F\u002Fgithub.com\u002Frubengc\u002Fcmb2-field-position) by [rubengc](https:\u002F\u002Fgithub.com\u002Frubengc): CMB2 field type to setup a jquery UI position values.\n* [CMB2 Field Type: CMB2 Roadway Segments](https:\u002F\u002Fgithub.com\u002Fpixelwatt\u002Fcmb2-roadway-segments) by [pixelwatt](https:\u002F\u002Fgithub.com\u002Fpixelwatt): This plugin adds a new CMB2 fieldtype for drawing roadway segments onto a map and provides a shortcode for display.\n* [CMB2 Field Type: Font Awesome](https:\u002F\u002Fgithub.com\u002Fserkanalgur\u002Fcmb2-field-faiconselect) by [serkanalgur](https:\u002F\u002Fgithub.com\u002Fserkanalgur): This plugin adds a new CMB2 field type for selecting Font Awesome icons.\n* [CMB2 Field Type: Typography](https:\u002F\u002Fgithub.com\u002Feduplessis\u002Fcmb2-typography) by [eduplessis](https:\u002F\u002Fgithub.com\u002Feduplessis): This plugin adds a new CMB2 field type \"Typography\" and it use jQuery fontselect for the font-family selection.\n* [CMB2 Field Type: Markdown](https:\u002F\u002Fgithub.com\u002FRekenna\u002Fcmb2-markdown) by [Rekenna](https:\u002F\u002Fgithub.com\u002FRekenna): 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.\n* [CMB2 Field Type: Switch Button](https:\u002F\u002Fgithub.com\u002Fthemevan\u002FCMB2-Switch-Button) by [themevan](https:\u002F\u002Fgithub.com\u002Fthemevan): This plugin adds a Custom Switch Button field type for CMB2.\n* [CMB2 Field Type: select_plus](https:\u002F\u002Fgithub.com\u002Fmanzoorwanijk\u002Fcmb2-select-plus) from [manzoorwanijk](https:\u002F\u002Fgithub.com\u002Fmanzoorwanijk\u002F): 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.\n* [CMB2 Field Type: Address](https:\u002F\u002Fgithub.com\u002Fscottsawyer\u002Fcmb2-field-address) by [scottsawyer](https:\u002F\u002Fgithub.com\u002Fscottsawyer): Just a simple, repeatable address field.  It's really just the snippet from [CMB2 Snippet Library](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-Snippet-Library) converted to a plugin.\n* [CMB2 Field Type: Link](https:\u002F\u002Fgithub.com\u002Fscottsawyer\u002Fcmb2-field-link) by [scottsawyer](https:\u002F\u002Fgithub.com\u002Fscottsawyer): Create a link field with some attributes. Very nice for styling links.\n* [CMB2 Field Type: Widget Selector](https:\u002F\u002Fgithub.com\u002Fscottsawyer\u002Fcmb2-field-widget-selector) by [scottsawyer](https:\u002F\u002Fgithub.com\u002Fscottsawyer): Need a field that lets you ( or your editor ) select \u002F display an existing widget instance? Then this is the plugin for you.\n\n#### Other Helpful Resources\n* [CMB2 WooCommerce HPOS Orders](https:\u002F\u002Fgithub.com\u002FCMB2\u002Fcmb2-woocommerce-hpos-orders): Adds the ability to add custom fields to the new WooCommerce HPOS orders page.\n* [CMB2 Admin Extension](https:\u002F\u002Fgithub.com\u002Ftwoelevenjay\u002FCMB2-Admin-Extension): Adds a UI to create CMB2 meta boxes from the WordPress admin. Also on [wordpress.org](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcmb2-admin-extension\u002F).\n* [WordPress Shortcode Button](https:\u002F\u002Fgithub.com\u002Fjtsternberg\u002FShortcode_Button): Uses CMB2 fields to generate fields for shortcode input modals.\n* [WDS-Simple-Page-Builder](https:\u002F\u002Fgithub.com\u002FWebDevStudios\u002FWDS-Simple-Page-Builder): Uses existing template parts in the currently-active theme to build a customized page with rearrangeable elements. Built with CMB2.\n* [CMB2 Example Theme](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-Example-Theme): Demonstrate how to include CMB2 in your theme, as well as some cool tips and tricks.\n* [facetwp-cmb2](https:\u002F\u002Fgithub.com\u002F\u002FWebDevStudios\u002Ffacetwp-cmb2): FacetWP integration with CMB2.\n* [CMB2-grid](https:\u002F\u002Fgithub.com\u002Foriggami\u002FCMB2-grid) from [origgami](https:\u002F\u002Fgithub.com\u002Foriggami\u002F): A grid system for WordPress CMB2 library that allows the creation of columns for a better layout in the admin.\n* [CMB2 Metatabs Options](https:\u002F\u002Fgithub.com\u002Frogerlos\u002Fcmb2-metatabs-options) from [rogerlos](https:\u002F\u002Fgithub.com\u002Frogerlos\u002F): CMO makes it easy to create options pages with multiple metaboxes--and optional WordPress admin tabs.\n* [CMB2 Conditionals](https:\u002F\u002Fgithub.com\u002Fjcchavezs\u002Fcmb2-conditionals) from [jcchavezs](https:\u002F\u002Fgithub.com\u002Fjcchavezs\u002F): Allows developers to relate fields so the display of one is conditional on the value of another.\n* [CMB2 Metabox Code Generator](https:\u002F\u002Fwillthemoor.github.io\u002Fcmb2-metabox-generator\u002F) from [willthemoor](https:\u002F\u002Fgithub.com\u002Fwillthemoor\u002F): Skip the boring bits. Use this generator to create fully functional CMB2 metaboxes easily. Now with bulk entry!\n* [Caldera Metaplate](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcaldera-metaplate\u002F) by [CalderaWP](https:\u002F\u002Fcalderawp.com\u002F): Not specific to CMB2, but allows creating templates for outputting your custom fields.\n* [Yoast CMB2 Field Analysis WP Plugin](https:\u002F\u002Fgithub.com\u002Falexis-magina\u002Fyoast-cmb2-field-analysis) by [alexis-magina](https:\u002F\u002Fgithub.com\u002Falexis-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.\n* [Skeleton](https:\u002F\u002Fgithub.com\u002Fawethemes\u002Fskeleton) by [awethemes](https:\u002F\u002Fgithub.com\u002Fawethemes): A complete framework for WordPress, uses CMB2 engine.\n* [WP Simple Iconfonts](https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-simple-iconfonts\u002F) by [awethemes](https:\u002F\u002Fgithub.com\u002Fawethemes): An icon fonts manager and provides a font icon picker for CMB2.\n* [CMB2 Nav Menus](https:\u002F\u002Fgithub.com\u002Fnsrosenqvist\u002Fcmb2-nav-menus) by [nsrosenqvist](https:\u002F\u002Fgithub.com\u002Fnsrosenqvist): Lets you use CMB2 in nav menu entries..\n\n## Links\n* [Project Homepage](https:\u002F\u002Fcmb2.io)\n* [Github project page](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2)\n* [Documentation (GitHub wiki)](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fwiki)\n* [Snippet Library](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2-Snippet-Library\u002F)\n\n## Installation\n\nIf installing the plugin from wordpress.org:\n\n1. Upload the entire `\u002FCMB2` directory to the `\u002Fwp-content\u002Fplugins\u002F` directory.\n2. Activate CMB2 through the 'Plugins' menu in WordPress.\n2. Copy (and rename if desired) `example-functions.php` into to your theme or plugin's directory.\n2. Edit to only include the fields you need and rename the functions.\n4. Profit.\n\nIf including the library in your plugin or theme:\n\n1. Place the CMB2 directory inside of your theme or plugin.\n2. Copy (and rename if desired) `example-functions.php` into a folder *above* the CMB2 directory OR copy the entirety of its contents to your theme's `functions.php` file.\n2. Edit to only include the fields you need and rename the functions (CMB2 directory should be left unedited in order to easily update the library).\n4. Profit.\n\n**[View CHANGELOG](https:\u002F\u002Fgithub.com\u002FCMB2\u002FCMB2\u002Fblob\u002Fmaster\u002FCHANGELOG.md)**\n\n## Known Issues\n\n* Not all fields work well in a repeatable group.\n","CMB2 是一个用于在WordPress中构建元框、自定义字段和表单的开发者工具包。它支持多种字段类型，包括重复字段，并且可以轻松地为文章、分类、用户、评论添加元数据或创建自定义选项页面。CMB2 采用PHP编写，具有高度可定制性和扩展性，适用于需要增强内容管理功能的各种WordPress项目。无论是简单的博客还是复杂的企业级网站，CMB2 都能提供强大的后端管理解决方案。",2,"2026-06-11 03:18:40","top_language"]