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 | |
/** | |
* @package Import demo | |
* @version 1.0 [<description>] | |
* | |
*/ | |
/** Display verbose errors */ | |
// define( 'IMPORT_DEBUG', false ); |
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 noo_emigo_minicart_mobile() | |
{ | |
if (!noo_emigo_get_option('noo_header_nav_icon_cart', true)) { | |
return ''; | |
} | |
global $woocommerce; | |
$cart_output = ""; | |
$cart_total = $woocommerce->cart->get_cart_total(); |
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
[block id="slider-homepage-slides-video"] | |
[block id="banner-row-3-column-zoom-effect"] | |
[title text="Sản phẩm nổi bật" style="center"] | |
[ux_featured_products products="12" columns="4" show="featured" type="normal"] | |
[title text="Danh mục sản phẩm" style="center"] |
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 | |
/* | |
Plugin Name: TopxTheme.Com Change Theme Path | |
Plugin URI: http://topxtheme.com/ | |
Description: This Plugin help redirect the theme folder to another folder, making it's possible for a theme to work on sub site. | |
Author: TopxTheme.Com | |
Version: 1.0.0 | |
Author URI: http://topxtheme.com | |
*/ |
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 ( class_exists( 'woocommerce' ) ) { | |
// Remove each style one by one | |
add_filter( 'woocommerce_enqueue_styles', 'noo_organici_dequeue_styles' ); | |
function noo_organici_dequeue_styles( $enqueue_styles ) { | |
unset( $enqueue_styles['woocommerce-smallscreen'] ); // Remove the smallscreen optimisation | |
return $enqueue_styles; | |
} |
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(!function_exists('noo_shortcode_countdown')){ | |
function noo_shortcode_countdown($attrs){ | |
extract(shortcode_atts(array( | |
'date' => '', | |
'title' => '', | |
'description' => '', | |
'button_name' => '', |
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 | |
/** | |
* Utilities Functions for NOO Framework. | |
* This file contains various functions for getting and preparing data. | |
* | |
* @package NOO Framework | |
* @version 1.0.0 | |
* @author Kan Nguyen <[email protected]> | |
* @copyright Copyright (c) 2014, NooTheme | |
* @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later |
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 | |
global $wpdb; | |
$first_char = esc_attr($_GET[$search_key]); | |
$postids = $wpdb->get_col($wpdb->prepare(" | |
SELECT ID | |
FROM $wpdb->posts | |
WHERE SUBSTR($wpdb->posts.post_title,1,1) = %s | |
AND $wpdb->posts.post_type = 'product' |
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 | |
$search = noo_umbra_get_option('noo_header_nav_icon_search', true) ; | |
$wishlist = noo_umbra_get_option('noo_header_nav_icon_wishlist', true) ; | |
$cart = noo_umbra_get_option('noo_header_nav_icon_cart', true) ; | |
//--------------------------------------------------------------------- | |
$topbar = noo_umbra_get_option('noo_header_topbar', true) ; | |
$mail = noo_umbra_get_option('noo_header_topbar_mail', '') ; | |
$phone = noo_umbra_get_option('noo_header_topbar_phone', '') ; | |
$top_wishlist = noo_umbra_get_option('noo_header_topbar_wishlist', true) ; |
OlderNewer