Blog

Revised Code Formatting Rules for 2.0+

After discussion with @logikal16, here are the new rules we’ll be enforcing on the Pods codebase. Shorthand Shorthand can get messy, so it’s permitted in simple cases. Here are the examples where Shorthand usage is permitted. if (0 < $variable || false !== $variable)     $do = ‘something’; else     $do = ‘something’; and $do = (0 …

Read more

Complex Pods Shortcodes

Someone on twitter recently said that WP and Pods coding was uglier than ExpressionEngine. Now, we all know it’s a bit different since EE coding isn’t straight PHP so it’s not a perfect comparison, but it got me thinking since the WP Shortcode API allows for similar stuff to this, perhaps we can do something …

Read more

Pods UI 0.7.0

Pods UI just got an unexpected update. I hadn’t planned on putting any other releases out and focusing solely on 2.0 but I thought we should give the community something to chew on in the mean time. I’d like to gather a couple bugs and perhaps do a 1.9.5 release of Pods too. Here’s what …

Read more

Dating Pods

No, not that type of dating 🙂 Talking about the Pods usage of date(), we should at all times use date_i18n() instead, which has two params just like date() which are $format and $timestamp. This ensures all places where a date is shown is set to the correct timezone that the WP site is set …

Read more