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 ot_popup_form() | |
{ | |
if (is_singular('product')): | |
?> | |
<div id="dathang" class="lightbox-by-id lightbox-content mfp-hide lightbox-white" style="padding: 20px;"> | |
<div class="row"> | |
<div class="col medium-6"> | |
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium animi autem cumque eum iste |
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 | |
/* | |
Template Name: Lookbook | |
*/ | |
?> | |
<?php | |
global $woocommerce; | |
$no_padding = dh_get_post_meta('no_padding'); | |
/** | |
* script |
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 | |
/** | |
* The Template for displaying product archives, including the main shop page which is a post type archive. | |
* | |
* Override this template by copying it to yourtheme/woocommerce/archive-product.php | |
* | |
* @author WooThemes | |
* @package WooCommerce/Templates | |
* @version 2.0.0 | |
*/ |
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
<div class="navbar-wrapper"> | |
<div class="navbar navbar-default" role="navigation"> | |
<div class="noo-container"> | |
<div class="noo-navbar-header"> | |
<?php if( isset($search) && $search == true ): ?> | |
<a class="noo-search" href="#"> | |
<i class="icon_search"></i> | |
<?php echo esc_html__('Search','noo-umbra'); ?> | |
</a> |
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 | |
// Silence is golden. |
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 the current post is protected by a password and the visitor has not yet | |
* entered the password we will return early without loading the comments. | |
*/ | |
if ( post_password_required() ) | |
return; | |
$comment_title = esc_html__( 'Comments', 'noo-umbra' ); |
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) ; |
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 | |
/** | |
* 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 | |
if(!function_exists('noo_shortcode_countdown')){ | |
function noo_shortcode_countdown($attrs){ | |
extract(shortcode_atts(array( | |
'date' => '', | |
'title' => '', | |
'description' => '', | |
'button_name' => '', |