Change WooCommerce registration form/way?

I’ve been trying out the same code snippet from Cloudways as well. If you don’t use the snippet in functions.php, but instead create a copy of the woocommerce file form-login.php in your child theme’s folder/woocommerce/myaccount. Then the fields from the Couldways snippet can be used before the line containing: <?php do_action( ‘woocommerce_after_checkout_billing_form’, $checkout ); ?>

Link Back to Parent Category – Woocommerce

get_ancestors() seems like the function you need. If given an ID and object type, it will return an array of ancestor IDs with the first being the most distant parent/grandparent/great-grandparent/etc and the last being the immediate parent. You can use that information to construct your link. function parent_id_wpse_142550($object_id,$type) { $anc = get_ancestors($object_id,$type); $parent = array_shift($anc); … Read more

How to get price of my products show in snippet on google?

What you’re after is called Rich Snippits which is structured data on your web page that tells Google specific information about your products. See https://developers.google.com/structured-data/rich-snippets/products A plugin like http://authorhreview.com/plugins/wp-rich-snippets/ might be what you’re looking for or you could modify your theme to add the right markup to make rich snippits work.