I use Valet as my local web development environment (PHP, Laravel, Wordpress, ...)
This gist is my own recipe to install Wordpress from the command line to use it with Valet. Maybe this is useful for you too.
Here are a few common tasks you might do in your templates, as they would be written in ExpressionEngine vs. Craft CMS.
<?php | |
/** | |
* Is a WooCommerce Product Simple or Variable | |
* | |
* see http://wordpress.org/support/topic/condition-to-check-if-product-is-simple-or-variable | |
*/ | |
if( $product->is_type( 'simple' ) ){ | |
// a simple product |