Where is get_header(‘shop’) file in Woocommerce templates

I need to modify the get_header(‘shop’) file in Woocommerce but don’t know where it’s located, if someone knows please help me out – thanks!

Related posts

2 comments

  1. get_header( $name ) is a WordPress function, that will try to load the file header-{$name}.php from your theme’s root folder. If this file doesn’t exist, WordPress will load the default header.php file.

  2. get_header() is a WordPress function (not a WooCommerce specific one) and if passed a parameter should load a file named header-<parameter>.php from the theme root (or parent theme root). So there should be a file named header-shop.php in the same directory as header.php or footer.php.

Comments are closed.