Override template files

You are here:
Estimated reading time: < 1 min

Rey Core template files

Copy files from /wp-content/plugins/rey-core/template-parts/**/* to /wp-content/themes/rey-child/template-parts/**/* .

For example /wp-content/plugins/rey-core/template-parts/woocommerce/header-shopping-cart-panel.php to /wp-content/themes/rey-child/template-parts/woocommerce/header-shopping-cart-panel.php .

Rey Theme template files

Copy files from /wp-content/themes/rey/template-parts/**/* to /wp-content/themes/rey-child/template-parts/**/* .

For example /wp-content/themes/rey/template-parts/header/logo.php to /wp-content/themes/rey-child/template-parts/header/logo.php .

WooCommerce template files

Copy files from /wp-content/plugins/woocommerce/templates/**/* to /wp-content/themes/rey-child/woocommerce/**/* (without the “templates” folder).

For example wp-content/plugins/woocommerce/templates/single-product/price.php into wp-content/themes/rey-child/woocommerce/single-product/price.php .

Was this article helpful?
Dislike 0
Views: 106

Join the conversation