/** * Astra Child Theme functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Astra Child * @since 1.0.0 */ /** * Define Constants */ define( 'CHILD_THEME_ASTRA_CHILD_VERSION', '1.0.0' ); /** * Enqueue styles */ function child_enqueue_styles() { wp_enqueue_style( 'astra-child-theme-css', get_stylesheet_directory_uri() . '/style.css', array('astra-theme-css'), CHILD_THEME_ASTRA_CHILD_VERSION, 'all' ); } add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 ); /** * Add custom text to the WooCommerce shop page footer */ add_action( 'woocommerce_after_main_content', 'add_text_to_shop_page' ); function add_text_to_shop_page() { if ( is_shop() ) { echo '
'; } } /** * Add Rainwear Details to a WooCommerce page (for example after the main content) */ add_action('woocommerce_after_main_content', 'add_rainwear_details'); function add_rainwear_details() { if ( is_shop() ) { echo 'Whether you\'re battling a brewing storm in Cape Town or a blustery day in Johannesburg, our Protective Workwear has got you covered. This rainwear is an essential armour against water, wind, and cold, ensuring productivity isn\'t hampered by Mother Nature\'s whims. Stay on task and protect your health and comfort no matter the weather.
Our rainwear excels with its superior Waterproof Material that keeps the rain out while maintaining breathability—so you won\'t feel clammy or overheated. Beyond just waterproofing, the fabric is wind-resistant, offering an extra layer of protection against the relentless South African gales. Designed for durability, this gear is built to withstand the toughest conditions, ensuring you get exceptional longevity and performance.
Quality rainwear is about more than just keeping dry—it\'s about ensuring that workers remain comfortable and efficient, whatever the weather throws their way. Invest in our Waterproof Jacket and experience the blend of practicality and resilience that will keep you dry and on the move.
Price (excl. VAT): ' . $formatted_price_excl_vat . '
'; echo 'Price (incl. VAT): ' . $formatted_price_incl_vat . '
'; echo 'Price (excl. VAT): ' . $formatted_price_excl_vat . '
'; echo 'Price (incl. VAT): ' . $formatted_price_incl_vat . '
'; echo '