This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function(t){var e,s,a,i,c,o=t(document),r=t("#masthead"),d=0;function n(){if(s=e.height(),t("#page-cover").css("padding-top",""),t("body").hasClass("is-header-transparent")){var a=t("#page-cover").css("padding-top");a=parseInt(a),(isNaN(a)||a<=0)&&t("#page-cover").css("padding-top",s)}else t("#page-cover").css("padding-top","")}function h(){n(),r.removeAttr("style"),r.css("min-height","auto"),r.length?(s=r.height(),r.css({"min-height":s,display:"block"}),a=r.offset()):a={top:0,left:0},n();var i=0;t("#wpadminbar").length&&(i=t("#wpadminbar").height()),e.css("top",i)}e=t("#masthead-inner"),r=t("#masthead"),n(),h();var y=function(o){void 0===o&&(o=t(window).scrollTop()),"object"!=typeof a&&(a={top:0,left:0});var d=a.top+s+100;if(o>0){var n=0;t("#wpadminbar").length&&(n=t("#wpadminbar").height(),"absolute"==t("#wpadminbar").css("position")&&(n=0)),r.removeClass("sticky-hiding"),r.addClass("sticky"),e.css("top",n),c&&(clearTimeout(c),c=!1),r.hasClass("sticky-active")||i||(t(".header--sticky",r).each(functio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: WP Coupon | |
Adding support for language written in a Right To Left (RTL) direction is easy - | |
it's just a matter of overwriting all the horizontal positioning attributes | |
of your CSS stylesheet in a separate stylesheet file named rtl.css. | |
http://codex.wordpress.org/Right_to_Left_Language_Support | |
*/ | |
.store-letter-content ul li:before,i.icon.angle.right:before { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict";!function(t,n){var r=/:scope\b/gi;function i(e){var s=t[e];t[e]=function(e){var t=this,n=t.id||"qsid"+(new Date).getTime(),i=!t.id,o=r.test(e);try{return o&&(i&&(t.id=n),e=e.replace(r,"#"+n)),s.call(this,e)}finally{i&&(t.id=null)}}}function o(e){var t=n[e];n[e]=function(e){return t.call(this,e.replace(r,""))}}try{document.querySelector(":scope")}catch(e){i("querySelector"),i("querySelectorAll"),o("querySelector"),o("querySelectorAll")}}(Element.prototype,Document.prototype),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();e.forEach(function(e){var t=e instanceof Node;n.appendChild(t?e:document.createTextNode(String(e)))}),this.appendChild(n)}})}),function(){if("function"==typeof NodeList.prototype.forEach)return;NodeList.prototype.forEach=Array.prototype.forEach} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== Plugin Name === | |
Contributors: famethemes | |
Tags: onepage | |
Requires at least: 4.4.2 | |
Tested up to: 5.8.1 | |
Stable tag: 2.2.8 | |
License: GPLv2 or later | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
The OnePress Plus plugin adds powerful premium features to OnePress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sort by Popularity default in Category coupon page | |
add_action( 'init', function() { | |
remove_action( 'wpcoupon_coupon_category_before_sidebar', 'wpcoupon_coupon_cat_filter_box', 10 ); | |
remove_filter( 'pre_get_posts', 'wpcoupon_coupon_cat_query' ); | |
add_action( 'wpcoupon_coupon_category_before_sidebar', 'custom_wpcoupon_coupon_cat_filter_box', 10 ); | |
add_filter( 'pre_get_posts', 'custom_wpcoupon_coupon_cat_query' ); | |
} ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly. | |
} | |
require WP_COUPON_IE_PATH.'vendor/autoload.php'; | |
use PhpOffice\PhpSpreadsheet\Helper\Sample; | |
use PhpOffice\PhpSpreadsheet\IOFactory; | |
use PhpOffice\PhpSpreadsheet\Spreadsheet; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_screenr_page_header_cover() { | |
if ( is_page_template( 'template-frontpage.php' ) ) { | |
return false; | |
} | |
$image = $title = $desc = ''; | |
if ( is_singular() && ! is_attachment() ) { | |
if ( is_single() ) { | |
$title = esc_html( get_theme_mod( 'page_blog_title', esc_html__( 'The Blog', 'screenr' ) ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function(e){var t=function(t,i){this.$target=e(t);var o=(i=e.extend({},Customify_Pro_JS.wc_product_gallery,i)).enable_slider;i.slider=e.extend({},Customify_Pro_JS.wc_product_gallery.slider,i.slider),i.thumbs=e.extend({},Customify_Pro_JS.wc_product_gallery.thumbs,i.thumbs);var r=e(".woocommerce-product-gallery__wrapper",this.$target),c=".woocommerce-product-gallery__image",n=e(c,r);n.length||(n=e(c=".wc-gallery-item",r));var a=r.clone(),l=i.show_thumbs;if(n.length<=1&&(l=!1),o){var s=i.vertical;l&&(a.removeClass("woocommerce-product-gallery__wrapper").addClass("wc-nav-thumbs"),e(".woocommerce-product-gallery__image img",a).unwrap(),a.insertAfter(r),s&&this.$target.addClass("wc-gallery-vertical")),s||this.$target.addClass("wc-gallery-horizontal")}var u=function(t){if(!i.enable_zoom)return!1;var o=r.width(),c=!1;e(t).each(function(t,i){if(e(i).find("img").data("large_image_width")>o)return c=!0,!1}),c&&(zoom_options={touch:!1},"ontouchstart"in document.documentElement&&(zoom_options.on="cl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_onepress_display_page_title() { | |
if ( get_theme_mod( 'onepress_page_title_bar_disable' ) == 1 ) { | |
return; | |
} | |
$return = false; | |
if ( is_home() ) { | |
$page_id = get_option( 'page_for_posts' ); | |
} else { |