Skip to content
CMB2 Code Snippet Library
PHP CSS
Branch: master
Clone or download
jtsternberg Merge pull request #101 from mlyczko/patch-1
Update taxonomy-radio-with-image-field-type.php
Latest commit af0769f Oct 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
conditional-display Only loop if terms is an array Mar 30, 2016
custom-field-types
filters-and-actions Fix incorrect variable Mar 19, 2019
front-end
helper-functions
javascript
metaboxes
misc Check for cmb object before using it Oct 15, 2019
modified-field-types
options-and-settings-pages Add example for adding CMB2 fields to the general settings page Apr 27, 2018
user-meta-and-settings
widgets Try to fix bug from #52 Oct 28, 2016
.gitignore
CONTRIBUTING.md init commit. Thanks EDD for the help getting started! Feb 4, 2015
README.md

README.md

CMB2 Code Snippet Library

This is a community-maintained repository of code snippets that help modify the default behavior of CMB2.

Snippets are organized into categories (folders) and each snippet is placed in its own file with a name that describes what it does.

Thank you to the EDD team for the inspiration for this library.

Submitting Your Snippet

We welcome and encourage everyone to submit their code snippets. If you would like to submit your snippet, please fork the repository and then create a pull request.

Please refer to the Contributing guidelines before submitting your pull request.

Proposing a Snippet

If there is a snippet you are unable to find and would like to propose get written, please open an issue and describe your need.

Notes

This is not a tutorial archive. Please see the CMB2 github repo wiki if you're looking for official documentation and tutorials.

These snippets come with no guarantees. Due to the constant evolution of the CMB2 codebase, it is possible that the behavior of these snippets may change overtime. Find something broken? Let us know!

You can’t perform that action at this time.