- Revised date: November 5th, 2017
Between [company name]
And [customer name].
| <a href="https://2016.sydney.wordcamp.org" title="Proud sponsor of WordCamp Sydney 2016" target="_blank"><img src="https://2016.sydney.wordcamp.org/files/2016/05/proud-sponsor-of-wcsyd-2016-transparent-bg-300x300.png"></a> |
| <a href="https://2016.sydney.wordcamp.org" title="Proud sponsor of WordCamp Sydney 2016" target="_blank"><img src="https://2016.sydney.wordcamp.org/files/2016/05/proud-sponsor-of-wcsyd-2016-white-bg-300x300.jpg"></a> |
| <a href="https://2016.sydney.wordcamp.org" title="I'm volunteering at WordCamp Sydney 2016" target="_blank"><img src="https://2016.sydney.wordcamp.org/files/2016/05/im-volunteering-at-wcsyd-2016-transparent-bg-300x300.png"></a> |
| <a href="https://2016.sydney.wordcamp.org" title="I'm volunteering at WordCamp Sydney 2016" target="_blank"><img src="https://2016.sydney.wordcamp.org/files/2016/05/im-volunteering-at-wcsyd-2016-white-bg-300x300.jpg"></a> |
| sudo php -i | grep 'Configuration File' |
| // Add new image sizes | |
| function zpd_insert_custom_image_sizes( $image_sizes ) { | |
| // get the custom image sizes | |
| global $_wp_additional_image_sizes; | |
| // if there are none, just return the built-in sizes | |
| if ( empty( $_wp_additional_image_sizes ) ) | |
| return $image_sizes; | |
| // add all the custom sizes to the built-in sizes | |
| foreach ( $_wp_additional_image_sizes as $id => $data ) { |
| <?php | |
| //This will prepend your WordPress RSS feed content with the featured image | |
| function wbd_featured_image_in_rss_feed( $content ) { | |
| global $post; | |
| if( is_feed() ) { | |
| if ( has_post_thumbnail( $post->ID ) ){ | |
| $prepend = '<div>' . get_the_post_thumbnail( $post->ID, 'medium', array( 'style' => 'margin-bottom: 10px;' ) ) . '</div>'; | |
| $content = $prepend . $content; | |
| } | |
| } |
| /** | |
| * Add a privacy policy checkbox on the checkout form | |
| * | |
| * @author Wil Brown zeropointdevelopment.com | |
| */ | |
| function zpd_add_checkout_privacy_policy() { | |
| woocommerce_form_field( 'privacy_policy', array( | |
| 'type' => 'checkbox', | |
| 'class' => array('form-row privacy'), |