Tag Info

New answers tagged

1

If you plan to use it just for your own code, and have it running alongside WordPress' default database driver (wpdb), I see no real problems. It's only if you plan on fully integrating/overriding WP's driver that I see it being near-impossible; hard-coded SQL is prolific throughout core, and translating them to ActiveRecord method calls would defeat any ...


3

You're assigning a value to $dish, but then not using it... Try the following. It takes advantage of the fact that your image for "gluten" is named gluten.png, etc. You'll be able to add more tags by just adding to the $images array. $images = array( "gluten" => "Gluten Free", "vegan" => "Vegan Friendly", "vegetarian" => ...



Top 50 recent answers are included