To get the title of your site: {{ site.title }}
Don't show page in navigation menu:
//Source: https://stackoverflow.com/a/45911284/898933 | |
// Add custom checkout field: woocommerce_review_order_before_submit | |
add_action( 'woocommerce_review_order_before_submit', 'my_custom_checkout_field' ); | |
function my_custom_checkout_field() { | |
echo '<div id="my_custom_checkout_field">'; | |
woocommerce_form_field( 'my_field_name', array( | |
'type' => 'checkbox', | |
'class' => array('input-checkbox'), |