<?php /** * Loop Price * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } global $product; ?> <?php if ($price_html = $product->get_price_html()) { ?> <div class="price-box"> <span class="price"><?php echo edo_get_html($price_html); ?> </span> </div> <?php }
dynamic_sidebar('footer-menu-6'); } ?> </div> </div> </div> </div> </div> </div> <div class="footer-social"> <div class="container"> <div class="row"> <div class="block-social"> <ul class="list-social"> <?php echo edo_get_html($social_icons); ?> </ul> </div> <div class="block-payment"> <?php $payment_logo = edo_option('kt_payment_logo', ''); if ($payment_logo != "") { ?> <img src="<?php echo esc_url($payment_logo); ?> " alt="<?php esc_attr_e('Payment Logo', 'edo'); ?> " />
protected function content($atts, $content = null) { $atts = function_exists('vc_map_get_attributes') ? vc_map_get_attributes('edo_box_text', $atts) : $atts; $atts = shortcode_atts(array('title' => '', 'text_content' => '', 'box_bg_color' => '#f25f43', 'text_color' => '#fff', 'arow_postion' => 'left', 'el_class' => '', 'css' => ''), $atts); extract($atts); $elementClass = array('base' => apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, ' ', $this->settings['base'], $atts), 'extra' => $this->getExtraClass($el_class), 'shortcode_custom' => vc_shortcode_custom_css_class($css, ' ')); $elementClass = preg_replace(array('/\\s+/', '/^\\s|\\s$/'), array(' ', ''), implode(' ', $elementClass)); $box_css = array(); $box_css[] = 'background:' . $box_bg_color . ';'; $box_css[] = 'color:' . $text_color . ';'; $text_color_rgb = edo_hex2rgb($text_color); $box_content_css = array(); $box_content_css[] = 'border-color:rgba(' . $text_color_rgb['red'] . ',' . $text_color_rgb['green'] . ',' . $text_color_rgb['blue'] . ',0.3);'; $arow_css = array(); if ($arow_postion == 'left') { $arow_css[] = 'border-right-color:' . $box_bg_color . ';'; } if ($arow_postion == 'right') { $arow_css[] = 'border-left-color:' . $box_bg_color . ';'; } if ($arow_postion == 'bottom') { $arow_css[] = 'border-top-color:' . $box_bg_color . ';'; } if ($arow_postion == 'top') { $arow_css[] = 'border-bottom-color:' . $box_bg_color . ';'; } ob_start(); ?> <div class="edo-box-text <?php echo esc_attr($arow_postion); ?> <?php echo esc_attr($elementClass); ?> " style="<?php echo implode(' ', $box_css); ?> "> <div class="box-content text-center" style="<?php echo implode(' ', $box_content_css); ?> "> <h2 class="title"><?php echo esc_html($title); ?> </h2> <div class="content"><?php echo edo_get_html($text_content); ?> </div> <span class="icon fa fa-arrow-circle-right"></span> </div> <span style="<?php echo implode(' ', $arow_css); ?> " class="arow"></span> </div> <?php return ob_get_clean(); }
echo esc_attr($product_id); ?> "> <?php echo esc_attr($product->is_visible()) ? '<a href="' . esc_url(apply_filters('woocommerce_grouped_product_list_link', get_permalink(), $product_id)) . '">' . esc_html(get_the_title()) . '</a>' : esc_html(get_the_title()); ?> </label> </td> <?php do_action('woocommerce_grouped_product_list_before_price', $product); ?> <td class="price"> <?php echo edo_get_html($product->get_price_html()); if ($availability = $product->get_availability()) { $availability_html = empty($availability['availability']) ? '' : '<p class="stock ' . esc_attr($availability['class']) . '">' . esc_html($availability['availability']) . '</p>'; echo apply_filters('woocommerce_stock_html', $availability_html, $availability['availability'], $product); } ?> </td> </tr> <?php } // Reset to parent grouped product $post = $parent_product_post; $product = wc_get_product($parent_product_post->ID); setup_postdata($parent_product_post); ?> </tbody>
/** * Menu Fallback * ============= * If this function is assigned to the wp_nav_menu's fallback_cb variable * and a manu has not been assigned to the theme location in the WordPress * menu manager the function with display nothing to a non-logged in user, * and will add a link to the WordPress menu manager if logged in as an admin. * * @param array $args passed from the wp_nav_menu function. * */ public static function fallback($args) { if (current_user_can('manage_options')) { extract($args); $fb_output = null; if ($container) { $fb_output = '<' . $container; if ($container_id) { $fb_output .= ' id="' . $container_id . '"'; } if ($container_class) { $fb_output .= ' class="' . $container_class . '"'; } $fb_output .= '>'; } $fb_output .= '<ul'; if ($menu_id) { $fb_output .= ' id="' . $menu_id . '"'; } if ($menu_class) { $fb_output .= ' class="' . $menu_class . '"'; } $fb_output .= '>'; $fb_output .= '<li><a href="' . admin_url('nav-menus.php') . '">Add a menu</a></li>'; $fb_output .= '</ul>'; if ($container) { $fb_output .= '</' . $container . '>'; } echo edo_get_html($fb_output); } }
protected function content($atts, $content = null) { $atts = function_exists('vc_map_get_attributes') ? vc_map_get_attributes('edo_icon', $atts) : $atts; $atts = shortcode_atts(array('title' => '', 'icon_class' => 'fa-truck', 'style' => '', 'subtitle' => '', 'align' => 'left', 'el_class' => '', 'css' => ''), $atts); extract($atts); $style_class = 'style' . $style; $elementClass = array('base' => apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $style_class, $this->settings['base'], $atts), 'extra' => $this->getExtraClass($el_class), 'shortcode_custom' => vc_shortcode_custom_css_class($css, ' ')); $elementClass = preg_replace(array('/\\s+/', '/^\\s|\\s$/'), array(' ', ''), implode(' ', $elementClass)); ob_start(); ?> <?php if ($style == 1) { ?> <div class="edo_icon <?php echo esc_attr($elementClass); ?> "> <span class="icon"><i class="fa <?php echo esc_attr($icon_class); ?> "></i></span> <div class="icon-info"> <h4 class="title"><?php echo edo_get_html($title); ?> </h4> </div> </div> <?php } ?> <?php if ($style == 2) { ?> <div class="edo_icon <?php echo esc_attr($align); ?> <?php echo esc_attr($elementClass); ?> "> <span class="icon"><i class="fa <?php echo esc_attr($icon_class); ?> "></i></span> <div class="icon-info"> <h4 class="title"><?php echo edo_get_html($title); ?> </h4> <div class="subtitle"> <?php echo edo_get_html($subtitle); ?> </div> </div> </div> <?php } ?> <?php return ob_get_clean(); }
<?php /** * Additional Information tab * * @author WooThemes * @package WooCommerce/Templates * @version 2.0.0 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } global $product; $heading = apply_filters('woocommerce_product_additional_information_heading', esc_attr__('Additional Information', 'woocommerce')); ?> <?php if ($heading) { ?> <h2><?php echo edo_get_html($heading); ?> </h2> <?php } ?> <?php $product->list_attributes();