', 'affcoupon' ); $expired_text = ( !empty( $expired_text ) ) ? $expired_text : __( 'Expired On: ', 'affcoupon' ); $no_expiry = ( !empty( $no_expiry ) ) ? $no_expiry : __( "Doesn't expire", 'affcoupon' ); $coupon_code = ( ! empty( $coupon_code ) ? $coupon_code : __( 'COUPONCODE', 'affcoupon' ) ); $deal_text = ( ! empty( $deal_text ) ? $deal_text : __( 'Get Deal', 'affcoupon' ) ); $coupon_hover_text = ( ! empty( $coupon_hover_text ) ) ? $coupon_hover_text : __( 'Click To Copy Coupon', 'affcoupon' ); $deal_hover_text = ( !empty( $deal_hover_text ) ) ? $deal_hover_text : __( 'Click Here To Get This Deal', 'affcoupon' ); $wpaf_eight_btn_text = ( !empty( $wpaf_eight_btn_text ) ) ? $wpaf_eight_btn_text : __( 'GET THE DEAL', 'affcoupon' ); $wpaf_template_eight_theme = get_post_meta( $wpaf_coupon_id, 'coupon_details_template-theme-color', true ); $linkTarget = get_option("wpaf_coupon-link-target"); $target = ($linkTarget == "on") ? "_self" : "_blank" ; if ( $wpaf_text_to_show == 'description' ) { $wpaf_custom_text = $description; } else { if ( empty( $wpaf_custom_text ) ) { $wpaf_custom_text = __( "Click on 'Copy' to Copy the Coupon Code.", 'affcoupon' ); } } if( ! $link && WPAF_Amp::wpaf_amp_is() ) $link = "#"; $expireDateFormatFun = wpaf_getExpireDateFormatFun( $expireDateFormat ); if ( ! empty( $expire_date ) && (string)(int)$expire_date == $expire_date ) { $expire_date = gmdate( $expireDateFormatFun, $expire_date ); } elseif ( ! empty( $expire_date ) ) { $expire_date = gmdate( $expireDateFormatFun, strtotime( $expire_date ) ); } wp_enqueue_script( 'wpaf-clipboardjs' ); $template = new WPAF_Template_Loader(); $wpaf_uniq_attr = ''; $wpaf_uniq_attr_data = ''; if( function_exists( 'wpaf_uniq_attr' ) && ! WPAF_Amp::wpaf_amp_is() && ! empty( $show_print_links ) && $show_print_links == 'on' ) { $wpaf_uniq_attr = wpaf_uniq_attr( 10 ); $wpaf_uniq_attr_data = 'data-unic-attr="' . $wpaf_uniq_attr . '"'; } ?>
>
< class="wpaf-title"> > < class="wpaf-title"> >
get_template_part('social-share'); } $template->get_template_part('vote-system'); ?>
get_template_part( 'hide-coupon' ); } else { ?>
" href="" target="">
= strtotime( $today ) ) { ?>
= strtotime( $today ) ) { ?>