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