Adding more fields to the registration form

Am using Jupiter theme. https://demos.artbees.net/jupiter/labrandeus/ The registration has by default username and password fields. The view for it is defined as below: <?php if (get_option(‘users_can_register’)) {?> <div id= »mk-register-panel »> <div class= »mk-login-title »><?php _e(« Create Account », ‘mk_framework’);?></div> <form id= »register_form » name= »login_form » method= »post » class= »mk-form-regsiter » action= »<?php echo site_url(‘wp-login.php?action=register’, ‘login_post’)?> »> <span class= »form-section »> <label for= »log »><?php _e(‘Username’, ‘mk_framework’);?></label> <input type= »text » id= »reg-username » name= »user_login » class= »text-input »> </span> <span class= »form-section »> <label for= »user_email »><?php _e(‘Your email’, ‘mk_framework’);?></label> <input type= »text » id= »reg-email » name= »user_email » class= »text-input »> </span> <span class= »form-section »> <input type= »submit » id= »signup » name= »submit » class= »accent-bg-color button » value= »<?php _e(« Create Account », ‘mk_framework’);?> »> </span> <?php do_action(‘register_form’);?> <input type= »hidden » name= »user-cookie » value= »1″ /> <input type= »hidden » name= »redirect_to »…

How to Fix WordPress Not Saving Settings?

How Can I Manually Fix & What is The Root Cause? The Site Language setting in Settings > General for my site, will not update. It is stuck on English (United States). I have done all the usually debugging procedures, such as disabling all my plugins etc, reinstalling WordPress etc. But the issue remains. Q: What is the best way to manually fix this, and what is the root cause of the issue likely to be? Source: https://wordpress.stackexchange.com/feeds

wp_insert_user always tries the same user name

The page name with my form is « Register », which means the slug is « register ». That is the first piece of info that is tied to my theory about my error. When I run wp_insert_user I get a success the first time, but the user name is « register ». So subsequent submissions try to create the user « register », so it errors out with a « User with that user name exists » error. I’ve checked my data over and over again to verify that I’m not submitting a form with the user name « register »,…

WooCommerce CSV Image URL Creates Additional Images in Media Folder

I upload all images through the Media Library Drag and Drop Uploader with no problems. Every time I use a CSV file with several thousand products, I enter the image url for each product, which is located in the Media Library. Example: /wp-content/uploads/2018/08/oa901-essence-1oz.jpg As a result, the product page uses the image with the added -1 instead of the original or even a thumbnail of the original. Then when I download all of the products, the image url has the added -1 to the end of the image file name.…

Social sharing is not working as expected

I tested posting a blog post to Facebook it shows a too large pic of the header title design you made for the home page not blog image. It doesn’t show the feature photo from that blog post. Also, when I share a blog post link via text, it doesn’t show a thumbnail photo of that blog post’s feature photo, just words. When I post to Twitter, it only shows the URL, no photo. In Instagram it open account but no sharing functionality. Here is my code. <a href= »http://www.facebook.com/sharer.php?u=<?php echo…

Conditionally hide or show woocommerce product variation in fontend by custom field

I have added a custom field (checkbox) to product variations with the following code: /** * Create new fields for variations * */ function variation_settings_fields( $loop, $variation_data, $variation ) { woocommerce_wp_checkbox( array( ‘id’ => ‘_wholesale_checkbox[‘ . $variation->ID . ‘]’, ‘label’ => ‘Visa endast för företagskunder’, ‘description’ =>  », ‘value’ => get_post_meta( $variation->ID, ‘_wholesale_checkbox’, true ), ) ); } /** * Save new fields for variations * */ function save_variation_settings_fields( $post_id ) { // Checkbox $checkbox = isset( $_POST[‘_wholesale_checkbox’][ $post_id ] ) ? ‘yes’ : ‘no’; update_post_meta( $post_id, ‘_wholesale_checkbox’, $checkbox );…

How do I add JS and CSS to WP (Flatsome)

I have a codepen that I would like to import into my WP setup. It is an expanding column layout, which includes custom CSS and JS. Link here: https://codepen.io/thedonquixotic/pen/WGYXyd Now, I have tried a few different ways, latest being that I used the plugin WP Coder: https://wordpress.org/plugins/wp-coder/ I followed instructions, whish is to upload the JS and CSS file through admin panel, and then using the plugin to include the uploaded files, as well as uploaded the html. When I call the div id as per instructions, absolutely nothing happens.…

WordPress content shows this character ​​

In my website this characters ​​ showing up on everywhere in blog content and title, after many hours of searching and googling cant find any useful answer i tried this meta but no luck header(« Content-Type: text/html; charset=ISO-8859-1″); <meta http-equiv= »Content-Type » content= »text/html; charset=iso-8859-1″> Is there any way to rid-off this ​​ And many other characters: ‘ â � Also tried Plugin search and replace but the character is not searchable. Source: https://wordpress.stackexchange.com/feeds

10 Years of Legal Nomads: Favourite Posts from A Decade of Nomadic Living

My initial plan for a 10-year anniversary celebration was a big party in my then-home of Oaxaca. When it became apparent that my food-filled bash would be impossible, I thought I would share the writing and photography that brought me the most joy over the years. Today marks one year from the spinal tap that changed my life. In what was easily the toughest year I’ve had, it feels right to share this long retrospective on my tapaversary. I smiled a lot and I cried a lot as I rounded…