Skip to content

eli5wp

  • code snippets

woo product title above image

June 14, 2021 by emily sparkle
// woo - product title above image
function product_change_title_position() {
	remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
	add_action( 'woocommerce_before_single_product', 'woocommerce_template_single_title', 5 );
}
add_action( 'init', 'product_change_title_position' );
Categories code snippets, woocommerce
woo place description after short description
woo autocomplete virtual orders

categories

  • code snippets (61)
    • admin (8)
    • child theme (1)
    • css (9)
    • elementor (2)
    • generatepress (11)
    • htaccess (4)
    • woocommerce (18)
    • wordpress (15)
    • wp cli (1)
  • links (4)

topics

admin email buttered_toast cache chrome only comments exclude flip card font awesome google analytics google fonts hacky js optimization posts reset responsive shortcode text wp-show-posts

recent

  • masonry for wordpress gallery
  • elementor flip card for masonry
  • gp control footer widths
  • woo add to cart – display price in button with text according to category
  • wp cli for hacked sites
© 2025 ❈ website by fontaholic.biz ❈ maintained by wpbabysitter.com