Composer custom installer paths with WPackagist

By default, dependencies from http://wpackagist.org/ install to /wp-content/plugins or /wp-content/themes to mimic the default locations for WordPress but I've previously been able to specify that...

CMB2 Repeatable Group Display

I'm using Custom Metaboxes 2 and I can't get repeatable group values to display on the front end. I have a repeatable group with a single text field. I used this as a guide. I have the backend...

How to make conditional field on cmb2 plugin?

I want to make a condition for my members info page. $biometabox[] = array( 'id' => 'first-section', 'title' => 'Member Data', 'object_types' => array('dausfmembers'), 'fields' => array( ...

CMB Admin Checkbox if statement

I have a checkbox on a Wordpress admin options page that if checked I want to call a file. After hours of searching I am still coming up short. I am trying to use the advice here:...

Wordpress - Is it possible to add multiple text fields in one row with CMB2?

Using CMB2 we are able to create metaboxes for various post types. Right now, by default, every added custom field will be separated with new row. For a better usability I would need to add some...

How to get uploaded image location url by cmb2

I made a image add file field in by cmb2 metabox like $FF_side_settings->add_field( array( 'name' => 'Upload background image', 'desc' => 'Upload an image or enter an URL.', ...

CMB2 Multicheck Display Selected Options

I am trying to display the selected options from my functioning CMB2 multicheck metabox. Currently this is returned on the front-end: check1check2 I am trying to return: Open Ceiling Drop...

Get image alt from cmb2 file filed in loop CMB2

I use WordPress with CMB2 plugin to create custom meta boxes and fields. It works perfectly but I can't get file field type image alt in the loop. I have repeatable field type file...

Wordpress meta_query an array of values when metadata to compare is serialized array?

I am trying to run a meta_query with an array of values and have it search if all are present in the meta value which is stored in a serialized array. Is this possible? My arguments for the query...

CMB2 option-page parameter

CMB2 has an option to use as an option page. I'm looking in the example files, and on the wiki page but even copying and pasting the example on the files it not work. I'm probably missing...

Which WordPress hook fires after save all post data and post meta?

I have a custom post type crm, and i need to send a mail after each crm saved or updated. i user cmb2 for some custom meta like subject, to users etc. I know the save_post hook fires after post...

How to display data from cmb2 option page?

I have created a repeatable field with CMB2, and created a normal field. This is the function of https://pastebin.com/XUQgkvbi If you use foreach for repeatable using a post or page then you can...

Add a Custom post type custom field to WordPress Screen options

I have a created a custom meta box with field called model_num using CMB2 for my custom Taxonomy. Is it possible to show that field under WordPress Screen Options Thanks

WordPress CMB2 - Get Option Value

I am using the example from the CMB2 snippets library to add a theme options page in WordPress /** * Hook in and register a metabox to handle a theme options page and adds a menu item. ...

CMB2 sort data by date on CPT with WP_Query

Hi Im trying to sort Workshop events by date of event? I'm able to sort data by other meta_key as town, leader, country ect. but not by date of event. There is meta "country" but because they are...

Wordpress / CMB2 Framework / Display data from repeatable fields in frontend

I have a own option-page in the backend-sidebar with this repeatable fields in it. (not a metabox) I cant figure out, how to display the data from the group field in the frontend. function...

Check style name or get style name VSTO Word VB.NET

I wrote the following code in Word VBA and it works. Dim para As Paragraph Dim nextPara As Paragraph For Each para In ActiveDocument.Paragraphs If para.Style = CMB1.Value Then Set...

WordPress with CMB2 and WPML Media: file_list, how to get correct id in translations?

In WordPress I'm using the CMB2 plugins (framework for creating metabox and metafield) and WPML Media (WPML add-on avoids saving the same attachment for each language, creating translations of:...

How to enable Wpbakery Page Builder(Visual Composer) in CMB2 "wysiwyg" type?

I am adding a custom metabox text editor in wordpress with CMB2 for post type. Here Wpbakery Page Builder(Visual Composer) is enabled in default post type editor. but i can't able to enable...

Implementing cmb_field_map for cmb2

I'm trying to use the cmb_field_map extension by julykaz for cmb2 in a wordpress plugin to display a google map location. https://packagist.org/packages/julykaz/cmb_field_map Have successfully...

Requery multiple instances of form independently in VBA (Access)

I am using Allen Browne's brilliant code (http://allenbrowne.com/ser-35.html) to open several instances of a form on click event. I understand that new instances are read-only and I managed to...

PHP count(): Parameter must be an array or an object that implements Countable

Here is a snippet of my code in the file public_html/wp-content/themes/arabv3/CustomMetaBox/CMB2.php, starting at line 565 // if it's an array of one, extract it elseif ( is_array(...

How to check all child checkboxes

I am using cmb2 taxonomy_multicheck_hierarchical field type to display my categories in a hierarchical format, however I have a lot of terms and they are currently 3 levels deep in the...

CMB2 - Get the first image from file_list

I am using CMB2 file_list for uploading photos e.g. photo gallery. On the home page I need to get only the first photo and not the entire gallery. Below is the function to get all the photo. How...

CMB2 Photo gallery

When creating a CMB2 file_list for images upload to populate a gallery CMB2 online example is laking to show options such as the img alt tag and adding a classes to the images. I do not know how...

Having issues submitting form via AJAX on WordPress with reCAPTCHA

I've spent a good few hours trying to Google my way out of this, and I keep coming up with one issue or another. I'm getting myself wrapped up in knots and I am hoping that someone can help me by...

How to bind Functions to Ttk Combobox uniquely for every change in value of Combobox

I want to link Comboboxs in a pair uniquely, such as the values in a Combobox depends upon the current value in another Combobox. But i fail to get it to work. Only the initial value of one...

Add image upload custom field at dokan template new-product.php

I am using dokan plugin for a multivendor website, I want to add image upload custom field in the template new-product.php, I used CMB2 plugin to create image upload custom field with WooCommerce...

Python, tkinter. Populate comboboxes using if statements

I am currently trying to code a programme with 3 comboboxes which are populated. For an example when the user picks "a" in the first combobox a new combobox should appear with new choices when...

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the...