All Projects → CMB2 → Cmb2 Related Links

CMB2 / Cmb2 Related Links

Custom field type for CMB2 which adds a releated links repeatable group field.

Labels

Projects that are alternatives of or similar to Cmb2 Related Links

Bedrock
WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure
Stars: ✭ 5,456 (+90833.33%)
Mutual labels:  wordpress
Webstack
WordPress 版 WebStack 导航主题 https://nav.iowen.cn
Stars: ✭ 662 (+10933.33%)
Mutual labels:  wordpress
Wordpress Multi Env Config
WordPress Multi-Environment Config
Stars: ✭ 743 (+12283.33%)
Mutual labels:  wordpress
Docker4wordpress
Docker-based WordPress stack
Stars: ✭ 607 (+10016.67%)
Mutual labels:  wordpress
Wordops
Install and manage a high performance WordPress stack with a few keystrokes
Stars: ✭ 649 (+10716.67%)
Mutual labels:  wordpress
Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+10983.33%)
Mutual labels:  wordpress
Framework
The Themosis framework core.
Stars: ✭ 594 (+9800%)
Mutual labels:  wordpress
Cmsscan
CMS Scanner: Scan Wordpress, Drupal, Joomla, vBulletin websites for Security issues
Stars: ✭ 775 (+12816.67%)
Mutual labels:  wordpress
Presspack
💻 Wordpress like it's 2020 with Webpack and Docker
Stars: ✭ 658 (+10866.67%)
Mutual labels:  wordpress
Extended Cpts
A library which provides extended functionality to WordPress custom post types and taxonomies.
Stars: ✭ 705 (+11650%)
Mutual labels:  wordpress
Facebook Instant Articles Wp
Enable Facebook Instant Articles on your WordPress site.
Stars: ✭ 619 (+10216.67%)
Mutual labels:  wordpress
Wpforce
Wordpress Attack Suite
Stars: ✭ 633 (+10450%)
Mutual labels:  wordpress
Wordpress Gulp Starter Kit
[NOT MAINTAINED] A starter kit for developing WordPress themes with Gulp.
Stars: ✭ 674 (+11133.33%)
Mutual labels:  wordpress
Chassis
📦 Chassis is a virtual server for your WordPress site, built using Vagrant.
Stars: ✭ 602 (+9933.33%)
Mutual labels:  wordpress
Easy Digital Downloads
Sell digital downloads through WordPress
Stars: ✭ 757 (+12516.67%)
Mutual labels:  wordpress
Merlinwp
Better WordPress Theme Onboarding
Stars: ✭ 595 (+9816.67%)
Mutual labels:  wordpress
Wysiwyg.css
A tiny CSS for generated HTML or Markdown content
Stars: ✭ 665 (+10983.33%)
Mutual labels:  wordpress
Wpseku
WPSeku - Wordpress Security Scanner
Stars: ✭ 791 (+13083.33%)
Mutual labels:  wordpress
Storefront
Official theme for WooCommerce
Stars: ✭ 762 (+12600%)
Mutual labels:  wordpress
Wpscan
WPScan WordPress security scanner. Written for security professionals and blog maintainers to test the security of their WordPress websites.
Stars: ✭ 6,244 (+103966.67%)
Mutual labels:  wordpress

CMB2 Related Links

Special CMB2 Field that allows users to add a related links repeating field group. This is not a standard field type, but instead a function you use in combination with CMB2::add_field(). Each link can be populated with existing WordPress content by clicking on the search button.

The only required parameter is the 'id' parameter, though you can override almost all of the arguments by passing them in.

This field requires the CMB2 Post Search field.

Example

// Add a related links field.
$cmb->add_field( cmb2_related_links_field( array( 'id' => 'yourprefix_related_links' ) ) );

If you are looking to bundle this field in your plugin or theme, you will need to pass the second parameter which is an array of all the translateable strings:

$translateable = array(
	'description' => __( 'Add links, or select from related content by clicking the search icon.', 'yourtextdomain' ),
	'group_title' => __( 'Link {#}', 'yourtextdomain' ),
	'link_title'  => __( 'Title', 'yourtextdomain' ),
	'link_url'    => __( 'URL', 'yourtextdomain' ),
	'find_text'   => __( 'Find/Select related content', 'yourtextdomain' ),
);
$cmb->add_field( cmb2_related_links_field(
	array( 'id' => 'yourprefix_related_links' ),
	$translateable
) );
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].