<?php /** * Output Custom CSS to wp_head hook. */ function wpcoupon_theme_custom_header() { $styles = ''; $custom_css = wpcoupon_get_option('site_css'); if ( $custom_css !== '' ) { $styles .= $custom_css; } $css_output = "\n<style id=\"theme_option_custom_css\" type=\"text/css\">\n" . preg_replace( '/\s+/', ' ', $styles ) . "\n</style>\n"; if ( !empty( $custom_css ) ) { echo $css_output; } if ( is_tax('coupon_store') ) { if ( ! wpcoupon_get_option( 'enable_single_coupon' ) ) { if ( get_query_var( 'coupon_id' ) > 0 ) { echo '<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">'; } } $term_id = get_queried_object()->term_id; ?> <!-- <link rel="canonical" href="<?php //echo get_term_link( $term_id ); ?>"> --> <?php } } add_action( 'wp_head', 'wpcoupon_theme_custom_header' ); /** * Output Header Tracking Code to wp_head hook. */ function wpcoupon_theme_header_code() { $site_header_tracking = wpcoupon_get_option('site_header_tracking'); if ( $site_header_tracking !== '' ) echo $site_header_tracking; } add_action( 'wp_head', 'wpcoupon_theme_header_code' ); /** * Output Footer Tracking Code to wp_footer hook. */ function wpcoupon_theme_footer_code() { $site_footer_tracking = wpcoupon_get_option('site_footer_tracking'); if ( $site_footer_tracking !== '' ) echo $site_footer_tracking; } add_action( 'wp_footer', 'wpcoupon_theme_footer_code' ); https://kuponzone.com/ro/post-sitemap1.xml 2026-05-30T14:53:34+03:00 https://kuponzone.com/ro/page-sitemap1.xml 2026-01-01T07:18:16+02:00 https://kuponzone.com/ro/category-sitemap1.xml https://kuponzone.com/ro/coupon_category-sitemap1.xml https://kuponzone.com/ro/coupon_store-sitemap1.xml