Title: Rolf Hassel's Replies | WordPress.org

---

# Rolf Hassel

  [  ](https://wordpress.org/support/users/samwan/)

 *   [Profile](https://wordpress.org/support/users/samwan/)
 *   [Topics Started](https://wordpress.org/support/users/samwan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/samwan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/samwan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/samwan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/samwan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/samwan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress] File is empty. Please upload something more substantial.](https://wordpress.org/support/topic/file-is-empty-please-upload-something-more-substantial-3/)
 *  Thread Starter [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/file-is-empty-please-upload-something-more-substantial-3/#post-3824661)
 * I can give you admin access if you like to take a look.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress] File is empty. Please upload something more substantial.](https://wordpress.org/support/topic/file-is-empty-please-upload-something-more-substantial-3/)
 *  Thread Starter [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/file-is-empty-please-upload-something-more-substantial-3/#post-3824660)
 * Yes, using the latest version 1.4.2
 * Yes, users will need to do this from the frontend. As i said, while doing this
   as an admin: no problems. But if a user (contributor) tries this, the above message
   appears.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP last updated] Screenshot?](https://wordpress.org/support/topic/screenshot-4/)
 *  [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/screenshot-4/#post-3658303)
 * Nice! I just tried it out and placed it as an Introductory Message under the 
   blog. [http://myclassipress.com/](http://myclassipress.com/)
 * Think i’m going to leave it there.
 * Thanks [@mikemayhem3030](https://wordpress.org/support/users/mikemayhem3030/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Remove fields on Edit Address](https://wordpress.org/support/topic/woocommerce-remove-fields-on-edit-address/)
 *  [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-remove-fields-on-edit-address/page/2/#post-3087260)
 * The following code will remove all fields in the checkout page, shipping and 
   billing fields (also in “Edit Address”). It will only show the First Name, Last
   Name, Email and Phone. The Phone field will not be required to fill out.
 * Add this to your functions.php
 *     ```
       /* Remove Woocommerce User Fields */
       add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
       add_filter( 'woocommerce_billing_fields' , 'custom_override_billing_fields' );
       add_filter( 'woocommerce_shipping_fields' , 'custom_override_shipping_fields' );
   
       function custom_override_checkout_fields( $fields ) {
         unset($fields['billing']['billing_state']);
         unset($fields['billing']['billing_country']);
         unset($fields['billing']['billing_company']);
         unset($fields['billing']['billing_address_1']);
         unset($fields['billing']['billing_address_2']);
         unset($fields['billing']['billing_postcode']);
         unset($fields['billing']['billing_city']);
         unset($fields['shipping']['shipping_state']);
         unset($fields['shipping']['shipping_country']);
         unset($fields['shipping']['shipping_company']);
         unset($fields['shipping']['shipping_address_1']);
         unset($fields['shipping']['shipping_address_2']);
         unset($fields['shipping']['shipping_postcode']);
         unset($fields['shipping']['shipping_city']);
         return $fields;
       }
       function custom_override_billing_fields( $fields ) {
         unset($fields['billing_state']);
         unset($fields['billing_country']);
         unset($fields['billing_company']);
         unset($fields['billing_address_1']);
         unset($fields['billing_address_2']);
         unset($fields['billing_postcode']);
         unset($fields['billing_city']);
         return $fields;
       }
       function custom_override_shipping_fields( $fields ) {
         unset($fields['shipping_state']);
         unset($fields['shipping_country']);
         unset($fields['shipping_company']);
         unset($fields['shipping_address_1']);
         unset($fields['shipping_address_2']);
         unset($fields['shipping_postcode']);
         unset($fields['shipping_city']);
         return $fields;
       }
       /* End - Remove Woocommerce User Fields */
   
       /* Make Woocommerce Phone Field Not Required  */
       add_filter( 'woocommerce_billing_fields', 'wc_npr_filter_phone', 10, 1 );
       function wc_npr_filter_phone( $address_fields ) {
       	$address_fields['billing_phone']['required'] = false;
       	return $address_fields;
       }
       /* End - Make Woocommerce Phone Field Not Required  */
       ```
   
 * See the final result here: [MyClassiPress.com/](http://myclassipress.com/)
 * Cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Features by WooThemes] shortcodes don't render within features](https://wordpress.org/support/topic/shortcodes-dont-render-within-features/)
 *  [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/shortcodes-dont-render-within-features/#post-3541887)
 * Same problem here, using Appply theme from WooThemes. Is there a solution?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] CSS and tabs messed up since update](https://wordpress.org/support/topic/css-and-tabs-messed-up-since-update/)
 *  [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/css-and-tabs-messed-up-since-update/page/2/#post-3528277)
 * Same problem here! Single product page is messed up after upgrading WooCommerce
   to 2.0.1
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [php code for latest posts](https://wordpress.org/support/topic/php-code-for-latest-posts/)
 *  Thread Starter [Rolf Hassel](https://wordpress.org/support/users/samwan/)
 * (@samwan)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/php-code-for-latest-posts/#post-2673891)
 * Thank you very much! That was **exactly** what i was looking for!

Viewing 7 replies - 1 through 7 (of 7 total)