How to create a website using WordPress/How to use plugins/No-code construction blog

How to create a matching homepage using WordPress! Plugin [HivePress] How to hide the address input field when making a WooCommerce payment
At HanamiWEB Online School,
●Ask questions in real-time in the virtual study room!
●Ask as many questions as you want via chat!
●E-learning materials that you can learn as much as you want, 24 hours a day!
All included for just 2,500 yen/month!
We explain HivePress, which allows you to create a matching site for services that are intangible products.
To generate payments, we added the paid extension MarketPlace and the free extension WooCommerce.
Here's how to solve this.
Install the Code Snippts plugin
- Plugin
- New additions
- Enter [Code Snippets] in the keywords
- Install now
- activation
To do.

Add code
The Code Snippets plugin is a great plugin that will safely add code to your function.php.
Click Add New and enter the following code:

add_filter( 'woocommerce_checkout_fields' , 'bbloomer_simplify_checkout_virtual' ); function bbloomer_simplify_checkout_virtual( $fields ) { $only_virtual = true; foreach( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { // Check if there are non-virtual products if ( ! $cart_item['data']->is_virtual() ) $only_virtual = false; } if( $only_virtual ) { unset($fields['billing']['billing_company']); unset($fields['billing']['billing_address_1']); unset($fields['billing']['billing_address_2']); unset($fields['billing']['billing_city']); unset($fields['billing']['billing_postcode']); unset($fields['billing']['billing_country']); unset($fields['billing']['billing_state']); unset($fields['billing']['billing_phone']); add_filter( 'woocommerce_enable_order_notes_field', '__return_false' ); } return $fields; }
Actually, I enter it like this:

After purchase, you will need to enter
- Surname
- given name
- Email address
And it's that simple!

We are available on weekends and holidays!
Please contact us if you have any problems with your website!
- Unable to log in to WordPress
Malware infection?
- The homepage suddenly stopped displaying!
- A PHP error is occurring.
We also offer support on weekends and holidays for those who need assistance.
If you are in a hurry, please call us now at 03-6694-7024.
Latest Articles






