This file contains 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: Customify | |
Theme URI: https://pressmaximum.com/customify | |
Author: WPCustomify | |
Author URI: https://pressmaximum.com | |
Description: Customify is fast, lightweight, responsive and super flexible multipurpose theme built with SEO, speed, and usability in mind. Unleash the power of your imagination with a true WYSIWYG Header & Footer builder (inside the WordPress Customizer) built exclusively for this theme. The theme works great with any of your favorite page builder likes Elementor, Beaver Builder, SiteOrigin, Thrive Architect, Divi, Visual Composer, etc. Combined with the Header & Footer builder, you can build any type of websites like shop, business agencies, corporate, portfolio, education, university portal, consulting, church, restaurant, medical and so on. Customify is compatible with all well-coded plugins, including major ones like WooCommerce, OrbitFox, Yoast, BuddyPress, bbPress, etc. Learn more about the theme and ready to import demo sites at https://pressmaximum.com/customify | |
Versi |
This file contains 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 | |
/** | |
* The header for our theme. | |
* | |
* This is the template that displays all of the <head> section and everything up until <div id="content"> | |
* | |
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials | |
* | |
* @package Cassions | |
*/ |
This file contains 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' ); | |
$args = array( |
This file contains 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 { |
This file contains 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 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 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 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 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 |
NewerOlder