Welcome Guest! Login? Checkout

Posts Tagged ‘CMB2’

Using CMB2, importing dates & non-US timestamps

Recently I had a problem with CMB2 and date fields. We were using an API that had dates stored in EU format (which is day/month/year), but try as we might we couldn’t get CMB2 to import the dates correctly. Many of the dates were in US format (month/day/year) and a few never even imported successfully.…

Read More

How To: Save CMB2 Colour Picker fields as RGB Values

Recently I have been working on a project where we needed to save CMB2¬†Colour Picker field as a RGB field. As great as CMB2 is, by default, the field is saved as hexadecimal field (like #FFFFFF). This makes sense as it is the most common ways to display colours on the internet. However, should you…

Read More