macOS Forbidden 403, You don’t have permission to access /~username/ on this server
…sudo nano /etc/apache2/httpd.conf Find: User _www Group _www Change to: User usershortname Group staff Just change it to your short username and group, group will be staff and restart…
Read MoreHide WordPress Admin Toolbar Based On User Role
…to remover users then don’t show the tool bar. A list of roles and user capabilities is found here. To be more specific on what user roles can see the…
Read MoreChange, Edit & Rename WooCommerce Endpoints in My Accounts Page
…from the “MY ACCOUNT” page? I want to merge Woocommerce Membership information to improve the user experience. I have seen that it is possible between tabs that come by default…
Read MoreUsing Slick Responsive Navigation Mobile Menus on Genesis Child Theme
…the “Slicknav Mobile Menu Name” field. What am I doing wrong? The site is www.tacknrider.com Neil Gee Hi – you may have to use latest version of the theme where…
Read MoreSetting up a WordPress VVV2 Vagrant Workflow
…very active – if you prefer you can also use the master branch. So install develop git clone -b develop git://github.com/Varying-Vagrant-Vagrants/VVV.git localdev or master… git clone -b master git://github.com/Varying-Vagrant-Vagrants/VVV.git localdev…
Read MoreEnable the root user in macOS Monterey and earlier macOS versions
…the Edit menu and select Enable root user, then finally set a password for the root user. Enable the Root user and add a password That’s it the root user is now enabled….
Read MoreAdd a Manual Warm Up Cache / Cache Crawler to LiteSpeed Cache
…pre-warming the pages which involves a spider indexing a sitemap and generating cache copies of the pages so first-time users as well as subsequent visitors experience the same fast page…
Read MoreStop WooCommerce checkout fields auto-filling – leave blank
…behalf of multiple customers. add_filter( ‘woocommerce_checkout_get_value’,’prefix_return_empty_checkout’, 1, 1 ); function prefix_return_empty_checkout(){ $user = wp_get_current_user(); //The user has the “shop_manager” role if ( in_array( ‘shop_manager’, (array) $user->roles ) ) { return…
Read MoreAdd WordPress Admin Account to Database wp_users Table
…Code INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) VALUES (‘admin’, MD5(‘password’), ‘firstname lastname’, ‘user@domain.com‘, ‘0’); INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), ‘wp_capabilities’,…
Read MoreHow to make both City and Postcode fields required in WooCommerce Shipping Calculator
Both the City and Postcode/ZIP fields in the WooCommerce Shipping Calculator are not compulsory for the user to fill in, you may need them mandatory for a better user experience…
Read More