New update to WordPress “Insert Script” plug-in available for WordPress PHP developers

I added some new improvements to the "Insert Script" Wordpress plug-in.  You can now declare a JSON string and it will parse it out as $json_vals_arr, an array that gets passed directly to your external PHP script. You can also declare "strings" instead of "vals" as a GET URL string like:  "strings='variable1=value1&variable2=value2&etc=andSoOn'". To download the…

Latest Virtual Box checklist instructions and resources to deploy new local WordPress and Symfony dev server in less than 15 minutes

These local web development servers are fast and free to set up.  I always set them up on another computer so they're available on  my local home network without slowing my own computer down.  Be careful setting this up on the same computer you want to use to write code, unless you have a blazing…

MySQL “Where IN” value contained in list used with setParameter() requires value to be array if using placeholders

In normal SQL queries, you can use “WHERE IN” like this: “WHERE id IN (1,5,10)” as in: If the list 1,5,10 "contains" the value represented by the value in the "id" field. However, if you define a comma delimited string, you can’t simply do this: This will only return the first result!   However, if…

Setting Twig Global values in your Symfony system decouples hardcoding values like Google Analytics IDs

Here's a handy trick to define things like your Google Analytics ID and domain on a global level then be able to call on those global variables in any Twig template.  This allows you to put unique values, usernames, etc in your config files and even different values in different environments like config_dev.yml. Here's a…