title: How to change the position of star ratings on a single product page in woocommerce?
body: <p>I am currently working on moving the star rating from underneath add to cart button to below the single product title position. </p>
  
  <p><a href="https://i.stack.imgur.com/eqAbd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eqAbd.png" alt="Original pic"></a>. </p>
  
  <p>For that, I am using hooks in my child theme's function.php file:</p>
  
  <pre><code>remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
  
  add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 6 );
  </code></pre>
  
  <p>But I get the strange result, look at it yourself</p>
  
  <p><a href="https://i.stack.imgur.com/ebbOZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ebbOZ.png" alt="Result"></a></p>
  
  <p>Good news is that I have the second rating, but why is the remove_action not removing the original star rating? As you can see, now I have two duplicate star ratings.</p>
  
  <p>Here is the link to the website <a href="http://dev.studiopence.com/glenwood/product/15-piece-signature-truffle-collection/" rel="nofollow noreferrer">>>></a></p>