/css/iconfont.css" rel="stylesheet" type="text/css"/> <?php } ?> <?php if (sf_theme_supports('icon-mind-font')) { ?> <link href="<?php echo get_template_directory_uri(); ?> /css/iconmind.css" rel="stylesheet" type="text/css"/> <?php } ?> <?php if (sf_theme_supports('gizmo-icon-font')) { ?> <link href="<?php echo get_template_directory_uri(); ?> /css/ss-gizmo.css" rel="stylesheet" type="text/css"/> <?php } ?> <link href="<?php echo get_template_directory_uri(); ?> /css/font-awesome.min.css" rel="stylesheet" type="text/css"/> <link href="<?php echo $fontello_icons_path;
function sf_page_heading() { global $wp_query, $post, $sf_options; $shop_page = false; $page_title = $page_subtitle = $page_title_style = $page_title_overlay_effect = $fancy_title_image_url = $article_heading_bg = $article_heading_text = $page_heading_el_class = $page_design_style = $extra_styles = $page_title_text_align = ""; $show_page_title = apply_filters('sf_page_heading_ns_pagetitle', 1); $remove_breadcrumbs = apply_filters('sf_page_heading_ns_removebreadcrumbs', 0); $breadcrumb_in_heading = 0; if (isset($sf_options['breadcrumb_in_heading'])) { $breadcrumb_in_heading = $sf_options['breadcrumb_in_heading']; } $page_title_height = 300; $page_title_style = "standard"; $next_icon = apply_filters('sf_next_icon', '<i class="ss-navigateright"></i>'); $prev_icon = apply_filters('sf_prev_icon', '<i class="ss-navigateleft"></i>'); // Shop page check if (function_exists('is_shop') && is_shop() || function_exists('is_product_category') && is_product_category()) { $shop_page = true; } // Defaults $default_show_page_heading = $sf_options['default_show_page_heading']; $pagination_style = "standard"; if (isset($sf_options['pagination_style'])) { $pagination_style = $sf_options['pagination_style']; } // Post meta if ($post && is_singular()) { $show_page_title = sf_get_post_meta($post->ID, 'sf_page_title', true); $remove_breadcrumbs = sf_get_post_meta($post->ID, 'sf_no_breadcrumbs', true); $page_title_style = sf_get_post_meta($post->ID, 'sf_page_title_style', true); $page_title = sf_get_post_meta($post->ID, 'sf_page_title_one', true); $page_subtitle = sf_get_post_meta($post->ID, 'sf_page_subtitle', true); $fancy_title_image = rwmb_meta('sf_page_title_image', 'type=image&size=full'); $page_title_text_style = sf_get_post_meta($post->ID, 'sf_page_title_text_style', true); $page_title_overlay_effect = sf_get_post_meta($post->ID, 'sf_page_title_overlay_effect', true); $page_title_text_align = sf_get_post_meta($post->ID, 'sf_page_title_text_align', true); $page_title_height = sf_get_post_meta($post->ID, 'sf_page_title_height', true); $page_heading_bg = sf_get_post_meta($post->ID, 'sf_page_title_bg_color', true); $page_heading_text = sf_get_post_meta($post->ID, 'sf_page_title_text_color', true); if ($page_heading_bg != "") { $article_heading_bg = 'style="background-color:' . $page_heading_bg . ';border-color:' . $page_heading_bg . ';"'; } if ($page_heading_text != "") { $article_heading_text = 'style="color:' . $page_heading_text . ';"'; } } if (is_singular('post')) { $fw_media_display = sf_get_post_meta($post->ID, 'sf_fw_media_display', true); $page_design_style = sf_get_post_meta($post->ID, 'sf_page_design_style', true); if ($fw_media_display == "fw-media-title") { return; } } // Portfolio category navigation $enable_category_navigation = $sf_options['enable_category_navigation']; // Woo setup if ($shop_page) { $show_page_title = $sf_options['woo_show_page_heading']; $page_title_style = $sf_options['woo_page_heading_style']; $fancy_title_image = $sf_options['woo_page_heading_image']; $page_title_text_style = $sf_options['woo_page_heading_text_style']; if (isset($sf_options['woo_page_heading_text_align'])) { $page_title_text_align = $sf_options['woo_page_heading_text_align']; } if (isset($fancy_title_image) && isset($fancy_title_image['url'])) { $fancy_title_image_url = $fancy_title_image['url']; } if (is_product_category()) { $category = $wp_query->get_queried_object(); $hero_id = get_woocommerce_term_meta($category->term_id, 'hero_id', true); if ($hero_id != "" && $hero_id != 0) { $fancy_title_image_url = wp_get_attachment_url($hero_id, 'full'); } } } if (function_exists('is_product') && is_product()) { $product_layout = sf_get_post_meta($post->ID, 'sf_product_layout', true); if ($product_layout == "fw-split") { return; } } // Page Title if ($show_page_title == "") { $show_page_title = $default_show_page_heading; } if ($page_title == "") { $page_title = get_the_title(); } if ($page_title_height == "") { $page_title_height = apply_filters('sf_shop_fancy_page_height', 300); } // Fancy heading image if (($page_title_style == "fancy" || $page_title_style == "fancy-tabbed") && $fancy_title_image_url == "") { foreach ($fancy_title_image as $detail_image) { if (isset($detail_image['url'])) { $fancy_title_image_url = $detail_image['url']; break; } } if (!$fancy_title_image) { $fancy_title_image = get_post_thumbnail_id(); $fancy_title_image_url = wp_get_attachment_url($fancy_title_image, 'full'); } } // Page Title Hidden if (!$show_page_title) { $page_heading_el_class = "page-heading-hidden"; } // Breadcrumb in heading if ($breadcrumb_in_heading) { $page_heading_el_class .= " page-heading-breadcrumbs"; } if ($page_title_style == "fancy-tabbed") { $page_title_text_align = "left"; } // Return if product & inner heading if (function_exists('is_product') && is_product() && sf_theme_supports('product-inner-heading') && ($page_title_style == "standard" || $page_title_style == "")) { return; } // Dont' allow fancy-tabbed on product pages if (function_exists('is_product') && is_product() && sf_theme_supports('product-inner-heading') && $page_title_style == "fancy-tabbed") { $page_title_style = "fancy"; } if ($page_title_style == "fancy" && sf_theme_opts_name() == "sf_atelier_options" && !(function_exists('is_product') && is_product())) { $extra_styles = 'height: ' . $page_title_height . 'px;'; } if (isset($sf_options['minimal_checkout'])) { if (function_exists('is_checkout') && is_checkout()) { global $woocommerce; if ($sf_options['minimal_checkout']) { ?> <div class="minimal-checkout-return container"><a href="<?php echo esc_url($woocommerce->cart->get_cart_url()); ?> "><?php _e("Return to cart", "swiftframework"); ?> </a></div> <?php } } } if (!is_home()) { ?> <?php if ($page_title_style == "fancy" || $page_title_style == "fancy-tabbed") { ?> <div class="fancy-heading-wrap <?php echo esc_attr($page_title_style); ?> -style"> <?php if ($fancy_title_image_url != "") { $bg_color_title = $bg_opacity_title = ""; if ($post) { $bg_color_title = sf_get_post_meta($post->ID, 'sf_bg_color_title', true); $bg_opacity_title = sf_get_post_meta($post->ID, 'sf_bg_opacity_title', true); } if (!$bg_color_title) { $bg_color_title = "transparent"; $bg_opacity_title = "0"; } ?> <div class="page-heading fancy-heading clearfix <?php echo esc_attr($page_title_text_style); ?> -style fancy-image <?php echo esc_attr($page_heading_el_class); ?> " style="background-image: url(<?php echo esc_url($fancy_title_image_url); ?> );<?php echo $extra_styles; ?> " data-height="<?php echo esc_attr($page_title_height); ?> "> <span class="media-overlay" style="background-color:<?php echo $bg_color_title; ?> ;opacity:<?php echo $bg_opacity_title / 100; ?> ;"></span> <?php } else { ?> <div class="page-heading fancy-heading <?php echo esc_attr($page_heading_el_class); ?> clearfix" data-height="<?php echo esc_attr($page_title_height); ?> " <?php echo $article_heading_bg; ?> > <?php } ?> <?php if ($page_title_style == "fancy" && $page_design_style == "hero-content-split") { sf_post_split_heading_buttons(); } ?> <?php if ($page_title_style == "fancy-tabbed") { ?> <div class="tabbed-heading-wrap"> <?php } ?> <div class="heading-text container" data-textalign="<?php echo esc_attr($page_title_text_align); ?> "> <?php if (sf_woocommerce_activated() && is_woocommerce()) { ?> <?php if (is_product()) { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php echo $page_title; ?> </h1> <?php } else { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php woocommerce_page_title(); ?> </h1> <?php } ?> <?php } else { ?> <h1 class="entry-title"><?php echo $page_title; ?> </h1> <?php } ?> <?php if ($page_subtitle) { ?> <h3><?php echo $page_subtitle; ?> </h3> <?php } ?> <?php if (!$remove_breadcrumbs && $breadcrumb_in_heading) { echo sf_breadcrumbs(true); } ?> <?php if (is_singular('portfolio') && !(sf_theme_opts_name() == "sf_joyn_options" && $pagination_style == "fs-arrow")) { ?> <div class="prev-item" <?php echo $article_heading_text; ?> ><?php next_post_link('%link', $prev_icon, $enable_category_navigation, '', 'portfolio-category'); ?> </div> <div class="next-item" <?php echo $article_heading_text; ?> ><?php previous_post_link('%link', $next_icon, $enable_category_navigation, '', 'portfolio-category'); ?> </div> <?php } ?> <?php if (is_singular('galleries') && !(sf_theme_opts_name() == "sf_joyn_options" && $pagination_style == "fs-arrow")) { ?> <div class="prev-item" <?php echo $article_heading_text; ?> ><?php next_post_link('%link', $prev_icon, false, '', 'gallery-category'); ?> </div> <div class="next-item" <?php echo $article_heading_text; ?> ><?php previous_post_link('%link', $next_icon, false, '', 'gallery-category'); ?> </div> <?php } ?> </div> <?php if ($page_title_style == "fancy-tabbed") { ?> </div> <?php } ?> <?php if ($page_title_overlay_effect != "" && $page_title_overlay_effect != "none") { ?> <div class="sf-canvas-effect" data-type="<?php echo esc_attr($page_title_overlay_effect); ?> "> <canvas id="page-heading-canvas" data-canvas_id="page-heading-canvas"></canvas> </div> <?php } ?> </div> </div> <?php } else { ?> <?php if ($show_page_title == 2) { ?> <div class="page-heading ph-sort clearfix" <?php echo $article_heading_bg; ?> > <?php } else { ?> <div class="page-heading <?php echo esc_attr($page_heading_el_class); ?> clearfix" <?php echo $article_heading_bg; ?> > <?php } ?> <div class="container"> <div class="heading-text"> <?php if (sf_woocommerce_activated() && is_woocommerce()) { ?> <?php if (is_product()) { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php echo $page_title; ?> </h1> <?php } else { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php woocommerce_page_title(); ?> </h1> <?php } ?> <?php } else { if (is_search()) { ?> <?php $s = get_search_query(); $allsearch = new WP_Query("s={$s}&showposts=-1"); $key = esc_html($s, 1); $count = $allsearch->post_count; wp_reset_query(); ?> <?php if ($count == 1) { ?> <?php printf(__('<h1>%1$s result for <span>%2$s</span></h1>', 'swiftframework'), $count, get_search_query()); ?> <?php } else { ?> <?php printf(__('<h1>%1$s results for <span>%2$s</span></h1>', 'swiftframework'), $count, get_search_query()); ?> <?php } ?> <?php } else { if (is_category()) { ?> <h1 <?php echo $article_heading_text; ?> ><?php single_cat_title(); ?> </h1> <?php } else { if (is_archive()) { ?> <?php /* If this is a tag archive */ if (is_tag()) { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Posts tagged with", "swiftframework"); ?> ‘<?php single_tag_title(); ?> ’</h1> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Archive for", "swiftframework"); ?> <?php the_time('F jS, Y'); ?> </h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Archive for", "swiftframework"); ?> <?php the_time('F, Y'); ?> </h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Archive for", "swiftframework"); ?> <?php the_time('Y'); ?> </h1> <?php /* If this is an author archive */ } elseif (is_author()) { ?> <?php $author = get_userdata(get_query_var('author')); ?> <?php if (class_exists('ATCF_Campaigns')) { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Projects by", "swiftframework"); ?> <?php echo esc_attr($author->display_name); ?> </h1> <?php } else { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Author archive for", "swiftframework"); ?> <?php echo esc_attr($author->display_name); ?> </h1> <?php } ?> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1 <?php echo $article_heading_text; ?> ><?php _e("Blog Archives", "swiftframework"); ?> </h1> <?php } else { ?> <h1 <?php echo $article_heading_text; ?> ><?php post_type_archive_title(); ?> </h1> <?php } ?> <?php } else { if (is_404()) { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php _e("404", "swiftframework"); ?> </h1> <?php } else { if (is_home() && get_option('page_for_posts')) { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php echo apply_filters('the_title', get_page(get_option('page_for_posts'))->post_title); ?> </h1> <?php } else { ?> <h1 class="entry-title" <?php echo $article_heading_text; ?> ><?php echo $page_title; ?> </h1> <?php } } } } } } ?> </div> <?php if (is_singular('portfolio') && !(sf_theme_opts_name() == "sf_joyn_options" && $pagination_style == "fs-arrow")) { ?> <div class="next-item" <?php echo $article_heading_text; ?> ><?php previous_post_link('%link', $next_icon, $enable_category_navigation, '', 'portfolio-category'); ?> </div> <div class="prev-item" <?php echo $article_heading_text; ?> ><?php next_post_link('%link', $prev_icon, $enable_category_navigation, '', 'portfolio-category'); ?> </div> <?php } ?> <?php if (is_singular('galleries') && !(sf_theme_opts_name() == "sf_joyn_options" && $pagination_style == "fs-arrow")) { ?> <div class="next-item" <?php echo $article_heading_text; ?> ><?php previous_post_link('%link', $next_icon, false, '', 'gallery-category'); ?> </div> <div class="prev-item" <?php echo $article_heading_text; ?> ><?php next_post_link('%link', $prev_icon, false, '', 'gallery-category'); ?> </div> <?php } ?> <?php if (!$remove_breadcrumbs && $breadcrumb_in_heading) { echo sf_breadcrumbs(true); } ?> <?php if ($shop_page && sf_theme_supports('page-heading-woocommerce')) { woocommerce_catalog_ordering(); woocommerce_result_count(); } ?> </div> </div> <?php } } }
protected function content($atts, $content = null) { $title = $width = $el_class = $output = $filter = $social_icon_type = $items = $team_member_link_class = $el_position = ''; extract(shortcode_atts(array('title' => '', 'item_columns' => '3', 'display_type' => 'standard', 'carousel' => 'no', "item_count" => '12', "custom_image_height" => '', "category" => '', 'pagination' => '', 'post_ids' => '', 'profile_link' => 'yes', 'ajax_overlay' => 'no', 'fullwidth' => 'no', 'gutters' => 'yes', 'order' => 'desc', 'order_by' => 'date', 'el_position' => '', 'width' => '1/1', 'el_class' => ''), $atts)); // CATEGORY SLUG MODIFICATION if ($category == "All") { $category = "all"; } if ($category == "all") { $category = ''; } $category_slug = str_replace('_', '-', $category); $contact_icon = apply_filters('sf_mail_icon', '<i class="ss-mail"></i>'); $phone_icon = apply_filters('sf_phone_icon', '<i class="ss-phone"></i>'); /* SIDEBAR CONFIG ================================================== */ global $sf_sidebar_config; $sidebars = ''; if ($sf_sidebar_config == "left-sidebar" || $sf_sidebar_config == "right-sidebar") { $sidebars = 'one-sidebar'; } else { if ($sf_sidebar_config == "both-sidebars") { $sidebars = 'both-sidebars'; } else { $sidebars = 'no-sidebars'; } } global $post, $wp_query; $paged = get_query_var('paged') ? get_query_var('paged') : 1; $team_args = array('post_type' => 'team', 'post_status' => 'publish', 'paged' => $paged, 'team-category' => $category_slug, 'posts_per_page' => $item_count, 'order' => $order, 'orderby' => $order_by, 'ignore_sticky_posts' => 1); if ($post_ids != "") { $team_args['post__in'] = array($post_ids); } $team_members = new WP_Query($team_args); $count = 0; $image_width = 270; $image_height = 270; if ($item_columns == "1") { $item_class = 'col-sm-12'; } else { if ($item_columns == "2") { $image_width = 540; $image_height = 540; $item_class = 'col-sm-6'; } else { if ($item_columns == "3") { $image_width = 360; $image_height = 360; $item_class = 'col-sm-4'; } else { if ($item_columns == "5") { $image_width = 360; $image_height = 360; $item_class = 'col-sm-sf-5'; } else { $item_class = 'col-sm-3'; } } } } if ($custom_image_height != "") { $image_height = $custom_image_height; } $list_class = 'display-type-' . $display_type; if ($ajax_overlay == "yes") { $team_member_link_class = 'team-member-ajax'; } if ($gutters == "no") { $list_class .= ' no-gutters'; } if ($carousel == "yes") { global $sf_carouselID; if ($sf_carouselID == "") { $sf_carouselID = 1; } else { $sf_carouselID++; } $item_class = 'carousel-item'; $items .= '<div class="team-carousel carousel-wrap"><div id="carousel-' . $sf_carouselID . '" class="team-members carousel-items ' . $list_class . ' clearfix" data-columns="' . $item_columns . '" data-auto="false">'; } else { $items .= '<div class="team-members ' . $list_class . ' row clearfix">'; } while ($team_members->have_posts()) { $team_members->the_post(); $postID = $post->ID; $member_name = get_the_title(); $member_position = sf_get_post_meta($postID, 'sf_team_member_position', true); $custom_excerpt = sf_get_post_meta($postID, 'sf_custom_excerpt', true); $pb_active = get_post_meta($postID, '_spb_js_status', true); $member_link = get_permalink($postID); $member_bio = ""; if ($pb_active == "true") { if ($custom_excerpt != "") { $member_bio = $custom_excerpt; } else { $member_bio = get_the_excerpt(); } } else { if ($custom_excerpt != "") { $member_bio = sf_custom_excerpt($custom_excerpt, 1000); } else { $member_bio = apply_filters('the_content', get_the_content('')); } } $member_email = sf_get_post_meta($postID, 'sf_team_member_email', true); $member_phone = sf_get_post_meta($postID, 'sf_team_member_phone_number', true); $member_twitter = sf_get_post_meta($postID, 'sf_team_member_twitter', true); $member_facebook = sf_get_post_meta($postID, 'sf_team_member_facebook', true); $member_linkedin = sf_get_post_meta($postID, 'sf_team_member_linkedin', true); $member_google_plus = sf_get_post_meta($postID, 'sf_team_member_google_plus', true); $member_skype = sf_get_post_meta($postID, 'sf_team_member_skype', true); $member_instagram = sf_get_post_meta($postID, 'sf_team_member_instagram', true); $member_dribbble = sf_get_post_meta($postID, 'sf_team_member_dribbble', true); $view_profile_text = __("View Profile", 'swift-framework-plugin'); $thumb_image = rwmb_meta('sf_thumbnail_image', 'type=image&size=full'); $item_icon = apply_filters('sf_team_hover_icon', "fa-pencil"); $item_svg_icon = apply_filters('sf_team_hover_svg_icon', ""); $thumb_img_url = ""; foreach ($thumb_image as $detail_image) { $thumb_image_id = $detail_image['ID']; $thumb_img_url = $detail_image['url']; break; } if (!$thumb_image) { $thumb_image = get_post_thumbnail_id(); $thumb_image_id = $thumb_image; $thumb_img_url = wp_get_attachment_url($thumb_image, 'full'); } $image = sf_aq_resize($thumb_img_url, $image_width, $image_height, true, false); // Output $items .= '<div itemscope data-id="id-' . $count . '" class="clearfix team-member ' . $item_class . '">'; if (sf_theme_supports('minimal-team-hover')) { $items .= '<div class="team-member-item-wrap">'; } $items .= '<figure class="animated-overlay">'; if (sf_theme_supports('minimal-team-hover') && $display_type != "gallery") { $items .= '<a class="team-member-link ' . $team_member_link_class . '" href="' . get_permalink() . '" data-id="' . $postID . '"></a>'; } if ($display_type == "gallery") { $items .= '<a class="team-gallery-mobile-link" href="' . get_permalink() . '" class="' . $team_member_link_class . '" data-id="' . $postID . '"></a>'; } if ($image) { $items .= '<img itemprop="image" src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $member_name . '" />'; } $items .= '<figcaption class="team-' . $display_type . '">'; if (sf_theme_supports('minimal-team-hover') && $display_type != "gallery") { $items .= '<div class="thumb-info thumb-info-alt">'; if ($item_svg_icon != "") { $items .= $item_svg_icon; } else { $items .= '<i class="' . $item_icon . '"></i>'; } $items .= '</div>'; } else { $items .= '<div class="thumb-info">'; if ($display_type == "gallery") { if ($profile_link == "yes") { $items .= '<h4 class="team-member-name"><a href="' . get_permalink() . '" class="' . $team_member_link_class . '" data-id="' . $postID . '">' . $member_name . '</a></h4>'; } else { $items .= '<h4 class="team-member-name">' . $member_name . '</h4>'; } $items .= '<h5 class="team-member-position">' . $member_position . '</h5>'; $items .= '<div class="name-divide"></div>'; } if ($member_twitter || $member_facebook || $member_linkedin || $member_google_plus || $member_skype || $member_instagram || $member_dribbble) { $items .= '<ul class="social-icons">'; if ($member_twitter) { $items .= '<li class="twitter"><a href="http://www.twitter.com/' . $member_twitter . '" target="_blank"><i class="fa-twitter"></i><i class="fa-twitter"></i></a></li>'; } if ($member_facebook) { $items .= '<li class="facebook"><a href="' . $member_facebook . '" target="_blank"><i class="fa-facebook"></i><i class="fa-facebook"></i></a></li>'; } if ($member_linkedin) { $items .= '<li class="linkedin"><a href="' . $member_linkedin . '" target="_blank"><i class="fa-linkedin"></i><i class="fa-linkedin"></i></a></li>'; } if ($member_google_plus) { $items .= '<li class="googleplus"><a href="' . $member_google_plus . '" target="_blank"><i class="fa-google-plus"></i><i class="fa-google-plus"></i></a></li>'; } if ($member_skype) { $items .= '<li class="skype"><a href="skype:' . $member_skype . '" target="_blank"><i class="fa-skype"></i><i class="fa-skype"></i></a></li>'; } if ($member_instagram) { $items .= '<li class="instagram"><a href="' . $member_instagram . '" target="_blank"><i class="fa-instagram"></i><i class="fa-instagram"></i></a></li>'; } if ($member_dribbble) { $items .= '<li class="dribbble"><a href="http://www.dribbble.com/' . $member_dribbble . '" target="_blank"><i class="fa-dribbble"></i><i class="fa-dribbble"></i></a></li>'; } $items .= '</ul>'; } if ($display_type != "gallery" && $profile_link == "yes") { $items .= '<a class="view-profile ' . $team_member_link_class . '" href="' . $member_link . '" data-id="' . $postID . '">' . $view_profile_text . '</a>'; } $items .= '</div>'; } $items .= '</figcaption>'; $items .= '</figure>'; if (sf_theme_supports('minimal-team-hover')) { $items .= '<div class="team-member-details-wrap">'; } if ($display_type != "gallery") { if ($profile_link == "yes") { $items .= '<h4 class="team-member-name"><a href="' . get_permalink() . '" class="' . $team_member_link_class . '" data-id="' . $postID . '">' . $member_name . '</a></h4>'; } else { $items .= '<h4 class="team-member-name">' . $member_name . '</h4>'; } $items .= '<h5 class="team-member-position">' . $member_position . '</h5>'; } if ($display_type == "standard") { if (sf_theme_supports('minimal-team-hover')) { $items .= '<div class="team-member-divider"></div>'; } if ($profile_link == "yes") { $items .= '<div class="team-member-bio">' . $member_bio . '<a href="' . get_permalink() . '" class="read-more ' . $team_member_link_class . '" data-id="' . $postID . '">' . $view_profile_text . '</a></div>'; } else { $items .= '<div class="team-member-bio">' . $member_bio . '</div>'; $items .= '<ul class="member-contact">'; if ($member_email) { $items .= '<li>' . $contact_icon . '<span itemscope="email"><a href="mailto:' . $member_email . '">' . $member_email . '</a></span></li>'; } if ($member_phone) { $items .= '<li>' . $phone_icon . '<span itemscope="telephone">' . $member_phone . '</span></li>'; } $items .= '</ul>'; } } if (sf_theme_supports('minimal-team-hover')) { $items .= '</div>'; $items .= '</div>'; } $items .= '</div>'; $count++; } wp_reset_postdata(); if ($carousel == "yes") { $items .= '</div></div>'; } else { $items .= '</div>'; } // PAGINATION if ($pagination == "yes" && $carousel == "no") { $items .= '<div class="pagination-wrap">'; $items .= pagenavi($team_members); $items .= '</div>'; } $el_class = $this->getExtraClass($el_class); $width = spb_translateColumnWidthToSpan($width); $output .= "\n\t" . '<div class="team_list carousel-asset spb_content_element ' . $width . $el_class . '">'; $output .= "\n\t\t" . '<div class="spb-asset-content">'; if ($fullwidth == "yes" && $sidebars == "no-sidebars") { $output .= "\n\t\t" . '<div class="title-wrap container">'; if ($title != '') { $output .= '<h3 class="spb-heading"><span>' . $title . '</span></h3>'; } if ($carousel == "yes") { $output .= spb_carousel_arrows(); } $output .= '</div>'; } else { $output .= "\n\t\t" . '<div class="title-wrap clearfix">'; if ($title != '') { $output .= '<h3 class="spb-heading"><span>' . $title . '</span></h3>'; } if ($carousel == "yes") { $output .= spb_carousel_arrows(); } $output .= '</div>'; } $output .= "\n\t\t" . $items; $output .= "\n\t\t" . '</div>'; $output .= "\n\t" . '</div> ' . $this->endBlockComment($width); if ($fullwidth == "yes" && $sidebars == "no-sidebars") { $output = $this->startRow($el_position, '', true) . $output . $this->endRow($el_position, '', true); } else { $output = $this->startRow($el_position) . $output . $this->endRow($el_position); } global $sf_include_isotope, $sf_has_team, $sf_include_carousel; $sf_include_isotope = true; $sf_has_team = true; if ($carousel == "yes") { $sf_include_carousel = true; } return $output; }
function sf_nextprev_navigation() { global $sf_options; // Pagiantion style $pagination_style = "standard"; if (isset($sf_options['pagination_style'])) { $pagination_style = $sf_options['pagination_style']; } // Portfolio category navigation $enable_category_navigation = $sf_options['enable_category_navigation']; if (!(is_singular('post') || is_singular('portfolio') || is_singular('product')) || $pagination_style != "fs-arrow" || !sf_theme_supports('fullscreen-pagination')) { return; } $taxonomy = "category"; if (is_singular('portfolio')) { $taxonomy = "portfolio-category"; } else { if (is_singular('product')) { $taxonomy = "product_cat"; } } // Get next/prev post $prev_post = get_next_post($enable_category_navigation, '', $taxonomy); $next_post = get_previous_post($enable_category_navigation, '', $taxonomy); $sf_prev_icon = apply_filters('sf_prev_icon', '<i class="ss-navigateleft"></i>'); $sf_next_icon = apply_filters('sf_next_icon', '<i class="ss-navigateright"></i>'); if (!empty($prev_post)) { $postID = $prev_post->ID; $prev_permalink = get_permalink($postID); $item_subtitle = sf_get_post_meta($postID, 'sf_portfolio_subtitle', true); $use_thumb_content = sf_get_post_meta($postID, 'sf_thumbnail_content_main_detail', true); $image = $media_image_url = $image_id = ""; if ($use_thumb_content) { $media_image = rwmb_meta('sf_thumbnail_image', 'type=image&size=full', $postID); } else { $media_image = rwmb_meta('sf_detail_image', 'type=image&size=full', $postID); } foreach ($media_image as $detail_image) { $image_id = $detail_image['ID']; $media_image_url = $detail_image['url']; break; } if (!$media_image) { $media_image = get_post_thumbnail_id($postID); $image_id = $media_image; $media_image_url = wp_get_attachment_url($media_image, 'full'); } $detail_image = sf_aq_resize($media_image_url, 80, 80, true, false); $image_alt = sf_get_post_meta($image_id, '_wp_attachment_image_alt', true); if ($detail_image) { $image = '<img itemprop="image" src="' . $detail_image[0] . '" width="' . $detail_image[1] . '" height="' . $detail_image[2] . '" alt="' . $image_alt . '" />'; } ?> <?php if ($image != "") { ?> <div id="prev-article-pagination" class="window-arrow-nav prev-item has-img"> <?php } else { ?> <div id="prev-article-pagination" class="window-arrow-nav prev-item"> <?php } ?> <a href="<?php echo esc_url($prev_permalink); ?> "> <div class="nav-transition"> <div class="overlay-wrap"> <?php echo esc_html($sf_prev_icon); ?> <?php if ($image != "") { ?> <figure class="pagination-article-image"> <?php echo esc_html($image); ?> </figure> <?php } ?> </div> </div> <?php if ($item_subtitle != "") { ?> <div class="pagination-article-details has-subtitle"> <h5><?php echo esc_attr($prev_post->post_title); ?> </h5> <p><?php echo esc_attr($item_subtitle); ?> </p> <?php } else { ?> <div class="pagination-article-details no-subtitle"> <h5><?php echo esc_attr($prev_post->post_title); ?> </h5> <?php } ?> </div> </a> </div> <?php } if (!empty($next_post)) { $postID = $next_post->ID; $next_permalink = get_permalink($postID); $item_subtitle = sf_get_post_meta($postID, 'sf_portfolio_subtitle', true); $use_thumb_content = sf_get_post_meta($postID, 'sf_thumbnail_content_main_detail', true); $image = $media_image_url = $image_id = ""; if ($use_thumb_content) { $media_image = rwmb_meta('sf_thumbnail_image', 'type=image&size=full', $postID); } else { $media_image = rwmb_meta('sf_detail_image', 'type=image&size=full', $postID); } foreach ($media_image as $detail_image) { $image_id = $detail_image['ID']; $media_image_url = $detail_image['url']; break; } if (!$media_image) { $media_image = get_post_thumbnail_id($postID); $image_id = $media_image; $media_image_url = wp_get_attachment_url($media_image, 'full'); } $detail_image = sf_aq_resize($media_image_url, 80, 80, true, false); $image_alt = sf_get_post_meta($image_id, '_wp_attachment_image_alt', true); if ($detail_image) { $image = '<img itemprop="image" src="' . $detail_image[0] . '" width="' . $detail_image[1] . '" height="' . $detail_image[2] . '" alt="' . $image_alt . '" />'; } ?> <?php if ($image != "") { ?> <div id="next-article-pagination" class="window-arrow-nav next-item has-img"> <?php } else { ?> <div id="next-article-pagination" class="window-arrow-nav next-item"> <?php } ?> <a href="<?php echo esc_url($next_permalink); ?> "> <div class="nav-transition"> <div class="overlay-wrap"> <?php echo esc_html($sf_next_icon); ?> <?php if ($image != "") { ?> <figure class="pagination-article-image"> <?php echo esc_html($image); ?> </figure> <?php } ?> </div> </div> <?php if ($item_subtitle != "") { ?> <div class="pagination-article-details has-subtitle"> <h5><?php echo esc_attr($next_post->post_title); ?> </h5> <p><?php echo esc_attr($item_subtitle); ?> </p> <?php } else { ?> <div class="pagination-article-details no-subtitle"> <h5><?php echo esc_attr($next_post->post_title); ?> </h5> <?php } ?> </div> </a> </div> <?php } }
/** * @see Walker::start_el() * @since 3.0.0 * * @param string $output Passed by reference. Used to append additional content. * @param object $item Menu item data object. * @param int $depth Depth of menu item. Used for padding. * @param object $args */ function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) { global $_wp_nav_menu_max_depth; $_wp_nav_menu_max_depth = $depth > $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth; $indent = $depth ? str_repeat("\t", $depth) : ''; ob_start(); $item_id = esc_attr($item->ID); $removed_args = array('action', 'customlink-tab', 'edit-menu-item', 'menu-item', 'page-tab', '_wpnonce'); $original_title = ''; if ('taxonomy' == $item->type) { $original_title = get_term_field('name', $item->object_id, $item->object, 'raw'); if (is_wp_error($original_title)) { $original_title = false; } } elseif ('post_type' == $item->type) { $original_object = get_post($item->object_id); if (isset($original_object)) { $original_title = $original_object->post_title; } } $classes = array('menu-item menu-item-depth-' . $depth, 'menu-item-' . esc_attr($item->object), 'menu-item-edit-' . (isset($_GET['edit-menu-item']) && $item_id == $_GET['edit-menu-item'] ? 'active' : 'inactive')); $title = $item->title; if (!empty($item->_invalid)) { $classes[] = 'menu-item-invalid'; /* translators: %s: title of menu item which is invalid */ $title = sprintf(__('%s (Invalid)', 'swiftframework'), $item->title); } elseif (isset($item->post_status) && 'draft' == $item->post_status) { $classes[] = 'pending'; /* translators: %s: title of menu item in draft status */ $title = sprintf(__('%s (Pending)', 'swiftframework'), $item->title); } $title = empty($item->label) ? $title : $item->label; ?> <li id="menu-item-<?php echo esc_attr($item_id); ?> " class="<?php echo implode(' ', $classes); ?> "> <dl class="menu-item-bar"> <dt class="menu-item-handle"> <span class="item-title"><?php echo esc_html($title); ?> </span> <span class="item-controls"> <span class="item-type"><?php echo esc_html($item->type_label); ?> </span> <span class="item-order hide-if-js"> <a href="<?php echo wp_nonce_url(add_query_arg(array('action' => 'move-up-menu-item', 'menu-item' => $item_id), remove_query_arg($removed_args, admin_url('nav-menus.php'))), 'move-menu_item'); ?> " class="item-move-up"><abbr title="<?php esc_attr_e('Move up', 'swiftframework'); ?> "> ↑</abbr></a> | <a href="<?php echo wp_nonce_url(add_query_arg(array('action' => 'move-down-menu-item', 'menu-item' => $item_id), remove_query_arg($removed_args, admin_url('nav-menus.php'))), 'move-menu_item'); ?> " class="item-move-down"><abbr title="<?php esc_attr_e('Move down', 'swiftframework'); ?> ">↓</abbr></a> </span> <a class="item-edit" id="edit-<?php echo esc_attr($item_id); ?> " title="<?php esc_attr_e('Edit Menu Item', 'swiftframework'); ?> " href="<?php echo isset($_GET['edit-menu-item']) && $item_id == $_GET['edit-menu-item'] ? admin_url('nav-menus.php') : add_query_arg('edit-menu-item', $item_id, remove_query_arg($removed_args, admin_url('nav-menus.php#menu-item-settings-' . $item_id))); ?> "><?php _e('Edit Menu Item', 'swiftframework'); ?> </a> </span> </dt> </dl> <div class="menu-item-settings" id="menu-item-settings-<?php echo esc_attr($item_id); ?> "> <?php if ('custom' == $item->type) { ?> <p class="field-url description description-wide"> <label for="edit-menu-item-url-<?php echo esc_attr($item_id); ?> "> <?php _e('URL', 'swiftframework'); ?> <br/> <input type="text" id="edit-menu-item-url-<?php echo esc_attr($item_id); ?> " class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->url); ?> "/> </label> </p> <?php } ?> <p class="description description-thin"> <label for="edit-menu-item-title-<?php echo esc_attr($item_id); ?> "> <?php _e('Navigation Label', 'swiftframework'); ?> <br/> <input type="text" id="edit-menu-item-title-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-title" name="menu-item-title[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->title); ?> "/> </label> </p> <p class="description description-thin"> <label for="edit-menu-item-attr-title-<?php echo esc_attr($item_id); ?> "> <?php _e('Title Attribute', 'swiftframework'); ?> <br/> <input type="text" id="edit-menu-item-attr-title-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->post_excerpt); ?> "/> </label> </p> <p class="field-link-target description"> <label for="edit-menu-item-target-<?php echo esc_attr($item_id); ?> "> <input type="checkbox" id="edit-menu-item-target-<?php echo esc_attr($item_id); ?> " value="_blank" name="menu-item-target[<?php echo esc_attr($item_id); ?> ]"<?php checked($item->target, '_blank'); ?> /> <?php _e('Open link in a new window/tab', 'swiftframework'); ?> </label> </p> <p class="field-css-classes description description-thin"> <label for="edit-menu-item-classes-<?php echo esc_attr($item_id); ?> "> <?php _e('CSS Classes (optional)', 'swiftframework'); ?> <br/> <input type="text" id="edit-menu-item-classes-<?php echo esc_attr($item_id); ?> " class="widefat code edit-menu-item-classes" name="menu-item-classes[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr(implode(' ', $item->classes)); ?> "/> </label> </p> <p class="field-xfn description description-thin"> <label for="edit-menu-item-xfn-<?php echo esc_attr($item_id); ?> "> <?php _e('Link Relationship (XFN)', 'swiftframework'); ?> <br/> <input type="text" id="edit-menu-item-xfn-<?php echo esc_attr($item_id); ?> " class="widefat code edit-menu-item-xfn" name="menu-item-xfn[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->xfn); ?> "/> </label> </p> <p class="field-description description description-wide"> <label for="edit-menu-item-description-<?php echo esc_attr($item_id); ?> "> <?php _e('Description', 'swiftframework'); ?> <br/> <textarea id="edit-menu-item-description-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo esc_attr($item_id); ?> ]"><?php echo esc_html($item->description); // textarea_escaped ?> </textarea> <span class="description"><?php _e('The description will be displayed in the menu if the current theme supports it.', 'swiftframework'); ?> </span> </label> </p> <?php /* New fields insertion starts here */ ?> <!-- <p class="field-custom description description-wide"> <label for="edit-menu-item-subtitle-<?php echo esc_attr($item_id); ?> "> <?php _e('Subtitle', 'swiftframework'); ?> <br /> <input type="text" id="edit-menu-item-subtitle-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-subtitle[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->subtitle); ?> " /> </label> </p>--> <!--<p class="field-custom description description-wide"> <label for="edit-menu-is-megamenu-<?php echo esc_attr($item_id); ?> "> <?php _e('Enable Mega Menu', 'swiftframework'); ?> <br /> <input type="checkbox" id="edit-menu-is-megamenu-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-megamenu[<?php echo esc_attr($item_id); ?> ]" name="menu-is-megamenu[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->ismegamenu), 1, false); ?> /> </label> </p> --> <div class="sf-menu-options"> <?php if ($depth == 0) { ?> <h4>Mega Menu Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-megamenu-<?php echo esc_attr($item_id); ?> "><?php _e('Enable Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-megamenu-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-megamenu[<?php echo esc_attr($item_id); ?> ]" name="menu-megamenu[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->megamenu), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-megamenucols-<?php echo esc_attr($item_id); ?> "><?php _e('Mega Menu Columns', 'swiftframework'); ?> </label> <select class="fat" id="edit-menu-megamenucols-<?php echo esc_attr($item_id); ?> " name="menu-megamenucols[<?php echo esc_attr($item_id); ?> ]"> <?php for ($i = 1; $i <= 6; $i++) { if ($i == $item->megamenucols) { echo '<option selected="selected">' . $i . '</option>'; } else { echo '<option>' . $i . '</option>'; } } ?> </select> </p> <p class="field-custom description description-wide"> <label for="edit-menu-is-naturalwidth-<?php echo esc_attr($item_id); ?> "><?php _e('Natural Width Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-is-naturalwidth-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-naturalwidth[<?php echo esc_attr($item_id); ?> ]" name="menu-is-naturalwidth[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->isnaturalwidth), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-is-altstyle-<?php echo esc_attr($item_id); ?> "><?php _e('Alternative Style Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-is-altstyle-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-altstyle[<?php echo esc_attr($item_id); ?> ]" name="menu-is-altstyle[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->altstyle), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-hideheadings-<?php echo esc_attr($item_id); ?> "><?php _e('Hide Mega Menu Headings', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-hideheadings-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-hideheadings[<?php echo esc_attr($item_id); ?> ]" name="menu-hideheadings[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->hideheadings), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide" style="height: 10px;"></p> <?php } ?> <h4>Custom Menu Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-loggedinvis-<?php echo esc_attr($item_id); ?> "><?php _e('Visible only when logged in', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-loggedinvis-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-loggedinvis[<?php echo esc_attr($item_id); ?> ]" name="menu-loggedinvis[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->loggedinvis), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-loggedoutvis-<?php echo esc_attr($item_id); ?> "><?php _e('Visible only when logged out', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-loggedoutvis-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-loggedoutvis[<?php echo esc_attr($item_id); ?> ]" name="menu-loggedoutvis[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->loggedoutvis), 1, false); ?> /> </label> </p> <?php if ($depth == 0) { ?> <?php if (sf_theme_supports('menu-new-badge')) { ?> <p class="field-custom description description-wide"> <label for="edit-menu-newbadge-<?php echo esc_attr($item_id); ?> "><?php _e('New Badge', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-newbadge-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-newbadge[<?php echo esc_attr($item_id); ?> ]" name="menu-newbadge[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->newbadge), 1, false); ?> /> </label> </p> <?php } ?> <p class="field-custom description description-wide"> <label for="edit-menu-menuitembtn-<?php echo esc_attr($item_id); ?> "><?php _e('Button Style Menu Item', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-menuitembtn-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-menuitembtn[<?php echo esc_attr($item_id); ?> ]" name="menu-menuitembtn[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->menuitembtn), 1, false); ?> /> </label> </p> <?php } ?> <p class="field-custom description description-thin" style="height: auto;overflow: hidden;width: 50%;float: none;"> <label for="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> "><?php _e('Menu Icon (Gizmo / Font Awesome)', 'swiftframework'); ?> <input type="text" id="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-icon[<?php echo esc_attr($item_id); ?> ]" placeholder="ss-star" value="<?php echo esc_attr($item->menuicon); ?> "/> </label> </p> <?php if ($depth == 1) { ?> <h4>Mega Menu Column Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-megatitle-<?php echo esc_attr($item_id); ?> "><?php _e('Mega Menu No Link Title', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-megatitle-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-megatitle[<?php echo esc_attr($item_id); ?> ]" name="menu-megatitle[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->megatitle), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-nocolumnspacing-<?php echo esc_attr($item_id); ?> "><?php _e('No Menu Column Spacing (for custom html column)', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-nocolumnspacing-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-nocolumnspacing[<?php echo esc_attr($item_id); ?> ]" name="menu-nocolumnspacing[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->nocolumnspacing), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> "><?php _e('Custom HTML Column Width (optional)', 'swiftframework'); ?> <input type="text" id="edit-menu-item-width-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-width[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->menuwidth); ?> "/> </label> <p><?php _e('Optionally set a width here for the menu column, ideal if you want to make it wider. Numeric value (no px).', 'swiftframework'); ?> </p> </p> <p class="field-custom description description-wide"> <label for="edit-menu-item-htmlcontent-<?php echo esc_attr($item_id); ?> "><?php _e('Custom HTML Column (within Mega Menu)', 'swiftframework'); ?> <textarea id="edit-menu-item-htmlcontent-<?php echo esc_attr($item_id); ?> " name="menu-item-htmlcontent[<?php echo esc_attr($item_id); ?> ]" cols="30" rows="4"><?php echo esc_attr($item->htmlcontent); ?> </textarea> </label> </p> <?php } ?> </div> <?php /* New fields insertion ends here */ ?> <div class="menu-item-actions description-wide submitbox"> <?php if ('custom' != $item->type && $original_title !== false) { ?> <p class="link-to-original"> <?php printf(__('Original: %s', 'swiftframework'), '<a href="' . esc_attr($item->url) . '">' . esc_html($original_title) . '</a>'); ?> </p> <?php } ?> <a class="item-delete submitdelete deletion" id="delete-<?php echo esc_attr($item_id); ?> " href="<?php echo wp_nonce_url(add_query_arg(array('action' => 'delete-menu-item', 'menu-item' => $item_id), remove_query_arg($removed_args, admin_url('nav-menus.php'))), 'delete-menu_item_' . $item_id); ?> "><?php _e('Remove', 'swiftframework'); ?> </a> <span class="meta-sep"> | </span> <a class="item-cancel submitcancel" id="cancel-<?php echo esc_attr($item_id); ?> " href="<?php echo esc_url(add_query_arg(array('edit-menu-item' => $item_id, 'cancel' => time()), remove_query_arg($removed_args, admin_url('nav-menus.php')))); ?> #menu-item-settings-<?php echo esc_attr($item_id); ?> "><?php _e('Cancel', 'swiftframework'); ?> </a> </div> <input class="menu-item-data-db-id" type="hidden" name="menu-item-db-id[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item_id); ?> "/> <input class="menu-item-data-object-id" type="hidden" name="menu-item-object-id[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->object_id); ?> "/> <input class="menu-item-data-object" type="hidden" name="menu-item-object[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->object); ?> "/> <input class="menu-item-data-parent-id" type="hidden" name="menu-item-parent-id[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->menu_item_parent); ?> "/> <input class="menu-item-data-position" type="hidden" name="menu-item-position[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->menu_order); ?> "/> <input class="menu-item-data-type" type="hidden" name="menu-item-type[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->type); ?> "/> </div> <!-- .menu-item-settings--> <ul class="menu-item-transport"></ul> <?php $output .= ob_get_clean(); }
function sf_mobile_header() { global $woocommerce, $sf_options; $mobile_header_layout = $sf_options['mobile_header_layout']; $mobile_top_text = __($sf_options['mobile_top_text'], 'swiftframework'); $mobile_menu_icon = apply_filters('sf_mobile_menu_icon', '<span class="menu-bars"></span>'); $mobile_cart_icon = apply_filters('sf_mobile_cart_icon', '<i class="ss-cart"></i>'); $mobile_show_cart = $sf_options['mobile_show_cart']; $mobile_header_class = ""; $mobile_header_output = ""; if (sf_theme_supports('hamburger-css')) { $mobile_menu_type = "slideout"; $hamburger_class = 'hamburger--3dx'; if (isset($sf_options['mobile_menu_type'])) { $mobile_menu_type = $sf_options['mobile_menu_type']; } if ($mobile_menu_type == "overlay") { $hamburger_class = 'hamburger--3dy'; } $mobile_menu_link = '<button class="hamburger mobile-menu-link ' . $hamburger_class . '" type="button"> <span class="hamburger-box"> <span class="hamburger-inner"></span> </span> </button>'; } else { $mobile_menu_link = '<a href="#" class="mobile-menu-link menu-bars-link">' . $mobile_menu_icon . '</a>'; } $mobile_cart_link = '<a href="#" class="mobile-cart-link">' . $mobile_cart_icon . '</a>'; if (sf_theme_opts_name() == "sf_atelier_options" || sf_theme_opts_name() == "sf_uplift_options") { $mobile_cart_link = '<nav class="std-menu float-alt-menu">' . "\n"; $mobile_cart_link .= '<ul class="menu">' . "\n"; $mobile_cart_link .= sf_get_cart(); $mobile_cart_link .= '</ul>' . "\n"; $mobile_cart_link .= '</nav>' . "\n"; } if ($mobile_top_text != "") { $mobile_header_output .= '<div id="mobile-top-text">' . do_shortcode($mobile_top_text) . '</div>'; } $mobile_header_output .= '<header id="mobile-header" class="mobile-' . $mobile_header_layout . ' clearfix">' . "\n"; if ($mobile_header_layout == "right-logo") { $mobile_header_output .= '<div class="mobile-header-opts">'; $mobile_header_output .= $mobile_menu_link . "\n"; if ($mobile_show_cart && $woocommerce != "") { $mobile_header_output .= $mobile_cart_link . "\n"; } $mobile_header_output .= '</div>'; $mobile_header_output .= sf_logo('logo-right', 'mobile-logo'); } else { if ($mobile_header_layout == "center-logo") { $mobile_header_output .= '<div class="mobile-header-opts opts-left">'; $mobile_header_output .= $mobile_menu_link . "\n"; $mobile_header_output .= '</div>'; $mobile_header_output .= sf_logo('logo-center', 'mobile-logo'); $mobile_header_output .= '<div class="mobile-header-opts opts-right">'; if ($mobile_show_cart && $woocommerce != "") { $mobile_header_output .= $mobile_cart_link . "\n"; } $mobile_header_output .= '</div>'; } else { if ($mobile_header_layout == "center-logo-alt") { $mobile_header_output .= '<div class="mobile-header-opts opts-left">'; if ($mobile_show_cart && $woocommerce != "") { $mobile_header_output .= $mobile_cart_link . "\n"; } $mobile_header_output .= '</div>'; $mobile_header_output .= sf_logo('logo-center', 'mobile-logo'); $mobile_header_output .= '<div class="mobile-header-opts opts-right">'; $mobile_header_output .= $mobile_menu_link . "\n"; $mobile_header_output .= '</div>'; } else { $mobile_header_output .= sf_logo('logo-left', 'mobile-logo'); $mobile_header_output .= '<div class="mobile-header-opts">'; $mobile_header_output .= $mobile_menu_link . "\n"; if ($mobile_show_cart && $woocommerce != "") { $mobile_header_output .= $mobile_cart_link . "\n"; } $mobile_header_output .= '</div>'; } } } $mobile_header_output .= '</header>' . "\n"; echo $mobile_header_output; }
function sf_page_classes() { // Get options global $sf_options, $post, $sf_catalog_mode; $enable_responsive = $sf_options['enable_responsive']; $is_responsive = "responsive-fluid"; if (!$enable_responsive) { $is_responsive = "responsive-fixed"; } $enable_rtl = $sf_options['enable_rtl']; $design_style = sf_get_option('design_style_type', 'minimal'); $page_header_type = $page_slider = $page_header_alt_logo = $page_style = $page_design_style = ""; $header_layout = $sf_options['header_layout']; if (isset($_GET['header'])) { $header_layout = $_GET['header']; } $page_layout = $sf_options['page_layout']; $enable_page_shadow = $sf_options['enable_page_shadow']; $enable_page_transitions = $sf_options['enable_page_transitions']; $page_transition = $sf_options['page_transition']; $enable_header_shadow = false; $mobile_two_click = false; if (isset($sf_options['enable_header_shadow'])) { $enable_header_shadow = $sf_options['enable_header_shadow']; } $product_image_shadows = true; if (isset($sf_options['product_image_shadows'])) { $product_image_shadows = $sf_options['product_image_shadows']; } if (isset($sf_options['enable_mobile_two_click'])) { $mobile_two_click = $sf_options['enable_mobile_two_click']; } $enable_mini_header = $sf_options['enable_mini_header']; $enable_mini_header_resize = $sf_options['enable_mini_header_resize']; $header_search_type = $sf_options['header_search_type']; $mobile_header_layout = $sf_options['mobile_header_layout']; $mobile_header_shown = $sf_options['mobile_header_shown']; $mobile_header_sticky = $sf_options['mobile_header_sticky']; $mobile_menu_type = "slideout"; $enable_sticky_header_hide = false; $enable_newsletter_sub_bar = $enable_newsletter_sub_bar_page = false; if (isset($sf_options['mobile_menu_type'])) { $mobile_menu_type = $sf_options['mobile_menu_type']; } $enable_articleswipe = 0; if (isset($sf_options['enable_articleswipe'])) { $enable_articleswipe = $sf_options['enable_articleswipe']; } $home_preloader = false; if (isset($sf_options['home_preloader'])) { $home_preloader = $sf_options['home_preloader']; } if (isset($sf_options['enable_sticky_header_hide'])) { $enable_sticky_header_hide = $sf_options['enable_sticky_header_hide']; } if (isset($sf_options['enable_newsletter_sub_bar'])) { $enable_newsletter_sub_bar = $sf_options['enable_newsletter_sub_bar']; } if ($post && is_singular() && !is_search()) { $page_header_type = sf_get_post_meta($post->ID, 'sf_page_header_type', true); $page_header_alt_logo = sf_get_post_meta($post->ID, 'sf_page_header_alt_logo', true); $page_slider = sf_get_post_meta($post->ID, 'sf_page_slider', true); $page_design_style = sf_get_post_meta($post->ID, 'sf_page_design_style', true); $enable_newsletter_sub_bar_page = sf_get_post_meta($post->ID, 'sf_enable_newsletter_bar', true); } if (isset($sf_options['enable_newsletter_sub_bar_globally'])) { $enable_newsletter_sub_bar_page = $sf_options['enable_newsletter_sub_bar_globally']; } // Shop page check $shop_page = false; if (function_exists('is_shop') && is_shop() || function_exists('is_product_category') && is_product_category()) { $shop_page = true; } if ($shop_page) { if (isset($sf_options['woo_page_header'])) { $page_header_type = $sf_options['woo_page_header']; } } if (($page_header_type == "naked-light" || $page_header_type == "naked-dark") && ($header_layout == "header-vert" || $header_layout == "header-vert-right")) { $header_layout = apply_filters('sf_naked_default_header', "header-1"); } // Create variables $page_class = $header_wrap_class = $logo_class = $shop_icon_style = ""; // Design Style if (isset($_GET['design_style'])) { $design_style = $_GET['design_style']; } $page_class .= $design_style . "-design "; // Theme Specific if (sf_theme_opts_name() == "sf_atelier_options") { //$page_class .= 'ss-parallax-disabled '; } // Header Layout if ($page_header_type == "standard-overlay") { $page_class .= "header-overlay "; } else { if ($header_layout == "header-5") { $page_class .= "header-5-overlay "; } } if ($header_layout == "header-vert") { $page_class .= "vertical-header "; } if ($header_layout == "header-vert-right") { $page_class .= "vertical-header vertical-header-right "; } if ($header_layout == "header-3" || $header_layout == "header-4" || $header_layout == "header-5" || $header_layout == "header-split" || $header_layout == "header-4-alt") { $header_wrap_class = " full-center"; } if ($header_layout == "header-3" || $header_layout == "header-4" || $header_layout == "header-5" || $header_layout == "header-7" || $header_layout == "header-8" || $header_layout == "header-split" || $header_layout == "header-4-alt") { $header_wrap_class .= " full-header-stick"; } // Mobile Header Layout $page_class .= "mobile-header-" . $mobile_header_layout . " "; $page_class .= "mhs-" . $mobile_header_shown . " "; if ($mobile_header_sticky) { $page_class .= "mh-sticky "; } $page_class .= 'mh-' . $mobile_menu_type . ' '; // Catalog Mode if (isset($sf_options['enable_catalog_mode'])) { $enable_catalog_mode = $sf_options['enable_catalog_mode']; if (isset($_GET['catalog_mode'])) { $enable_catalog_mode = $_GET['catalog_mode']; } if ($enable_catalog_mode) { $sf_catalog_mode = true; $page_class .= "catalog-mode "; } } // Responsive class $page_class .= $is_responsive . ' '; // RTL class if (is_rtl() || $enable_rtl || isset($_GET['RTL'])) { $page_class .= 'rtl '; } // Mini header if ($enable_mini_header && !($header_layout == "header-vert" || $header_layout == "header-vert-right")) { $page_class .= "sticky-header-enabled "; if ($enable_mini_header_resize) { $page_class .= "sh-dynamic "; } if ($enable_sticky_header_hide) { $page_class .= "sh-show-hide "; } } else { $page_class .= "sticky-header-disabled "; } // Page Shadow if ($enable_page_shadow) { $page_class .= "page-shadow "; } // Mobile 2 Click if ($mobile_two_click) { $page_class .= "mobile-two-click "; } // Page Transtions if ($enable_page_transitions) { $page_class .= "page-transitions page-transition-" . $page_transition . " "; if ($page_transition == "loading-bar") { $page_class .= "loading-bar-transition "; } } // Page Style if ($page_design_style != "") { $page_class .= $page_design_style . ' '; } // Header Shadow if ($enable_header_shadow) { $page_class .= "header-shadow "; } // Product Shadow if ($product_image_shadows) { $page_class .= "product-shadows "; } // Page Header Type if ($page_header_type != "") { $page_class .= 'header-' . $page_header_type . ' '; } // Page Header Logo if ($page_header_alt_logo) { $page_class .= 'logo-alt-version '; } if (is_singular('post') && $post) { $post_header_type = sf_get_post_meta($post->ID, 'sf_page_header_type', true); $fw_media_display = sf_get_post_meta($post->ID, 'sf_fw_media_display', true); $page_title_style = sf_get_post_meta($post->ID, 'sf_page_title_style', true); if ($page_title_style == "fancy" || $fw_media_display == "fw-media-title" || $fw_media_display == "fw-media") { $page_class .= 'header-' . $post_header_type . ' '; } } if (function_exists('is_product') && is_product()) { $product_layout = sf_get_post_meta($post->ID, 'sf_product_layout', true); $page_class .= 'product-' . $product_layout . ' '; } // Layout if (isset($_GET['layout'])) { $page_layout = $_GET['layout']; } $page_class .= "layout-" . $page_layout . " "; // Article Swipe if ($enable_articleswipe) { $page_class .= 'article-swipe '; } if ($home_preloader && (is_home() || is_front_page()) && !is_paged()) { $page_class .= 'sf-preloader '; } if ($enable_newsletter_sub_bar && (is_home() || is_front_page()) && !is_paged() || $enable_newsletter_sub_bar_page) { $page_class .= 'has-newsletter-bar '; } // Page Heading if ($post && is_singular()) { $show_page_title = sf_get_post_meta($post->ID, 'sf_page_title', true); $remove_breadcrumbs = sf_get_post_meta($post->ID, 'sf_no_breadcrumbs', true); $page_title_style = sf_get_post_meta($post->ID, 'sf_page_title_style', true); if (function_exists('is_product') && is_product() && sf_theme_supports('product-inner-heading') && $page_title_style == "fancy-tabbed") { $page_title_style = "fancy"; } if ($show_page_title) { $page_class .= 'page-heading-' . $page_title_style . ' '; } } $shop_page = false; if (function_exists('is_shop') && is_shop() || function_exists('is_product_category') && is_product_category()) { $shop_page = true; } if ($shop_page) { $show_page_title = $sf_options['woo_show_page_heading']; $page_title_style = $sf_options['woo_page_heading_style']; if ($show_page_title) { $page_class .= 'page-heading-' . $page_title_style . ' '; } } if (sf_woocommerce_activated()) { if (isset($sf_options['shop_icon_style'])) { $shop_icon_style = $sf_options['shop_icon_style']; } $page_class .= 'shop-icon-' . $shop_icon_style . ' '; if (isset($sf_options['minimal_checkout'])) { if ($sf_options['minimal_checkout']) { $page_class .= 'minimal-checkout '; } } } if ($sf_options['disable_mobile_animations']) { $page_class .= "disable-mobile-animations "; } $global_filters = false; if (isset($sf_options['enable_woo_global_filters'])) { $global_filters = $sf_options['enable_woo_global_filters']; if ($global_filters) { $page_class .= 'woo-global-filters-enabled '; } } // Return array of classes $class_array = array("page-layout" => $page_layout, "page" => $page_class, "header-layout" => $header_layout, "header-wrap" => $header_wrap_class, "logo" => $logo_class, "search-type" => $header_search_type); return $class_array; }
function sf_portfolio_thumbnail($display_type = "gallery", $multi_size = "", $multi_size_ratio = "1/1", $columns = "2", $hover_show_excerpt = "no", $excerpt_length = 20, $gutters = "yes", $fullwidth = "no") { global $post, $sf_options; $portfolio_thumb = $thumb_image_id = $thumb_image = $thumb_gallery = $video = $item_class = $link_config = $port_hover_style = $port_hover_text_style = ''; $thumb_width = 400; $thumb_height = 300; $video_height = 300; if ($columns == "1") { $thumb_width = 1200; $thumb_height = 900; $video_height = 900; } else { if ($columns == "2") { $thumb_width = 800; $thumb_height = 600; $video_height = 600; } else { if ($columns == "3" || $columns == "4") { if ($fullwidth == "yes") { $thumb_width = 500; $thumb_height = 375; $video_height = 375; } else { $thumb_width = 400; $thumb_height = 300; $video_height = 300; } } } } if ($display_type == "multi-size-masonry") { if ($multi_size_ratio == "4/3") { if ($multi_size == "wide-tall") { $thumb_width = 1000; $thumb_height = 750; } else { if ($multi_size == "tall") { $thumb_width = 500; $thumb_height = 750; } else { if ($multi_size == "wide") { $thumb_width = 1000; $thumb_height = 375; } else { if ($multi_size == "standard") { $thumb_width = 500; $thumb_height = 375; $video_height = 375; } } } } } else { if ($multi_size == "wide-tall") { $thumb_width = 900; $thumb_height = 900; } else { if ($multi_size == "tall") { $thumb_width = 450; $thumb_height = 900; } else { if ($multi_size == "wide") { $thumb_width = 900; $thumb_height = 450; } else { if ($multi_size == "standard") { $thumb_width = 450; $thumb_height = 450; $video_height = 450; } } } } } if ($gutters == "yes" && $multi_size == "tall") { $thumb_height = $thumb_height + 50; } if ($gutters == "yes" && $multi_size == "wide-tall") { $thumb_height = $thumb_height + 15; } } if ($display_type == "masonry" || $display_type == "masonry-gallery") { $thumb_height = null; } $thumb_type = sf_get_post_meta($post->ID, 'sf_thumbnail_type', true); $thumb_image = rwmb_meta('sf_thumbnail_image', 'type=image&size=full'); $thumb_video = sf_get_post_meta($post->ID, 'sf_thumbnail_video_url', true); if ($display_type == "multi-size-masonry" && $multi_size != "") { $thumb_gallery = rwmb_meta('sf_thumbnail_gallery', 'type=image&size=large-square'); } else { if ($columns == "2") { $thumb_gallery = rwmb_meta('sf_thumbnail_gallery', 'type=image&size=thumb-image-twocol'); } else { $thumb_gallery = rwmb_meta('sf_thumbnail_gallery', 'type=image&size=thumb-image'); } } $thumb_link_type = sf_get_post_meta($post->ID, 'sf_thumbnail_link_type', true); $thumb_link_url = sf_get_post_meta($post->ID, 'sf_thumbnail_link_url', true); $thumb_lightbox_thumb = rwmb_meta('sf_thumbnail_image', 'type=image&size=large'); $thumb_lightbox_image = rwmb_meta('sf_thumbnail_link_image', 'type=image&size=large'); $thumb_lightbox_video_url = sf_get_post_meta($post->ID, 'sf_thumbnail_link_video_url', true); $thumb_lightbox_video_url = sf_get_embed_src($thumb_lightbox_video_url); $port_hover_bg_color = sf_get_post_meta($post->ID, 'sf_port_hover_bg_color', true); $port_hover_text_color = sf_get_post_meta($post->ID, 'sf_port_hover_text_color', true); if ($port_hover_bg_color != "") { if (isset($sf_options['overlay_opacity'])) { $overlay_opacity = $sf_options['overlay_opacity']; if ($overlay_opacity == 100) { $overlay_opacity = '1'; } else { $overlay_opacity = '0.' . $overlay_opacity; } $port_hover_bg_rgb = sf_hex2rgb($port_hover_bg_color); $port_hover_style = 'style="background-color:rgba(' . $port_hover_bg_rgb['red'] . ',' . $port_hover_bg_rgb['green'] . ',' . $port_hover_bg_rgb['blue'] . ',' . $overlay_opacity . ');"'; } else { if (isset($sf_options['overlay_opacity_top'])) { $overlay_opacity_top = $sf_options['overlay_opacity_top']; $overlay_opacity_bottom = $sf_options['overlay_opacity_bottom']; $port_hover_bg_rgb = sf_hex2rgb($port_hover_bg_color); if ($overlay_opacity_top < 100 || $overlay_opacity_bottom < 100) { $overlay_opacity_top = $overlay_opacity_top < 100 ? '0.' . $overlay_opacity_top : '1.0'; $overlay_opacity_bottom = $overlay_opacity_bottom < 100 ? '0.' . $overlay_opacity_bottom : '1.0'; $port_hover_style = 'style="background: -webkit-gradient(linear,left top,left bottom,color-stop(25%,rgba(' . $port_hover_bg_rgb["red"] . ',' . $port_hover_bg_rgb["green"] . ',' . $port_hover_bg_rgb["blue"] . ', ' . $overlay_opacity_top . ')),to(rgba(' . $port_hover_bg_rgb["red"] . ',' . $port_hover_bg_rgb["green"] . ',' . $port_hover_bg_rgb["blue"] . ', ' . $overlay_opacity_bottom . '))); background: -webkit-linear-gradient(top, rgba(' . $port_hover_bg_rgb["red"] . ',' . $port_hover_bg_rgb["green"] . ',' . $port_hover_bg_rgb["blue"] . ', ' . $overlay_opacity_top . ') 25%,rgba(' . $port_hover_bg_rgb["red"] . ',' . $port_hover_bg_rgb["green"] . ',' . $port_hover_bg_rgb["blue"] . ', ' . $overlay_opacity_bottom . ') 100%); background: linear-gradient(to bottom, rgba(' . $port_hover_bg_rgb["red"] . ',' . $port_hover_bg_rgb["green"] . ',' . $port_hover_bg_rgb["blue"] . ', ' . $overlay_opacity_top . ') 25%, rgba(' . $port_hover_bg_rgb["red"] . ',' . $port_hover_bg_rgb["green"] . ',' . $port_hover_bg_rgb["blue"] . ', ' . $overlay_opacity_bottom . ') 100%);"'; } } } } if ($port_hover_text_color != "") { $port_hover_text_style = 'style="color: ' . $port_hover_text_color . ';"'; } foreach ($thumb_image as $detail_image) { $thumb_image_id = $detail_image['ID']; $thumb_img_url = $detail_image['url']; break; } if (!$thumb_image) { $thumb_image = get_post_thumbnail_id(); $thumb_image_id = $thumb_image; $thumb_img_url = wp_get_attachment_url($thumb_image, 'full'); } $thumb_lightbox_img_url = wp_get_attachment_url($thumb_lightbox_image, 'full'); $image_alt = esc_attr(sf_get_post_meta($thumb_image_id, '_wp_attachment_image_alt', true)); $item_title = get_the_title(); $item_subtitle = sf_get_post_meta($post->ID, 'sf_portfolio_subtitle', true); $permalink = get_permalink(); $item_link = sf_portfolio_item_link(); $custom_excerpt = sf_get_post_meta($post->ID, 'sf_custom_excerpt', true); $post_excerpt = ''; if ($custom_excerpt != '') { $post_excerpt = sf_custom_excerpt($custom_excerpt, $excerpt_length); } else { $post_excerpt = sf_excerpt($excerpt_length); } if ($display_type == "gallery" || $display_type == "masonry-gallery" || $display_type == "multi-size-masonry") { $portfolio_thumb .= '<figure class="animated-overlay overlay-style">' . "\n"; } else { $portfolio_thumb .= '<figure class="animated-overlay overlay-alt">' . "\n"; } if ($thumb_type == "video") { $video = sf_video_embed($thumb_video, $thumb_width, $video_height); $portfolio_thumb .= '<div class="video-thumb">' . $video . '</div>'; } else { if ($thumb_type == "slider") { $portfolio_thumb .= '<div class="flexslider thumb-slider"><ul class="slides">' . "\n"; foreach ($thumb_gallery as $image) { $portfolio_thumb .= "<li><a " . $item_link['config'] . "><img src='{$image['url']}' width='{$image['width']}' height='{$image['height']}' alt='{$image['alt']}' /></a></li>" . "\n"; } $portfolio_thumb .= '</ul></div>' . "\n"; } else { if ($thumb_type == "image" && $thumb_img_url == "") { $thumb_img_url = "default"; } $image = sf_aq_resize($thumb_img_url, $thumb_width, $thumb_height, true, false); if ($image) { $portfolio_thumb .= '<a ' . $item_link['config'] . '></a>'; if ($display_type == "multi-size-masonry") { $portfolio_thumb .= '<div class="multi-masonry-img-wrap"><img itemprop="image" src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $image_alt . '" /></div>' . "\n"; } else { $portfolio_thumb .= '<div class="img-wrap"><img itemprop="image" src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $image_alt . '" /></div>' . "\n"; } $portfolio_thumb .= '<div class="figcaption-wrap"></div>'; if ($item_subtitle != "" && $hover_show_excerpt == "no" && ($display_type == "gallery" || $display_type == "masonry-gallery" || $display_type == "multi-size-masonry")) { $portfolio_thumb .= '<figcaption ' . $port_hover_style . '><div class="thumb-info">'; } else { if ($display_type == "standard" || $display_type == "masonry") { $portfolio_thumb .= '<figcaption ' . $port_hover_style . '><div class="thumb-info thumb-info-alt">'; } else { if ($hover_show_excerpt == "yes" && ($display_type == "gallery" || $display_type == "masonry-gallery")) { $portfolio_thumb .= '<figcaption ' . $port_hover_style . '><div class="thumb-info thumb-info-excerpt">'; } else { $portfolio_thumb .= '<figcaption ' . $port_hover_style . '><div class="thumb-info">'; } } } if ($display_type == "gallery" || $display_type == "masonry-gallery" || $display_type == "multi-size-masonry") { if ($hover_show_excerpt == "yes") { $portfolio_thumb .= '<h4 itemprop="name headline" ' . $port_hover_text_style . '>' . $item_title . '</h4>'; if ($post_excerpt != "") { $portfolio_thumb .= '<div class="name-divide"></div>'; $portfolio_thumb .= '<div itemprop="description" ' . $port_hover_text_style . '>' . $post_excerpt . '</div>'; } } else { if (sf_theme_supports('alt-gallery-hover')) { if ($item_link['svg_icon'] != "") { $portfolio_thumb .= $item_link['svg_icon']; } else { $portfolio_thumb .= '<i class="' . $item_link['icon'] . '"></i>'; } } $portfolio_thumb .= '<h4 itemprop="name headline" ' . $port_hover_text_style . '>' . $item_title . '</h4>'; if ($item_subtitle != "") { $portfolio_thumb .= '<div class="name-divide"></div>'; $portfolio_thumb .= '<h5 itemprop="name alternativeHeadline" ' . $port_hover_text_style . '>' . $item_subtitle . '</h5>'; } } } else { if ($item_link['svg_icon'] != "") { $portfolio_thumb .= $item_link['svg_icon']; } else { $portfolio_thumb .= '<i class="' . $item_link['icon'] . '"></i>'; } } $portfolio_thumb .= '</div></figcaption>'; } } } $portfolio_thumb .= '</figure>' . "\n"; return $portfolio_thumb; }
/** * Add custom fields to edit menu page * * @access public * @since 1.0 * @return void */ function sf_mega_menu_add_custom_fields($item_id, $item, $depth, $args) { $built_in_mega = true; if (sf_theme_supports('max-mega-menu')) { $built_in_mega = false; } $button_colours = array('accent' => __('Accent', 'swiftframework'), 'black' => __('Black', 'swiftframework'), 'white' => __('White', 'swiftframework'), 'blue' => __('Blue', 'swiftframework'), 'grey' => __('Grey', 'swiftframework'), 'lightgrey' => __('Light Grey', 'swiftframework'), 'orange' => __('Orange', 'swiftframework'), 'green' => __('Green', 'swiftframework'), 'pink' => __('Pink', 'swiftframework'), 'gold' => __('Gold', 'swiftframework'), 'purple' => __('Purple', 'swiftframework'), 'midnight' => __('Midnight', 'swiftframework'), 'transparent-light' => __('Transparent - Light', 'swiftframework'), 'transparent-dark' => __('Transparent - Dark', 'swiftframework')); $button_types = array("standard" => __("Standard", "swiftframework"), "bordered" => __("Bordered", "swiftframework"), "rounded" => __("Rounded", "swiftframework"), "rounded-bordered" => __("Rounded Bordered", "swiftframework")); $button_colours = apply_filters('sf_menu_button_colours', $button_colours); $button_types = apply_filters('sf_menu_button_types', $button_types); ?> <div class="sf-menu-options"> <?php if ($depth == 0) { ?> <h4>Mega Menu Options</h4> <?php if ($built_in_mega) { ?> <p class="field-custom description description-wide"> <label for="edit-menu-megamenu-<?php echo esc_attr($item_id); ?> "><?php _e('Enable Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-megamenu-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-megamenu[<?php echo esc_attr($item_id); ?> ]" name="menu-megamenu[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->megamenu), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-megamenucols-<?php echo esc_attr($item_id); ?> "><?php _e('Mega Menu Columns', 'swiftframework'); ?> </label> <select class="fat" id="edit-menu-megamenucols-<?php echo esc_attr($item_id); ?> " name="menu-megamenucols[<?php echo esc_attr($item_id); ?> ]"> <?php for ($i = 1; $i <= 6; $i++) { if ($i == $item->megamenucols) { echo '<option selected="selected">' . $i . '</option>'; } else { echo '<option>' . $i . '</option>'; } } ?> </select> </p> <p class="field-custom description description-wide"> <label for="edit-menu-is-naturalwidth-<?php echo esc_attr($item_id); ?> "><?php _e('Natural Width Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-is-naturalwidth-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-naturalwidth[<?php echo esc_attr($item_id); ?> ]" name="menu-is-naturalwidth[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->isnaturalwidth), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-is-altstyle-<?php echo esc_attr($item_id); ?> "><?php _e('Alternative Style Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-is-altstyle-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-altstyle[<?php echo esc_attr($item_id); ?> ]" name="menu-is-altstyle[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->altstyle), 1, false); ?> /> </label> </p> <?php } ?> <p class="field-custom description description-wide"> <label for="edit-menu-hideheadings-<?php echo esc_attr($item_id); ?> "><?php _e('Hide Mega Menu Headings', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-hideheadings-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-hideheadings[<?php echo esc_attr($item_id); ?> ]" name="menu-hideheadings[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->hideheadings), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide" style="height: 10px;"></p> <?php } ?> <h4>Custom Menu Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-loggedinvis-<?php echo esc_attr($item_id); ?> "><?php _e('Visible only when logged in', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-loggedinvis-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-loggedinvis[<?php echo esc_attr($item_id); ?> ]" name="menu-loggedinvis[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->loggedinvis), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-loggedoutvis-<?php echo esc_attr($item_id); ?> "><?php _e('Visible only when logged out', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-loggedoutvis-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-loggedoutvis[<?php echo esc_attr($item_id); ?> ]" name="menu-loggedoutvis[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->loggedoutvis), 1, false); ?> /> </label> </p> <?php if ($depth == 0) { ?> <?php if (sf_theme_supports('menu-new-badge')) { ?> <p class="field-custom description description-wide"> <label for="edit-menu-newbadge-<?php echo esc_attr($item_id); ?> "><?php _e('New Badge', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-newbadge-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-newbadge[<?php echo esc_attr($item_id); ?> ]" name="menu-newbadge[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->newbadge), 1, false); ?> /> </label> </p> <?php } ?> <p class="field-custom description description-wide"> <label for="edit-menu-menuitembtn-<?php echo esc_attr($item_id); ?> "><?php _e('Button Style Menu Item', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-menuitembtn-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-menuitembtn[<?php echo esc_attr($item_id); ?> ]" name="menu-menuitembtn[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->menuitembtn), 1, false); ?> /> </label> </p> <?php if (sf_theme_supports('menu-button-advanced')) { ?> <p class="field-custom description description-wide"> <label for="edit-menu-buttontype-<?php echo esc_attr($item_id); ?> "><?php _e('Button Type', 'swiftframework'); ?> </label> <select class="fat" id="edit-menu-buttontype-<?php echo esc_attr($item_id); ?> " name="menu-buttontype[<?php echo esc_attr($item_id); ?> ]"> <?php foreach ($button_types as $button_type => $button_type_name) { if ($button_type == $item->buttontype) { echo '<option selected="selected" value="' . $button_type . '">' . $button_type_name . '</option>'; } else { echo '<option value="' . $button_type . '">' . $button_type_name . '</option>'; } } ?> </select> </p> <p class="field-custom description description-wide"> <label for="edit-menu-buttoncolour-<?php echo esc_attr($item_id); ?> "><?php _e('Button Colour', 'swiftframework'); ?> </label> <select class="fat" id="edit-menu-buttoncolour-<?php echo esc_attr($item_id); ?> " name="menu-buttoncolour[<?php echo esc_attr($item_id); ?> ]"> <?php foreach ($button_colours as $button_colour => $button_colour_name) { if ($button_colour == $item->buttoncolour) { echo '<option selected="selected" value="' . $button_colour . '">' . $button_colour_name . '</option>'; } else { echo '<option value="' . $button_colour . '">' . $button_colour_name . '</option>'; } } ?> </select> </p> <?php } ?> <?php } ?> <?php if ($built_in_mega) { ?> <p class="field-custom description description-thin" style="height: auto;overflow: hidden;width: 50%;float: none;"> <label for="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> "><?php _e('Menu Icon (Icon Mind / Font Awesome)', 'swiftframework'); ?> <input type="text" id="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-icon[<?php echo esc_attr($item_id); ?> ]" placeholder="ss-star" value="<?php echo esc_attr($item->menuicon); ?> "/> </label> </p> <?php } ?> <?php if ($depth == 1 && $built_in_mega) { ?> <h4>Mega Menu Column Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-megatitle-<?php echo esc_attr($item_id); ?> "><?php _e('Mega Menu No Link Title', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-megatitle-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-megatitle[<?php echo esc_attr($item_id); ?> ]" name="menu-megatitle[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->megatitle), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-nocolumnspacing-<?php echo esc_attr($item_id); ?> "><?php _e('No Menu Column Spacing (for custom html column)', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-nocolumnspacing-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-nocolumnspacing[<?php echo esc_attr($item_id); ?> ]" name="menu-nocolumnspacing[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->nocolumnspacing), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> "><?php _e('Custom HTML Column Width (optional)', 'swiftframework'); ?> <input type="text" id="edit-menu-item-width-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-width[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->menuwidth); ?> "/> </label> <p><?php _e('Optionally set a width here for the menu column, ideal if you want to make it wider. Numeric value (no px).', 'swiftframework'); ?> </p> </p> <p class="field-custom description description-wide"> <label for="edit-menu-item-htmlcontent-<?php echo esc_attr($item_id); ?> "><?php _e('Custom HTML Column (within Mega Menu)', 'swiftframework'); ?> <textarea id="edit-menu-item-htmlcontent-<?php echo esc_attr($item_id); ?> " name="menu-item-htmlcontent[<?php echo esc_attr($item_id); ?> ]" cols="30" rows="4"><?php echo esc_attr($item->htmlcontent); ?> </textarea> </label> </p> <?php } ?> </div> <?php }
protected function content($atts, $content = null) { global $sf_options; $title = $category = $wrap_class = $title_class = $item_class = $width = $el_class = $output = $filter = $items = $el_position = ''; extract(shortcode_atts(array('title' => '', "item_count" => '5', "category" => 'all', 'pagination' => 'no', 'el_position' => '', 'width' => '1/1', 'el_class' => ''), $atts)); $pagination_view_icon = apply_filters('sf_pagination_view_icon', '<i class="sf-icon-quickview"></i>'); // TYPE CHECK $alt_display = false; if (sf_theme_supports('spb-port-showcase-alt')) { $alt_display = true; } // CATEGORY SLUG MODIFICATION if ($category == "All") { $category = "all"; } if ($category == "all") { $category = ''; } $category_slug = str_replace('_', '-', $category); global $post, $wp_query; $categories = explode(",", $category_slug); $translated_categories = ''; foreach ($categories as $key => $category_slug) { $category_id_by_slug = get_term_by('slug', $category_slug, 'portfolio-category'); if (isset($category_id_by_slug->term_id)) { $translated_slug_id = apply_filters('wpml_object_id', $category_id_by_slug->term_id, 'custom taxonomy', true); $translated_slug = get_term_by('id', $translated_slug_id, 'portfolio-category'); $translated_categories = $translated_categories . ($key < count($categories) - 1 ? $translated_slug->slug . ',' : $translated_slug->slug); } } $portfolio_args = array('post_type' => 'portfolio', 'post_status' => 'publish', 'portfolio-category' => $translated_categories, 'posts_per_page' => $item_count, 'no_found_rows' => 1); $portfolio_items = new WP_Query($portfolio_args); // OUTPUT if ($alt_display == "yes") { if ($pagination == "yes") { $wrap_class = "has-pagination "; } $title_class = "center-title"; global $sf_carouselID; if ($sf_carouselID == "") { $sf_carouselID = 1; } else { $sf_carouselID++; } $items .= '<div class="port-carousel carousel-wrap">'; $items .= spb_carousel_arrows(true); $items .= '<div id="carousel-' . $sf_carouselID . '" class="portfolio-showcase carousel-items staged-carousel gutters clearfix" data-columns="5" data-auto="false" data-pagination="' . $pagination . '">'; } else { $items .= '<div class="portfolio-showcase-wrap"><ul class="portfolio-showcase-items clearfix" data-columns="' . $item_count . '">'; } while ($portfolio_items->have_posts()) { $portfolio_items->the_post(); if ($alt_display) { $items .= '<div itemscope class="clearfix carousel-item portfolio-item gallery-item">'; $items .= sf_portfolio_thumbnail("gallery", "", "1/1", '3', "no", 0, "yes", "yes"); $items .= '</div>'; } else { $thumb_img_url = ""; $item_title = get_the_title(); $item_subtitle = sf_get_post_meta($post->ID, 'sf_portfolio_subtitle', true); $thumb_image = rwmb_meta('sf_thumbnail_image', 'type=image&size=full'); foreach ($thumb_image as $detail_image) { $thumb_img_url = $detail_image['url']; break; } if (!$thumb_image || $thumb_img_url == "") { $thumb_image = get_post_thumbnail_id(); $thumb_img_url = wp_get_attachment_url($thumb_image, 'full'); } $item_title = get_the_title(); $permalink = get_permalink(); $item_link = sf_portfolio_item_link(); $items .= '<li itemscope class="clearfix portfolio-item deselected-item ' . $item_class . '">'; // THUMBNAIL MEDIA TYPE SETUP $image_width = 700; $image_height = 350; if ($item_count == "5") { $image_width = 500; $image_height = 500; } if ($thumb_img_url == "") { $thumb_img_url = "default"; } $image = sf_aq_resize($thumb_img_url, $image_width, $image_height, true, false); if ($image) { $items .= '<a ' . $item_link['config'] . '>'; $items .= '<img itemprop="image" class="main-image" src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $item_title . '" />'; $items .= '</a>'; } if ($item_subtitle == "") { $items .= '<div class="item-info">'; $items .= '<span class="item-title"><a href="' . $permalink . '">' . $item_title . '</a></span>'; $items .= '</div>'; } else { $items .= '<div class="item-info has-subtitle">'; $items .= '<span class="item-title"><a href="' . $permalink . '">' . $item_title . '</a></span>'; $items .= '<span><a href="' . $permalink . '">' . $item_subtitle . '</a></span>'; $items .= '</div>'; } $items .= '</li>'; } } wp_reset_postdata(); if ($alt_display == "yes") { $items .= '</div></div>'; } else { $items .= '</div>'; } $width = spb_translateColumnWidthToSpan($width); $el_class = $this->getExtraClass($el_class); $sidebar_config = sf_get_post_meta(get_the_ID(), 'sf_sidebar_config', true); $sidebars = ''; if ($sidebar_config == "left-sidebar" || $sidebar_config == "right-sidebar") { $sidebars = 'one-sidebar'; } else { if ($sidebar_config == "both-sidebars") { $sidebars = 'both-sidebars'; } else { $sidebars = 'no-sidebars'; } } $view_all = ""; $portfolio_page = __($sf_options['portfolio_page'], 'swift-framework-plugin'); if ($category_slug != "") { $has_button = true; $category_id = get_cat_ID($category_slug); $category_link = get_category_link($category_id); $view_all = '<a class="view-all hidden" href="' . esc_url($category_link) . '">' . $pagination_view_icon . '</a>'; } else { if ($portfolio_page != "") { $view_all = '<a class="view-all hidden" href="' . get_permalink($portfolio_page) . '">' . $pagination_view_icon . '</a>'; } } $output .= "\n\t" . '<div class="spb_portfolio_showcase_widget spb_content_element ' . $wrap_class . $width . $el_class . '">'; if ($pagination == "yes") { $output .= "\n\t\t" . $view_all; } $output .= "\n\t\t" . '<div class="spb-asset-content">'; $output .= $title != '' ? "\n\t\t\t" . $this->spb_title($title, $title_class, true) : ''; $output .= "\n\t\t\t" . $items; $output .= "\n\t\t" . '</div>'; $output .= "\n\t" . '</div> ' . $this->endBlockComment($width); $output = $this->startRow($el_position, '', true) . $output . $this->endRow($el_position, '', true); global $sf_has_portfolio_showcase, $sf_include_carousel; if ($alt_display) { $sf_include_carousel = true; } else { $sf_has_portfolio_showcase = true; } return $output; }
function sf_get_icons_list($type = "", $format = "list") { // VARIABLES $icon_list = $fontawesome = $gizmo_list = $nucleo_interface = $nucleo_general = ""; // FONT AWESOME $fontawesome = array('f26e' => 'fa-500px', 'f042' => 'fa-adjust', 'f170' => 'fa-adn', 'f037' => 'fa-align-center', 'f039' => 'fa-align-justify', 'f036' => 'fa-align-left', 'f038' => 'fa-align-right', 'f270' => 'fa-amazon', 'f0f9' => 'fa-ambulance', 'f2a3' => 'fa-american-sign-language-interpreting', 'f13d' => 'fa-anchor', 'f17b' => 'fa-android', 'f209' => 'fa-angellist', 'f103' => 'fa-angle-double-down', 'f100' => 'fa-angle-double-left', 'f101' => 'fa-angle-double-right', 'f102' => 'fa-angle-double-up', 'f107' => 'fa-angle-down', 'f104' => 'fa-angle-left', 'f105' => 'fa-angle-right', 'f106' => 'fa-angle-up', 'f179' => 'fa-apple', 'f187' => 'fa-archive', 'f1fe' => 'fa-area-chart', 'f0ab' => 'fa-arrow-circle-down', 'f0a8' => 'fa-arrow-circle-left', 'f01a' => 'fa-arrow-circle-o-down', 'f190' => 'fa-arrow-circle-o-left', 'f18e' => 'fa-arrow-circle-o-right', 'f01b' => 'fa-arrow-circle-o-up', 'f0a9' => 'fa-arrow-circle-right', 'f0aa' => 'fa-arrow-circle-up', 'f063' => 'fa-arrow-down', 'f060' => 'fa-arrow-left', 'f061' => 'fa-arrow-right', 'f062' => 'fa-arrow-up', 'f047' => 'fa-arrows', 'f0b2' => 'fa-arrows-alt', 'f07e' => 'fa-arrows-h', 'f07d' => 'fa-arrows-v', 'f2a3' => 'fa-asl-interpreting', 'f2a2' => 'fa-assistive-listening-systems', 'f069' => 'fa-asterisk', 'f1fa' => 'fa-at', 'f29e' => 'fa-audio-description', 'f1b9' => 'fa-automobile', 'f04a' => 'fa-backward', 'f24e' => 'fa-balance-scale', 'f05e' => 'fa-ban', 'f19c' => 'fa-bank', 'f080' => 'fa-bar-chart', 'f080' => 'fa-bar-chart-o', 'f02a' => 'fa-barcode', 'f0c9' => 'fa-bars', 'f244' => 'fa-battery-0', 'f243' => 'fa-battery-1', 'f242' => 'fa-battery-2', 'f241' => 'fa-battery-3', 'f240' => 'fa-battery-4', 'f244' => 'fa-battery-empty', 'f240' => 'fa-battery-full', 'f242' => 'fa-battery-half', 'f243' => 'fa-battery-quarter', 'f241' => 'fa-battery-three-quarters', 'f236' => 'fa-bed', 'f0fc' => 'fa-beer', 'f1b4' => 'fa-behance', 'f1b5' => 'fa-behance-square', 'f0f3' => 'fa-bell', 'f0a2' => 'fa-bell-o', 'f1f6' => 'fa-bell-slash', 'f1f7' => 'fa-bell-slash-o', 'f206' => 'fa-bicycle', 'f1e5' => 'fa-binoculars', 'f1fd' => 'fa-birthday-cake', 'f171' => 'fa-bitbucket', 'f172' => 'fa-bitbucket-square', 'f15a' => 'fa-bitcoin', 'f27e' => 'fa-black-tie', 'f29d' => 'fa-blind', 'f293' => 'fa-bluetooth', 'f294' => 'fa-bluetooth-b', 'f032' => 'fa-bold', 'f0e7' => 'fa-bolt', 'f1e2' => 'fa-bomb', 'f02d' => 'fa-book', 'f02e' => 'fa-bookmark', 'f097' => 'fa-bookmark-o', 'f2a1' => 'fa-braille', 'f0b1' => 'fa-briefcase', 'f15a' => 'fa-btc', 'f188' => 'fa-bug', 'f1ad' => 'fa-building', 'f0f7' => 'fa-building-o', 'f0a1' => 'fa-bullhorn', 'f140' => 'fa-bullseye', 'f207' => 'fa-bus', 'f20d' => 'fa-buysellads', 'f1ba' => 'fa-cab', 'f1ec' => 'fa-calculator', 'f073' => 'fa-calendar', 'f274' => 'fa-calendar-check-o', 'f272' => 'fa-calendar-minus-o', 'f133' => 'fa-calendar-o', 'f271' => 'fa-calendar-plus-o', 'f273' => 'fa-calendar-times-o', 'f030' => 'fa-camera', 'f083' => 'fa-camera-retro', 'f1b9' => 'fa-car', 'f0d7' => 'fa-caret-down', 'f0d9' => 'fa-caret-left', 'f0da' => 'fa-caret-right', 'f150' => 'fa-caret-square-o-down', 'f191' => 'fa-caret-square-o-left', 'f152' => 'fa-caret-square-o-right', 'f151' => 'fa-caret-square-o-up', 'f0d8' => 'fa-caret-up', 'f218' => 'fa-cart-arrow-down', 'f217' => 'fa-cart-plus', 'f20a' => 'fa-cc', 'f1f3' => 'fa-cc-amex', 'f24c' => 'fa-cc-diners-club', 'f1f2' => 'fa-cc-discover', 'f24b' => 'fa-cc-jcb', 'f1f1' => 'fa-cc-mastercard', 'f1f4' => 'fa-cc-paypal', 'f1f5' => 'fa-cc-stripe', 'f1f0' => 'fa-cc-visa', 'f0a3' => 'fa-certificate', 'f0c1' => 'fa-chain', 'f127' => 'fa-chain-broken', 'f00c' => 'fa-check', 'f058' => 'fa-check-circle', 'f05d' => 'fa-check-circle-o', 'f14a' => 'fa-check-square', 'f046' => 'fa-check-square-o', 'f13a' => 'fa-chevron-circle-down', 'f137' => 'fa-chevron-circle-left', 'f138' => 'fa-chevron-circle-right', 'f139' => 'fa-chevron-circle-up', 'f078' => 'fa-chevron-down', 'f053' => 'fa-chevron-left', 'f054' => 'fa-chevron-right', 'f077' => 'fa-chevron-up', 'f1ae' => 'fa-child', 'f268' => 'fa-chrome', 'f111' => 'fa-circle', 'f10c' => 'fa-circle-o', 'f1ce' => 'fa-circle-o-notch', 'f1db' => 'fa-circle-thin', 'f0ea' => 'fa-clipboard', 'f017' => 'fa-clock-o', 'f24d' => 'fa-clone', 'f00d' => 'fa-close', 'f0c2' => 'fa-cloud', 'f0ed' => 'fa-cloud-download', 'f0ee' => 'fa-cloud-upload', 'f157' => 'fa-cny', 'f121' => 'fa-code', 'f126' => 'fa-code-fork', 'f1cb' => 'fa-codepen', 'f284' => 'fa-codiepie', 'f0f4' => 'fa-coffee', 'f013' => 'fa-cog', 'f085' => 'fa-cogs', 'f0db' => 'fa-columns', 'f075' => 'fa-comment', 'f0e5' => 'fa-comment-o', 'f27a' => 'fa-commenting', 'f27b' => 'fa-commenting-o', 'f086' => 'fa-comments', 'f0e6' => 'fa-comments-o', 'f14e' => 'fa-compass', 'f066' => 'fa-compress', 'f20e' => 'fa-connectdevelop', 'f26d' => 'fa-contao', 'f0c5' => 'fa-copy', 'f1f9' => 'fa-copyright', 'f25e' => 'fa-creative-commons', 'f09d' => 'fa-credit-card', 'f283' => 'fa-credit-card-alt', 'f125' => 'fa-crop', 'f05b' => 'fa-crosshairs', 'f13c' => 'fa-css3', 'f1b2' => 'fa-cube', 'f1b3' => 'fa-cubes', 'f0c4' => 'fa-cut', 'f0f5' => 'fa-cutlery', 'f0e4' => 'fa-dashboard', 'f210' => 'fa-dashcube', 'f1c0' => 'fa-database', 'f2a4' => 'fa-deaf', 'f2a4' => 'fa-deafness', 'f03b' => 'fa-dedent', 'f1a5' => 'fa-delicious', 'f108' => 'fa-desktop', 'f1bd' => 'fa-deviantart', 'f219' => 'fa-diamond', 'f1a6' => 'fa-digg', 'f155' => 'fa-dollar', 'f192' => 'fa-dot-circle-o', 'f019' => 'fa-download', 'f17d' => 'fa-dribbble', 'f16b' => 'fa-dropbox', 'f1a9' => 'fa-drupal', 'f282' => 'fa-edge', 'f044' => 'fa-edit', 'f052' => 'fa-eject', 'f141' => 'fa-ellipsis-h', 'f142' => 'fa-ellipsis-v', 'f1d1' => 'fa-empire', 'f0e0' => 'fa-envelope', 'f003' => 'fa-envelope-o', 'f199' => 'fa-envelope-square', 'f299' => 'fa-envira', 'f12d' => 'fa-eraser', 'f153' => 'fa-eur', 'f153' => 'fa-euro', 'f0ec' => 'fa-exchange', 'f12a' => 'fa-exclamation', 'f06a' => 'fa-exclamation-circle', 'f071' => 'fa-exclamation-triangle', 'f065' => 'fa-expand', 'f23e' => 'fa-expeditedssl', 'f08e' => 'fa-external-link', 'f14c' => 'fa-external-link-square', 'f06e' => 'fa-eye', 'f070' => 'fa-eye-slash', 'f1fb' => 'fa-eyedropper', 'f2b4' => 'fa-fa', 'f09a' => 'fa-facebook', 'f09a' => 'fa-facebook-f', 'f230' => 'fa-facebook-official', 'f082' => 'fa-facebook-square', 'f049' => 'fa-fast-backward', 'f050' => 'fa-fast-forward', 'f1ac' => 'fa-fax', 'f09e' => 'fa-feed', 'f182' => 'fa-female', 'f0fb' => 'fa-fighter-jet', 'f15b' => 'fa-file', 'f1c6' => 'fa-file-archive-o', 'f1c7' => 'fa-file-audio-o', 'f1c9' => 'fa-file-code-o', 'f1c3' => 'fa-file-excel-o', 'f1c5' => 'fa-file-image-o', 'f1c8' => 'fa-file-movie-o', 'f016' => 'fa-file-o', 'f1c1' => 'fa-file-pdf-o', 'f1c5' => 'fa-file-photo-o', 'f1c5' => 'fa-file-picture-o', 'f1c4' => 'fa-file-powerpoint-o', 'f1c7' => 'fa-file-sound-o', 'f15c' => 'fa-file-text', 'f0f6' => 'fa-file-text-o', 'f1c8' => 'fa-file-video-o', 'f1c2' => 'fa-file-word-o', 'f1c6' => 'fa-file-zip-o', 'f0c5' => 'fa-files-o', 'f008' => 'fa-film', 'f0b0' => 'fa-filter', 'f06d' => 'fa-fire', 'f134' => 'fa-fire-extinguisher', 'f269' => 'fa-firefox', 'f2b0' => 'fa-first-order', 'f024' => 'fa-flag', 'f11e' => 'fa-flag-checkered', 'f11d' => 'fa-flag-o', 'f0e7' => 'fa-flash', 'f0c3' => 'fa-flask', 'f16e' => 'fa-flickr', 'f0c7' => 'fa-floppy-o', 'f07b' => 'fa-folder', 'f114' => 'fa-folder-o', 'f07c' => 'fa-folder-open', 'f115' => 'fa-folder-open-o', 'f031' => 'fa-font', 'f2b4' => 'fa-font-awesome', 'f280' => 'fa-fonticons', 'f286' => 'fa-fort-awesome', 'f211' => 'fa-forumbee', 'f04e' => 'fa-forward', 'f180' => 'fa-foursquare', 'f119' => 'fa-frown-o', 'f1e3' => 'fa-futbol-o', 'f11b' => 'fa-gamepad', 'f0e3' => 'fa-gavel', 'f154' => 'fa-gbp', 'f1d1' => 'fa-ge', 'f013' => 'fa-gear', 'f085' => 'fa-gears', 'f22d' => 'fa-genderless', 'f265' => 'fa-get-pocket', 'f260' => 'fa-gg', 'f261' => 'fa-gg-circle', 'f06b' => 'fa-gift', 'f1d3' => 'fa-git', 'f1d2' => 'fa-git-square', 'f09b' => 'fa-github', 'f113' => 'fa-github-alt', 'f092' => 'fa-github-square', 'f296' => 'fa-gitlab', 'f184' => 'fa-gittip', 'f000' => 'fa-glass', 'f2a5' => 'fa-glide', 'f2a6' => 'fa-glide-g', 'f0ac' => 'fa-globe', 'f1a0' => 'fa-google', 'f0d5' => 'fa-google-plus', 'f2b3' => 'fa-google-plus-circle', 'f2b3' => 'fa-google-plus-official', 'f0d4' => 'fa-google-plus-square', 'f1ee' => 'fa-google-wallet', 'f19d' => 'fa-graduation-cap', 'f184' => 'fa-gratipay', 'f0c0' => 'fa-group', 'f0fd' => 'fa-h-square', 'f1d4' => 'fa-hacker-news', 'f255' => 'fa-hand-grab-o', 'f258' => 'fa-hand-lizard-o', 'f0a7' => 'fa-hand-o-down', 'f0a5' => 'fa-hand-o-left', 'f0a4' => 'fa-hand-o-right', 'f0a6' => 'fa-hand-o-up', 'f256' => 'fa-hand-paper-o', 'f25b' => 'fa-hand-peace-o', 'f25a' => 'fa-hand-pointer-o', 'f255' => 'fa-hand-rock-o', 'f257' => 'fa-hand-scissors-o', 'f259' => 'fa-hand-spock-o', 'f256' => 'fa-hand-stop-o', 'f2a4' => 'fa-hard-of-hearing', 'f292' => 'fa-hashtag', 'f0a0' => 'fa-hdd-o', 'f1dc' => 'fa-header', 'f025' => 'fa-headphones', 'f004' => 'fa-heart', 'f08a' => 'fa-heart-o', 'f21e' => 'fa-heartbeat', 'f1da' => 'fa-history', 'f015' => 'fa-home', 'f0f8' => 'fa-hospital-o', 'f236' => 'fa-hotel', 'f254' => 'fa-hourglass', 'f251' => 'fa-hourglass-1', 'f252' => 'fa-hourglass-2', 'f253' => 'fa-hourglass-3', 'f253' => 'fa-hourglass-end', 'f252' => 'fa-hourglass-half', 'f250' => 'fa-hourglass-o', 'f251' => 'fa-hourglass-start', 'f27c' => 'fa-houzz', 'f13b' => 'fa-html5', 'f246' => 'fa-i-cursor', 'f20b' => 'fa-ils', 'f03e' => 'fa-image', 'f01c' => 'fa-inbox', 'f03c' => 'fa-indent', 'f275' => 'fa-industry', 'f129' => 'fa-info', 'f05a' => 'fa-info-circle', 'f156' => 'fa-inr', 'f16d' => 'fa-instagram', 'f19c' => 'fa-institution', 'f26b' => 'fa-internet-explorer', 'f224' => 'fa-intersex', 'f208' => 'fa-ioxhost', 'f033' => 'fa-italic', 'f1aa' => 'fa-joomla', 'f157' => 'fa-jpy', 'f1cc' => 'fa-jsfiddle', 'f084' => 'fa-key', 'f11c' => 'fa-keyboard-o', 'f159' => 'fa-krw', 'f1ab' => 'fa-language', 'f109' => 'fa-laptop', 'f202' => 'fa-lastfm', 'f203' => 'fa-lastfm-square', 'f06c' => 'fa-leaf', 'f212' => 'fa-leanpub', 'f0e3' => 'fa-legal', 'f094' => 'fa-lemon-o', 'f149' => 'fa-level-down', 'f148' => 'fa-level-up', 'f1cd' => 'fa-life-bouy', 'f1cd' => 'fa-life-buoy', 'f1cd' => 'fa-life-ring', 'f1cd' => 'fa-life-saver', 'f0eb' => 'fa-lightbulb-o', 'f201' => 'fa-line-chart', 'f0c1' => 'fa-link', 'f0e1' => 'fa-linkedin', 'f08c' => 'fa-linkedin-square', 'f17c' => 'fa-linux', 'f03a' => 'fa-list', 'f022' => 'fa-list-alt', 'f0cb' => 'fa-list-ol', 'f0ca' => 'fa-list-ul', 'f124' => 'fa-location-arrow', 'f023' => 'fa-lock', 'f175' => 'fa-long-arrow-down', 'f177' => 'fa-long-arrow-left', 'f178' => 'fa-long-arrow-right', 'f176' => 'fa-long-arrow-up', 'f2a8' => 'fa-low-vision', 'f0d0' => 'fa-magic', 'f076' => 'fa-magnet', 'f064' => 'fa-mail-forward', 'f112' => 'fa-mail-reply', 'f122' => 'fa-mail-reply-all', 'f183' => 'fa-male', 'f279' => 'fa-map', 'f041' => 'fa-map-marker', 'f278' => 'fa-map-o', 'f276' => 'fa-map-pin', 'f277' => 'fa-map-signs', 'f222' => 'fa-mars', 'f227' => 'fa-mars-double', 'f229' => 'fa-mars-stroke', 'f22b' => 'fa-mars-stroke-h', 'f22a' => 'fa-mars-stroke-v', 'f136' => 'fa-maxcdn', 'f20c' => 'fa-meanpath', 'f23a' => 'fa-medium', 'f0fa' => 'fa-medkit', 'f11a' => 'fa-meh-o', 'f223' => 'fa-mercury', 'f130' => 'fa-microphone', 'f131' => 'fa-microphone-slash', 'f068' => 'fa-minus', 'f056' => 'fa-minus-circle', 'f146' => 'fa-minus-square', 'f147' => 'fa-minus-square-o', 'f289' => 'fa-mixcloud', 'f10b' => 'fa-mobile', 'f10b' => 'fa-mobile-phone', 'f285' => 'fa-modx', 'f0d6' => 'fa-money', 'f186' => 'fa-moon-o', 'f19d' => 'fa-mortar-board', 'f21c' => 'fa-motorcycle', 'f245' => 'fa-mouse-pointer', 'f001' => 'fa-music', 'f0c9' => 'fa-navicon', 'f22c' => 'fa-neuter', 'f1ea' => 'fa-newspaper-o', 'f247' => 'fa-object-group', 'f248' => 'fa-object-ungroup', 'f263' => 'fa-odnoklassniki', 'f264' => 'fa-odnoklassniki-square', 'f23d' => 'fa-opencart', 'f19b' => 'fa-openid', 'f26a' => 'fa-opera', 'f23c' => 'fa-optin-monster', 'f03b' => 'fa-outdent', 'f18c' => 'fa-pagelines', 'f1fc' => 'fa-paint-brush', 'f1d8' => 'fa-paper-plane', 'f1d9' => 'fa-paper-plane-o', 'f0c6' => 'fa-paperclip', 'f1dd' => 'fa-paragraph', 'f0ea' => 'fa-paste', 'f04c' => 'fa-pause', 'f28b' => 'fa-pause-circle', 'f28c' => 'fa-pause-circle-o', 'f1b0' => 'fa-paw', 'f1ed' => 'fa-paypal', 'f040' => 'fa-pencil', 'f14b' => 'fa-pencil-square', 'f044' => 'fa-pencil-square-o', 'f295' => 'fa-percent', 'f095' => 'fa-phone', 'f098' => 'fa-phone-square', 'f03e' => 'fa-photo', 'f03e' => 'fa-picture-o', 'f200' => 'fa-pie-chart', 'f2ae' => 'fa-pied-piper', 'f1a8' => 'fa-pied-piper-alt', 'f1a7' => 'fa-pied-piper-pp', 'f0d2' => 'fa-pinterest', 'f231' => 'fa-pinterest-p', 'f0d3' => 'fa-pinterest-square', 'f072' => 'fa-plane', 'f04b' => 'fa-play', 'f144' => 'fa-play-circle', 'f01d' => 'fa-play-circle-o', 'f1e6' => 'fa-plug', 'f067' => 'fa-plus', 'f055' => 'fa-plus-circle', 'f0fe' => 'fa-plus-square', 'f196' => 'fa-plus-square-o', 'f011' => 'fa-power-off', 'f02f' => 'fa-print', 'f288' => 'fa-product-hunt', 'f12e' => 'fa-puzzle-piece', 'f1d6' => 'fa-qq', 'f029' => 'fa-qrcode', 'f128' => 'fa-question', 'f059' => 'fa-question-circle', 'f29c' => 'fa-question-circle-o', 'f10d' => 'fa-quote-left', 'f10e' => 'fa-quote-right', 'f1d0' => 'fa-ra', 'f074' => 'fa-random', 'f1d0' => 'fa-rebel', 'f1b8' => 'fa-recycle', 'f1a1' => 'fa-reddit', 'f281' => 'fa-reddit-alien', 'f1a2' => 'fa-reddit-square', 'f021' => 'fa-refresh', 'f25d' => 'fa-registered', 'f00d' => 'fa-remove', 'f18b' => 'fa-renren', 'f0c9' => 'fa-reorder', 'f01e' => 'fa-repeat', 'f112' => 'fa-reply', 'f122' => 'fa-reply-all', 'f1d0' => 'fa-resistance', 'f079' => 'fa-retweet', 'f157' => 'fa-rmb', 'f018' => 'fa-road', 'f135' => 'fa-rocket', 'f0e2' => 'fa-rotate-left', 'f01e' => 'fa-rotate-right', 'f158' => 'fa-rouble', 'f09e' => 'fa-rss', 'f143' => 'fa-rss-square', 'f158' => 'fa-rub', 'f158' => 'fa-ruble', 'f156' => 'fa-rupee', 'f267' => 'fa-safari', 'f0c7' => 'fa-save', 'f0c4' => 'fa-scissors', 'f28a' => 'fa-scribd', 'f002' => 'fa-search', 'f010' => 'fa-search-minus', 'f00e' => 'fa-search-plus', 'f213' => 'fa-sellsy', 'f1d8' => 'fa-send', 'f1d9' => 'fa-send-o', 'f233' => 'fa-server', 'f064' => 'fa-share', 'f1e0' => 'fa-share-alt', 'f1e1' => 'fa-share-alt-square', 'f14d' => 'fa-share-square', 'f045' => 'fa-share-square-o', 'f20b' => 'fa-shekel', 'f20b' => 'fa-sheqel', 'f132' => 'fa-shield', 'f21a' => 'fa-ship', 'f214' => 'fa-shirtsinbulk', 'f290' => 'fa-shopping-bag', 'f291' => 'fa-shopping-basket', 'f07a' => 'fa-shopping-cart', 'f090' => 'fa-sign-in', 'f2a7' => 'fa-sign-language', 'f08b' => 'fa-sign-out', 'f012' => 'fa-signal', 'f2a7' => 'fa-signing', 'f215' => 'fa-simplybuilt', 'f0e8' => 'fa-sitemap', 'f216' => 'fa-skyatlas', 'f17e' => 'fa-skype', 'f198' => 'fa-slack', 'f1de' => 'fa-sliders', 'f1e7' => 'fa-slideshare', 'f118' => 'fa-smile-o', 'f2ab' => 'fa-snapchat', 'f2ac' => 'fa-snapchat-ghost', 'f2ad' => 'fa-snapchat-square', 'f1e3' => 'fa-soccer-ball-o', 'f0dc' => 'fa-sort', 'f15d' => 'fa-sort-alpha-asc', 'f15e' => 'fa-sort-alpha-desc', 'f160' => 'fa-sort-amount-asc', 'f161' => 'fa-sort-amount-desc', 'f0de' => 'fa-sort-asc', 'f0dd' => 'fa-sort-desc', 'f0dd' => 'fa-sort-down', 'f162' => 'fa-sort-numeric-asc', 'f163' => 'fa-sort-numeric-desc', 'f0de' => 'fa-sort-up', 'f1be' => 'fa-soundcloud', 'f197' => 'fa-space-shuttle', 'f110' => 'fa-spinner', 'f1b1' => 'fa-spoon', 'f1bc' => 'fa-spotify', 'f0c8' => 'fa-square', 'f096' => 'fa-square-o', 'f18d' => 'fa-stack-exchange', 'f16c' => 'fa-stack-overflow', 'f005' => 'fa-star', 'f089' => 'fa-star-half', 'f123' => 'fa-star-half-empty', 'f123' => 'fa-star-half-full', 'f123' => 'fa-star-half-o', 'f006' => 'fa-star-o', 'f1b6' => 'fa-steam', 'f1b7' => 'fa-steam-square', 'f048' => 'fa-step-backward', 'f051' => 'fa-step-forward', 'f0f1' => 'fa-stethoscope', 'f249' => 'fa-sticky-note', 'f24a' => 'fa-sticky-note-o', 'f04d' => 'fa-stop', 'f28d' => 'fa-stop-circle', 'f28e' => 'fa-stop-circle-o', 'f21d' => 'fa-street-view', 'f0cc' => 'fa-strikethrough', 'f1a4' => 'fa-stumbleupon', 'f1a3' => 'fa-stumbleupon-circle', 'f12c' => 'fa-subscript', 'f239' => 'fa-subway', 'f0f2' => 'fa-suitcase', 'f185' => 'fa-sun-o', 'f12b' => 'fa-superscript', 'f1cd' => 'fa-support', 'f0ce' => 'fa-table', 'f10a' => 'fa-tablet', 'f0e4' => 'fa-tachometer', 'f02b' => 'fa-tag', 'f02c' => 'fa-tags', 'f0ae' => 'fa-tasks', 'f1ba' => 'fa-taxi', 'f26c' => 'fa-television', 'f1d5' => 'fa-tencent-weibo', 'f120' => 'fa-terminal', 'f034' => 'fa-text-height', 'f035' => 'fa-text-width', 'f00a' => 'fa-th', 'f009' => 'fa-th-large', 'f00b' => 'fa-th-list', 'f2b2' => 'fa-themeisle', 'f08d' => 'fa-thumb-tack', 'f165' => 'fa-thumbs-down', 'f088' => 'fa-thumbs-o-down', 'f087' => 'fa-thumbs-o-up', 'f164' => 'fa-thumbs-up', 'f145' => 'fa-ticket', 'f00d' => 'fa-times', 'f057' => 'fa-times-circle', 'f05c' => 'fa-times-circle-o', 'f043' => 'fa-tint', 'f150' => 'fa-toggle-down', 'f191' => 'fa-toggle-left', 'f204' => 'fa-toggle-off', 'f205' => 'fa-toggle-on', 'f152' => 'fa-toggle-right', 'f151' => 'fa-toggle-up', 'f25c' => 'fa-trademark', 'f238' => 'fa-train', 'f224' => 'fa-transgender', 'f225' => 'fa-transgender-alt', 'f1f8' => 'fa-trash', 'f014' => 'fa-trash-o', 'f1bb' => 'fa-tree', 'f181' => 'fa-trello', 'f262' => 'fa-tripadvisor', 'f091' => 'fa-trophy', 'f0d1' => 'fa-truck', 'f195' => 'fa-try', 'f1e4' => 'fa-tty', 'f173' => 'fa-tumblr', 'f174' => 'fa-tumblr-square', 'f195' => 'fa-turkish-lira', 'f26c' => 'fa-tv', 'f1e8' => 'fa-twitch', 'f099' => 'fa-twitter', 'f081' => 'fa-twitter-square', 'f0e9' => 'fa-umbrella', 'f0cd' => 'fa-underline', 'f0e2' => 'fa-undo', 'f29a' => 'fa-universal-access', 'f19c' => 'fa-university', 'f127' => 'fa-unlink', 'f09c' => 'fa-unlock', 'f13e' => 'fa-unlock-alt', 'f0dc' => 'fa-unsorted', 'f093' => 'fa-upload', 'f287' => 'fa-usb', 'f155' => 'fa-usd', 'f007' => 'fa-user', 'f0f0' => 'fa-user-md', 'f234' => 'fa-user-plus', 'f21b' => 'fa-user-secret', 'f235' => 'fa-user-times', 'f0c0' => 'fa-users', 'f221' => 'fa-venus', 'f226' => 'fa-venus-double', 'f228' => 'fa-venus-mars', 'f237' => 'fa-viacoin', 'f2a9' => 'fa-viadeo', 'f2aa' => 'fa-viadeo-square', 'f03d' => 'fa-video-camera', 'f27d' => 'fa-vimeo', 'f194' => 'fa-vimeo-square', 'f1ca' => 'fa-vine', 'f189' => 'fa-vk', 'f2a0' => 'fa-volume-control-phone', 'f027' => 'fa-volume-down', 'f026' => 'fa-volume-off', 'f028' => 'fa-volume-up', 'f071' => 'fa-warning', 'f1d7' => 'fa-wechat', 'f18a' => 'fa-weibo', 'f1d7' => 'fa-weixin', 'f232' => 'fa-whatsapp', 'f193' => 'fa-wheelchair', 'f29b' => 'fa-wheelchair-alt', 'f1eb' => 'fa-wifi', 'f266' => 'fa-wikipedia-w', 'f17a' => 'fa-windows', 'f159' => 'fa-won', 'f19a' => 'fa-wordpress', 'f297' => 'fa-wpbeginner', 'f298' => 'fa-wpforms', 'f0ad' => 'fa-wrench', 'f168' => 'fa-xing', 'f169' => 'fa-xing-square', 'f23b' => 'fa-y-combinator', 'f1d4' => 'fa-y-combinator-square', 'f19e' => 'fa-yahoo', 'f23b' => 'fa-yc', 'f1d4' => 'fa-yc-square', 'f1e9' => 'fa-yelp', 'f157' => 'fa-yen', 'f2b1' => 'fa-yoast', 'f167' => 'fa-youtube', 'f16a' => 'fa-youtube-play', 'f166' => 'fa-youtube-square'); // GIZMO $gizmo_list = '<li><i class="ss-cursor"></i><span class="icon-name">ss-cursor</span></li><li><i class="ss-crosshair"></i><span class="icon-name">ss-crosshair</span></li><li><i class="ss-search"></i><span class="icon-name">ss-search</span></li><li><i class="ss-zoomin"></i><span class="icon-name">ss-zoomin</span></li><li><i class="ss-zoomout"></i><span class="icon-name">ss-zoomout</span></li><li><i class="ss-view"></i><span class="icon-name">ss-view</span></li><li><i class="ss-attach"></i><span class="icon-name">ss-attach</span></li><li><i class="ss-link"></i><span class="icon-name">ss-link</span></li><li><i class="ss-unlink"></i><span class="icon-name">ss-unlink</span></li><li><i class="ss-move"></i><span class="icon-name">ss-move</span></li><li><i class="ss-write"></i><span class="icon-name">ss-write</span></li><li><i class="ss-writingdisabled"></i><span class="icon-name">ss-writingdisabled</span></li><li><i class="ss-erase"></i><span class="icon-name">ss-erase</span></li><li><i class="ss-compose"></i><span class="icon-name">ss-compose</span></li><li><i class="ss-lock"></i><span class="icon-name">ss-lock</span></li><li><i class="ss-unlock"></i><span class="icon-name">ss-unlock</span></li><li><i class="ss-key"></i><span class="icon-name">ss-key</span></li><li><i class="ss-backspace"></i><span class="icon-name">ss-backspace</span></li><li><i class="ss-ban"></i><span class="icon-name">ss-ban</span></li><li><i class="ss-smoking"></i><span class="icon-name">ss-smoking</span></li><li><i class="ss-nosmoking"></i><span class="icon-name">ss-nosmoking</span></li><li><i class="ss-trash"></i><span class="icon-name">ss-trash</span></li><li><i class="ss-target"></i><span class="icon-name">ss-target</span></li><li><i class="ss-tag"></i><span class="icon-name">ss-tag</span></li><li><i class="ss-bookmark"></i><span class="icon-name">ss-bookmark</span></li><li><i class="ss-flag"></i><span class="icon-name">ss-flag</span></li><li><i class="ss-like"></i><span class="icon-name">ss-like</span></li><li><i class="ss-dislike"></i><span class="icon-name">ss-dislike</span></li><li><i class="ss-heart"></i><span class="icon-name">ss-heart</span></li><li><i class="ss-star"></i><span class="icon-name">ss-star</span></li><li><i class="ss-sample"></i><span class="icon-name">ss-sample</span></li><li><i class="ss-crop"></i><span class="icon-name">ss-crop</span></li><li><i class="ss-layers"></i><span class="icon-name">ss-layers</span></li><li><i class="ss-layergroup"></i><span class="icon-name">ss-layergroup</span></li><li><i class="ss-pen"></i><span class="icon-name">ss-pen</span></li><li><i class="ss-bezier"></i><span class="icon-name">ss-bezier</span></li><li><i class="ss-pixels"></i><span class="icon-name">ss-pixels</span></li><li><i class="ss-phone"></i><span class="icon-name">ss-phone</span></li><li><i class="ss-phonedisabled"></i><span class="icon-name">ss-phonedisabled</span></li><li><i class="ss-touchtonephone"></i><span class="icon-name">ss-touchtonephone</span></li><li><i class="ss-mail"></i><span class="icon-name">ss-mail</span></li><li><i class="ss-inbox"></i><span class="icon-name">ss-inbox</span></li><li><i class="ss-outbox"></i><span class="icon-name">ss-outbox</span></li><li><i class="ss-chat"></i><span class="icon-name">ss-chat</span></li><li><i class="ss-user"></i><span class="icon-name">ss-user</span></li><li><i class="ss-users"></i><span class="icon-name">ss-users</span></li><li><i class="ss-usergroup"></i><span class="icon-name">ss-usergroup</span></li><li><i class="ss-businessuser"></i><span class="icon-name">ss-businessuser</span></li><li><i class="ss-man"></i><span class="icon-name">ss-man</span></li><li><i class="ss-male"></i><span class="icon-name">ss-male</span></li><li><i class="ss-woman"></i><span class="icon-name">ss-woman</span></li><li><i class="ss-female"></i><span class="icon-name">ss-female</span></li><li><i class="ss-raisedhand"></i><span class="icon-name">ss-raisedhand</span></li><li><i class="ss-hand"></i><span class="icon-name">ss-hand</span></li><li><i class="ss-pointup"></i><span class="icon-name">ss-pointup</span></li><li><i class="ss-pointupright"></i><span class="icon-name">ss-pointupright</span></li><li><i class="ss-pointright"></i><span class="icon-name">ss-pointright</span></li><li><i class="ss-pointdownright"></i><span class="icon-name">ss-pointdownright</span></li><li><i class="ss-pointdown"></i><span class="icon-name">ss-pointdown</span></li><li><i class="ss-pointdownleft"></i><span class="icon-name">ss-pointdownleft</span></li><li><i class="ss-pointleft"></i><span class="icon-name">ss-pointleft</span></li><li><i class="ss-pointupleft"></i><span class="icon-name">ss-pointupleft</span></li><li><i class="ss-cart"></i><span class="icon-name">ss-cart</span></li><li><i class="ss-creditcard"></i><span class="icon-name">ss-creditcard</span></li><li><i class="ss-calculator"></i><span class="icon-name">ss-calculator</span></li><li><i class="ss-barchart"></i><span class="icon-name">ss-barchart</span></li><li><i class="ss-piechart"></i><span class="icon-name">ss-piechart</span></li><li><i class="ss-box"></i><span class="icon-name">ss-box</span></li><li><i class="ss-home"></i><span class="icon-name">ss-home</span></li><li><i class="ss-globe"></i><span class="icon-name">ss-globe</span></li><li><i class="ss-navigate"></i><span class="icon-name">ss-navigate</span></li><li><i class="ss-compass"></i><span class="icon-name">ss-compass</span></li><li><i class="ss-signpost"></i><span class="icon-name">ss-signpost</span></li><li><i class="ss-location"></i><span class="icon-name">ss-location</span></li><li><i class="ss-floppydisk"></i><span class="icon-name">ss-floppydisk</span></li><li><i class="ss-database"></i><span class="icon-name">ss-database</span></li><li><i class="ss-hdd"></i><span class="icon-name">ss-hdd</span></li><li><i class="ss-microchip"></i><span class="icon-name">ss-microchip</span></li><li><i class="ss-music"></i><span class="icon-name">ss-music</span></li><li><i class="ss-headphones"></i><span class="icon-name">ss-headphones</span></li><li><i class="ss-discdrive"></i><span class="icon-name">ss-discdrive</span></li><li><i class="ss-volume"></i><span class="icon-name">ss-volume</span></li><li><i class="ss-lowvolume"></i><span class="icon-name">ss-lowvolume</span></li><li><i class="ss-mediumvolume"></i><span class="icon-name">ss-mediumvolume</span></li><li><i class="ss-highvolume"></i><span class="icon-name">ss-highvolume</span></li><li><i class="ss-airplay"></i><span class="icon-name">ss-airplay</span></li><li><i class="ss-camera"></i><span class="icon-name">ss-camera</span></li><li><i class="ss-picture"></i><span class="icon-name">ss-picture</span></li><li><i class="ss-video"></i><span class="icon-name">ss-video</span></li><li><i class="ss-webcam"></i><span class="icon-name">ss-webcam</span></li><li><i class="ss-film"></i><span class="icon-name">ss-film</span></li><li><i class="ss-playvideo"></i><span class="icon-name">ss-playvideo</span></li><li><i class="ss-videogame"></i><span class="icon-name">ss-videogame</span></li><li><i class="ss-play"></i><span class="icon-name">ss-play</span></li><li><i class="ss-pause"></i><span class="icon-name">ss-pause</span></li><li><i class="ss-stop"></i><span class="icon-name">ss-stop</span></li><li><i class="ss-record"></i><span class="icon-name">ss-record</span></li><li><i class="ss-rewind"></i><span class="icon-name">ss-rewind</span></li><li><i class="ss-fastforward"></i><span class="icon-name">ss-fastforward</span></li><li><i class="ss-skipback"></i><span class="icon-name">ss-skipback</span></li><li><i class="ss-skipforward"></i><span class="icon-name">ss-skipforward</span></li><li><i class="ss-eject"></i><span class="icon-name">ss-eject</span></li><li><i class="ss-repeat"></i><span class="icon-name">ss-repeat</span></li><li><i class="ss-replay"></i><span class="icon-name">ss-replay</span></li><li><i class="ss-shuffle"></i><span class="icon-name">ss-shuffle</span></li><li><i class="ss-index"></i><span class="icon-name">ss-index</span></li><li><i class="ss-storagebox"></i><span class="icon-name">ss-storagebox</span></li><li><i class="ss-book"></i><span class="icon-name">ss-book</span></li><li><i class="ss-notebook"></i><span class="icon-name">ss-notebook</span></li><li><i class="ss-newspaper"></i><span class="icon-name">ss-newspaper</span></li><li><i class="ss-gridlines"></i><span class="icon-name">ss-gridlines</span></li><li><i class="ss-rows"></i><span class="icon-name">ss-rows</span></li><li><i class="ss-columns"></i><span class="icon-name">ss-columns</span></li><li><i class="ss-thumbnails"></i><span class="icon-name">ss-thumbnails</span></li><li><i class="ss-mouse"></i><span class="icon-name">ss-mouse</span></li><li><i class="ss-usb"></i><span class="icon-name">ss-usb</span></li><li><i class="ss-desktop"></i><span class="icon-name">ss-desktop</span></li><li><i class="ss-laptop"></i><span class="icon-name">ss-laptop</span></li><li><i class="ss-tablet"></i><span class="icon-name">ss-tablet</span></li><li><i class="ss-smartphone"></i><span class="icon-name">ss-smartphone</span></li><li><i class="ss-cell"></i><span class="icon-name">ss-cell</span></li><li><i class="ss-battery"></i><span class="icon-name">ss-battery</span></li><li><i class="ss-highbattery"></i><span class="icon-name">ss-highbattery</span></li><li><i class="ss-mediumbattery"></i><span class="icon-name">ss-mediumbattery</span></li><li><i class="ss-lowbattery"></i><span class="icon-name">ss-lowbattery</span></li><li><i class="ss-chargingbattery"></i><span class="icon-name">ss-chargingbattery</span></li><li><i class="ss-lightbulb"></i><span class="icon-name">ss-lightbulb</span></li><li><i class="ss-washer"></i><span class="icon-name">ss-washer</span></li><li><i class="ss-downloadcloud"></i><span class="icon-name">ss-downloadcloud</span></li><li><i class="ss-download"></i><span class="icon-name">ss-download</span></li><li><i class="ss-downloadbox"></i><span class="icon-name">ss-downloadbox</span></li><li><i class="ss-uploadcloud"></i><span class="icon-name">ss-uploadcloud</span></li><li><i class="ss-upload"></i><span class="icon-name">ss-upload</span></li><li><i class="ss-uploadbox"></i><span class="icon-name">ss-uploadbox</span></li><li><i class="ss-fork"></i><span class="icon-name">ss-fork</span></li><li><i class="ss-merge"></i><span class="icon-name">ss-merge</span></li><li><i class="ss-refresh"></i><span class="icon-name">ss-refresh</span></li><li><i class="ss-sync"></i><span class="icon-name">ss-sync</span></li><li><i class="ss-loading"></i><span class="icon-name">ss-loading</span></li><li><i class="ss-file"></i><span class="icon-name">ss-file</span></li><li><i class="ss-files"></i><span class="icon-name">ss-files</span></li><li><i class="ss-addfile"></i><span class="icon-name">ss-addfile</span></li><li><i class="ss-removefile"></i><span class="icon-name">ss-removefile</span></li><li><i class="ss-checkfile"></i><span class="icon-name">ss-checkfile</span></li><li><i class="ss-deletefile"></i><span class="icon-name">ss-deletefile</span></li><li><i class="ss-exe"></i><span class="icon-name">ss-exe</span></li><li><i class="ss-zip"></i><span class="icon-name">ss-zip</span></li><li><i class="ss-doc"></i><span class="icon-name">ss-doc</span></li><li><i class="ss-pdf"></i><span class="icon-name">ss-pdf</span></li><li><i class="ss-jpg"></i><span class="icon-name">ss-jpg</span></li><li><i class="ss-png"></i><span class="icon-name">ss-png</span></li><li><i class="ss-mp3"></i><span class="icon-name">ss-mp3</span></li><li><i class="ss-rar"></i><span class="icon-name">ss-rar</span></li><li><i class="ss-gif"></i><span class="icon-name">ss-gif</span></li><li><i class="ss-folder"></i><span class="icon-name">ss-folder</span></li><li><i class="ss-openfolder"></i><span class="icon-name">ss-openfolder</span></li><li><i class="ss-downloadfolder"></i><span class="icon-name">ss-downloadfolder</span></li><li><i class="ss-uploadfolder"></i><span class="icon-name">ss-uploadfolder</span></li><li><i class="ss-quote"></i><span class="icon-name">ss-quote</span></li><li><i class="ss-unquote"></i><span class="icon-name">ss-unquote</span></li><li><i class="ss-print"></i><span class="icon-name">ss-print</span></li><li><i class="ss-copier"></i><span class="icon-name">ss-copier</span></li><li><i class="ss-fax"></i><span class="icon-name">ss-fax</span></li><li><i class="ss-scanner"></i><span class="icon-name">ss-scanner</span></li><li><i class="ss-printregistration"></i><span class="icon-name">ss-printregistration</span></li><li><i class="ss-shredder"></i><span class="icon-name">ss-shredder</span></li><li><i class="ss-expand"></i><span class="icon-name">ss-expand</span></li><li><i class="ss-contract"></i><span class="icon-name">ss-contract</span></li><li><i class="ss-help"></i><span class="icon-name">ss-help</span></li><li><i class="ss-info"></i><span class="icon-name">ss-info</span></li><li><i class="ss-alert"></i><span class="icon-name">ss-alert</span></li><li><i class="ss-caution"></i><span class="icon-name">ss-caution</span></li><li><i class="ss-logout"></i><span class="icon-name">ss-logout</span></li><li><i class="ss-login"></i><span class="icon-name">ss-login</span></li><li><i class="ss-scaleup"></i><span class="icon-name">ss-scaleup</span></li><li><i class="ss-scaledown"></i><span class="icon-name">ss-scaledown</span></li><li><i class="ss-plus"></i><span class="icon-name">ss-plus</span></li><li><i class="ss-hyphen"></i><span class="icon-name">ss-hyphen</span></li><li><i class="ss-check"></i><span class="icon-name">ss-check</span></li><li><i class="ss-delete"></i><span class="icon-name">ss-delete</span></li><li><i class="ss-notifications"></i><span class="icon-name">ss-notifications</span></li><li><i class="ss-notificationsdisabled"></i><span class="icon-name">ss-notificationsdisabled</span></li><li><i class="ss-clock"></i><span class="icon-name">ss-clock</span></li><li><i class="ss-stopwatch"></i><span class="icon-name">ss-stopwatch</span></li><li><i class="ss-alarmclock"></i><span class="icon-name">ss-alarmclock</span></li><li><i class="ss-egg"></i><span class="icon-name">ss-egg</span></li><li><i class="ss-eggs"></i><span class="icon-name">ss-eggs</span></li><li><i class="ss-cheese"></i><span class="icon-name">ss-cheese</span></li><li><i class="ss-chickenleg"></i><span class="icon-name">ss-chickenleg</span></li><li><i class="ss-pizzapie"></i><span class="icon-name">ss-pizzapie</span></li><li><i class="ss-pizza"></i><span class="icon-name">ss-pizza</span></li><li><i class="ss-cheesepizza"></i><span class="icon-name">ss-cheesepizza</span></li><li><i class="ss-frenchfries"></i><span class="icon-name">ss-frenchfries</span></li><li><i class="ss-apple"></i><span class="icon-name">ss-apple</span></li><li><i class="ss-carrot"></i><span class="icon-name">ss-carrot</span></li><li><i class="ss-broccoli"></i><span class="icon-name">ss-broccoli</span></li><li><i class="ss-cucumber"></i><span class="icon-name">ss-cucumber</span></li><li><i class="ss-orange"></i><span class="icon-name">ss-orange</span></li><li><i class="ss-lemon"></i><span class="icon-name">ss-lemon</span></li><li><i class="ss-onion"></i><span class="icon-name">ss-onion</span></li><li><i class="ss-bellpepper"></i><span class="icon-name">ss-bellpepper</span></li><li><i class="ss-peas"></i><span class="icon-name">ss-peas</span></li><li><i class="ss-grapes"></i><span class="icon-name">ss-grapes</span></li><li><i class="ss-strawberry"></i><span class="icon-name">ss-strawberry</span></li><li><i class="ss-bread"></i><span class="icon-name">ss-bread</span></li><li><i class="ss-mug"></i><span class="icon-name">ss-mug</span></li><li><i class="ss-mugs"></i><span class="icon-name">ss-mugs</span></li><li><i class="ss-espresso"></i><span class="icon-name">ss-espresso</span></li><li><i class="ss-macchiato"></i><span class="icon-name">ss-macchiato</span></li><li><i class="ss-cappucino"></i><span class="icon-name">ss-cappucino</span></li><li><i class="ss-latte"></i><span class="icon-name">ss-latte</span></li><li><i class="ss-icedcoffee"></i><span class="icon-name">ss-icedcoffee</span></li><li><i class="ss-coffeebean"></i><span class="icon-name">ss-coffeebean</span></li><li><i class="ss-coffeemilk"></i><span class="icon-name">ss-coffeemilk</span></li><li><i class="ss-coffeefoam"></i><span class="icon-name">ss-coffeefoam</span></li><li><i class="ss-coffeesugar"></i><span class="icon-name">ss-coffeesugar</span></li><li><i class="ss-sugarpackets"></i><span class="icon-name">ss-sugarpackets</span></li><li><i class="ss-capsule"></i><span class="icon-name">ss-capsule</span></li><li><i class="ss-capsulerecycling"></i><span class="icon-name">ss-capsulerecycling</span></li><li><i class="ss-insertcapsule"></i><span class="icon-name">ss-insertcapsule</span></li><li><i class="ss-tea"></i><span class="icon-name">ss-tea</span></li><li><i class="ss-teabag"></i><span class="icon-name">ss-teabag</span></li><li><i class="ss-jug"></i><span class="icon-name">ss-jug</span></li><li><i class="ss-pitcher"></i><span class="icon-name">ss-pitcher</span></li><li><i class="ss-kettle"></i><span class="icon-name">ss-kettle</span></li><li><i class="ss-wineglass"></i><span class="icon-name">ss-wineglass</span></li><li><i class="ss-sugar"></i><span class="icon-name">ss-sugar</span></li><li><i class="ss-oven"></i><span class="icon-name">ss-oven</span></li><li><i class="ss-stove"></i><span class="icon-name">ss-stove</span></li><li><i class="ss-vent"></i><span class="icon-name">ss-vent</span></li><li><i class="ss-exhaust"></i><span class="icon-name">ss-exhaust</span></li><li><i class="ss-steam"></i><span class="icon-name">ss-steam</span></li><li><i class="ss-dishwasher"></i><span class="icon-name">ss-dishwasher</span></li><li><i class="ss-toaster"></i><span class="icon-name">ss-toaster</span></li><li><i class="ss-microwave"></i><span class="icon-name">ss-microwave</span></li><li><i class="ss-electrickettle"></i><span class="icon-name">ss-electrickettle</span></li><li><i class="ss-refrigerator"></i><span class="icon-name">ss-refrigerator</span></li><li><i class="ss-freezer"></i><span class="icon-name">ss-freezer</span></li><li><i class="ss-utensils"></i><span class="icon-name">ss-utensils</span></li><li><i class="ss-cookingutensils"></i><span class="icon-name">ss-cookingutensils</span></li><li><i class="ss-whisk"></i><span class="icon-name">ss-whisk</span></li><li><i class="ss-pizzacutter"></i><span class="icon-name">ss-pizzacutter</span></li><li><i class="ss-measuringcup"></i><span class="icon-name">ss-measuringcup</span></li><li><i class="ss-colander"></i><span class="icon-name">ss-colander</span></li><li><i class="ss-eggtimer"></i><span class="icon-name">ss-eggtimer</span></li><li><i class="ss-platter"></i><span class="icon-name">ss-platter</span></li><li><i class="ss-plates"></i><span class="icon-name">ss-plates</span></li><li><i class="ss-steamplate"></i><span class="icon-name">ss-steamplate</span></li><li><i class="ss-cups"></i><span class="icon-name">ss-cups</span></li><li><i class="ss-steamglass"></i><span class="icon-name">ss-steamglass</span></li><li><i class="ss-pot"></i><span class="icon-name">ss-pot</span></li><li><i class="ss-steampot"></i><span class="icon-name">ss-steampot</span></li><li><i class="ss-chef"></i><span class="icon-name">ss-chef</span></li><li><i class="ss-weathervane"></i><span class="icon-name">ss-weathervane</span></li><li><i class="ss-thermometer"></i><span class="icon-name">ss-thermometer</span></li><li><i class="ss-thermometerup"></i><span class="icon-name">ss-thermometerup</span></li><li><i class="ss-thermometerdown"></i><span class="icon-name">ss-thermometerdown</span></li><li><i class="ss-droplet"></i><span class="icon-name">ss-droplet</span></li><li><i class="ss-sunrise"></i><span class="icon-name">ss-sunrise</span></li><li><i class="ss-sunset"></i><span class="icon-name">ss-sunset</span></li><li><i class="ss-sun"></i><span class="icon-name">ss-sun</span></li><li><i class="ss-cloud"></i><span class="icon-name">ss-cloud</span></li><li><i class="ss-clouds"></i><span class="icon-name">ss-clouds</span></li><li><i class="ss-partlycloudy"></i><span class="icon-name">ss-partlycloudy</span></li><li><i class="ss-rain"></i><span class="icon-name">ss-rain</span></li><li><i class="ss-rainheavy"></i><span class="icon-name">ss-rainheavy</span></li><li><i class="ss-lightning"></i><span class="icon-name">ss-lightning</span></li><li><i class="ss-thunderstorm"></i><span class="icon-name">ss-thunderstorm</span></li><li><i class="ss-umbrella"></i><span class="icon-name">ss-umbrella</span></li><li><i class="ss-rainumbrella"></i><span class="icon-name">ss-rainumbrella</span></li><li><i class="ss-rainbow"></i><span class="icon-name">ss-rainbow</span></li><li><i class="ss-rainbowclouds"></i><span class="icon-name">ss-rainbowclouds</span></li><li><i class="ss-fog"></i><span class="icon-name">ss-fog</span></li><li><i class="ss-wind"></i><span class="icon-name">ss-wind</span></li><li><i class="ss-tornado"></i><span class="icon-name">ss-tornado</span></li><li><i class="ss-snowflake"></i><span class="icon-name">ss-snowflake</span></li><li><i class="ss-snowcrystal"></i><span class="icon-name">ss-snowcrystal</span></li><li><i class="ss-lightsnow"></i><span class="icon-name">ss-lightsnow</span></li><li><i class="ss-snow"></i><span class="icon-name">ss-snow</span></li><li><i class="ss-heavysnow"></i><span class="icon-name">ss-heavysnow</span></li><li><i class="ss-hail"></i><span class="icon-name">ss-hail</span></li><li><i class="ss-crescentmoon"></i><span class="icon-name">ss-crescentmoon</span></li><li><i class="ss-waxingcrescentmoon"></i><span class="icon-name">ss-waxingcrescentmoon</span></li><li><i class="ss-firstquartermoon"></i><span class="icon-name">ss-firstquartermoon</span></li><li><i class="ss-waxinggibbousmoon"></i><span class="icon-name">ss-waxinggibbousmoon</span></li><li><i class="ss-waninggibbousmoon"></i><span class="icon-name">ss-waninggibbousmoon</span></li><li><i class="ss-lastquartermoon"></i><span class="icon-name">ss-lastquartermoon</span></li><li><i class="ss-waningcrescentmoon"></i><span class="icon-name">ss-waningcrescentmoon</span></li><li><i class="ss-fan"></i><span class="icon-name">ss-fan</span></li><li><i class="ss-bike"></i><span class="icon-name">ss-bike</span></li><li><i class="ss-wheelchair"></i><span class="icon-name">ss-wheelchair</span></li><li><i class="ss-briefcase"></i><span class="icon-name">ss-briefcase</span></li><li><i class="ss-hanger"></i><span class="icon-name">ss-hanger</span></li><li><i class="ss-comb"></i><span class="icon-name">ss-comb</span></li><li><i class="ss-medicalcross"></i><span class="icon-name">ss-medicalcross</span></li><li><i class="ss-up"></i><span class="icon-name">ss-up</span></li><li><i class="ss-upright"></i><span class="icon-name">ss-upright</span></li><li><i class="ss-right"></i><span class="icon-name">ss-right</span></li><li><i class="ss-downright"></i><span class="icon-name">ss-downright</span></li><li><i class="ss-down"></i><span class="icon-name">ss-down</span></li><li><i class="ss-downleft"></i><span class="icon-name">ss-downleft</span></li><li><i class="ss-left"></i><span class="icon-name">ss-left</span></li><li><i class="ss-upleft"></i><span class="icon-name">ss-upleft</span></li><li><i class="ss-navigateup"></i><span class="icon-name">ss-navigateup</span></li><li><i class="ss-navigateright"></i><span class="icon-name">ss-navigateright</span></li><li><i class="ss-navigatedown"></i><span class="icon-name">ss-navigatedown</span></li><li><i class="ss-navigateleft"></i><span class="icon-name">ss-navigateleft</span></li><li><i class="ss-retweet"></i><span class="icon-name">ss-retweet</span></li><li><i class="ss-share"></i><span class="icon-name">ss-share</span></li>'; // IconMind $icon_mind_list = '<li><i class="sf-im-gear"></i><span class="icon-name">sf-im-gear</span></li><li><i class="sf-im-gears"></i><span class="icon-name">sf-im-gears</span></li><li><i class="sf-im-information"></i><span class="icon-name">sf-im-information</span></li><li><i class="sf-im-magnifi-glass-"></i><span class="icon-name">sf-im-magnifi-glass-</span></li><li><i class="sf-im-magnifi-glass"></i><span class="icon-name">sf-im-magnifi-glass</span></li><li><i class="sf-im-magnifi-glass2"></i><span class="icon-name">sf-im-magnifi-glass2</span></li><li><i class="sf-im-preview"></i><span class="icon-name">sf-im-preview</span></li><li><i class="sf-im-pricing"></i><span class="icon-name">sf-im-pricing</span></li><li><i class="sf-im-repair"></i><span class="icon-name">sf-im-repair</span></li><li><i class="sf-im-support"></i><span class="icon-name">sf-im-support</span></li><li><i class="sf-im-user"></i><span class="icon-name">sf-im-user</span></li><li><i class="sf-im-equalizer"></i><span class="icon-name">sf-im-equalizer</span></li><li><i class="sf-im-microphone-2"></i><span class="icon-name">sf-im-microphone-2</span></li><li><i class="sf-im-rock-androll"></i><span class="icon-name">sf-im-rock-androll</span></li><li><i class="sf-im-sound-wave"></i><span class="icon-name">sf-im-sound-wave</span></li><li><i class="sf-im-close-window"></i><span class="icon-name">sf-im-close-window</span></li><li><i class="sf-im-network-window"></i><span class="icon-name">sf-im-network-window</span></li><li><i class="sf-im-settings-window"></i><span class="icon-name">sf-im-settings-window</span></li><li><i class="sf-im-two-windows"></i><span class="icon-name">sf-im-two-windows</span></li><li><i class="sf-im-upload-window"></i><span class="icon-name">sf-im-upload-window</span></li><li><i class="sf-im-url-window"></i><span class="icon-name">sf-im-url-window</span></li><li><i class="sf-im-width-window"></i><span class="icon-name">sf-im-width-window</span></li><li><i class="sf-im-windows-2"></i><span class="icon-name">sf-im-windows-2</span></li><li><i class="sf-im-drop"></i><span class="icon-name">sf-im-drop</span></li><li><i class="sf-im-clapperboard-open"></i><span class="icon-name">sf-im-clapperboard-open</span></li><li><i class="sf-im-video-3"></i><span class="icon-name">sf-im-video-3</span></li><li><i class="sf-im-hand-touch2"></i><span class="icon-name">sf-im-hand-touch2</span></li><li><i class="sf-im-thumb"></i><span class="icon-name">sf-im-thumb</span></li><li><i class="sf-im-clock"></i><span class="icon-name">sf-im-clock</span></li><li><i class="sf-im-watch"></i><span class="icon-name">sf-im-watch</span></li><li><i class="sf-im-normal-text"></i><span class="icon-name">sf-im-normal-text</span></li><li><i class="sf-im-text-box"></i><span class="icon-name">sf-im-text-box</span></li><li><i class="sf-im-text-effect"></i><span class="icon-name">sf-im-text-effect</span></li><li><i class="sf-im-archery-2"></i><span class="icon-name">sf-im-archery-2</span></li><li><i class="sf-im-medal-3"></i><span class="icon-name">sf-im-medal-3</span></li><li><i class="sf-im-skate-shoes"></i><span class="icon-name">sf-im-skate-shoes</span></li><li><i class="sf-im-trophy"></i><span class="icon-name">sf-im-trophy</span></li><li><i class="sf-im-speach-bubbleasking"></i><span class="icon-name">sf-im-speach-bubbleasking</span></li><li><i class="sf-im-speach-bubbledialog"></i><span class="icon-name">sf-im-speach-bubbledialog</span></li><li><i class="sf-im-inifity"></i><span class="icon-name">sf-im-inifity</span></li><li><i class="sf-im-quotes"></i><span class="icon-name">sf-im-quotes</span></li><li><i class="sf-im-ribbon"></i><span class="icon-name">sf-im-ribbon</span></li><li><i class="sf-im-venn-diagram"></i><span class="icon-name">sf-im-venn-diagram</span></li><li><i class="sf-im-car-coins"></i><span class="icon-name">sf-im-car-coins</span></li><li><i class="sf-im-cash-register2"></i><span class="icon-name">sf-im-cash-register2</span></li><li><i class="sf-im-password-shopping"></i><span class="icon-name">sf-im-password-shopping</span></li><li><i class="sf-im-tag-5"></i><span class="icon-name">sf-im-tag-5</span></li><li><i class="sf-im-coding"></i><span class="icon-name">sf-im-coding</span></li><li><i class="sf-im-consulting"></i><span class="icon-name">sf-im-consulting</span></li><li><i class="sf-im-testimonal"></i><span class="icon-name">sf-im-testimonal</span></li><li><i class="sf-im-lock-2"></i><span class="icon-name">sf-im-lock-2</span></li><li><i class="sf-im-unlock-2"></i><span class="icon-name">sf-im-unlock-2</span></li><li><i class="sf-im-atom"></i><span class="icon-name">sf-im-atom</span></li><li><i class="sf-im-chemical"></i><span class="icon-name">sf-im-chemical</span></li><li><i class="sf-im-plaster"></i><span class="icon-name">sf-im-plaster</span></li><li><i class="sf-im-camera-2"></i><span class="icon-name">sf-im-camera-2</span></li><li><i class="sf-im-flash-2"></i><span class="icon-name">sf-im-flash-2</span></li><li><i class="sf-im-photo"></i><span class="icon-name">sf-im-photo</span></li><li><i class="sf-im-photos"></i><span class="icon-name">sf-im-photos</span></li><li><i class="sf-im-sport-mode"></i><span class="icon-name">sf-im-sport-mode</span></li><li><i class="sf-im-business-man"></i><span class="icon-name">sf-im-business-man</span></li><li><i class="sf-im-business-woman"></i><span class="icon-name">sf-im-business-woman</span></li><li><i class="sf-im-speak-2"></i><span class="icon-name">sf-im-speak-2</span></li><li><i class="sf-im-talk-man"></i><span class="icon-name">sf-im-talk-man</span></li><li><i class="sf-im-chair"></i><span class="icon-name">sf-im-chair</span></li><li><i class="sf-im-footprint"></i><span class="icon-name">sf-im-footprint</span></li><li><i class="sf-im-gift-box"></i><span class="icon-name">sf-im-gift-box</span></li><li><i class="sf-im-key"></i><span class="icon-name">sf-im-key</span></li><li><i class="sf-im-light-bulb"></i><span class="icon-name">sf-im-light-bulb</span></li><li><i class="sf-im-luggage-2"></i><span class="icon-name">sf-im-luggage-2</span></li><li><i class="sf-im-paper-plane"></i><span class="icon-name">sf-im-paper-plane</span></li><li><i class="sf-im-environmental-3"></i><span class="icon-name">sf-im-environmental-3</span></li><li><i class="sf-im-compass-4"></i><span class="icon-name">sf-im-compass-4</span></li><li><i class="sf-im-globe"></i><span class="icon-name">sf-im-globe</span></li><li><i class="sf-im-map-marker"></i><span class="icon-name">sf-im-map-marker</span></li><li><i class="sf-im-map2"></i><span class="icon-name">sf-im-map2</span></li><li><i class="sf-im-satelite-2"></i><span class="icon-name">sf-im-satelite-2</span></li><li><i class="sf-im-add"></i><span class="icon-name">sf-im-add</span></li><li><i class="sf-im-close"></i><span class="icon-name">sf-im-close</span></li><li><i class="sf-im-cursor-click2"></i><span class="icon-name">sf-im-cursor-click2</span></li><li><i class="sf-im-download-2"></i><span class="icon-name">sf-im-download-2</span></li><li><i class="sf-im-link"></i><span class="icon-name">sf-im-link</span></li><li><i class="sf-im-upload-2"></i><span class="icon-name">sf-im-upload-2</span></li><li><i class="sf-im-yes"></i><span class="icon-name">sf-im-yes</span></li><li><i class="sf-im-old-camera"></i><span class="icon-name">sf-im-old-camera</span></li><li><i class="sf-im-mouse-4"></i><span class="icon-name">sf-im-mouse-4</span></li><li><i class="sf-im-coffee"></i><span class="icon-name">sf-im-coffee</span></li><li><i class="sf-im-doughnut"></i><span class="icon-name">sf-im-doughnut</span></li><li><i class="sf-im-glass-water"></i><span class="icon-name">sf-im-glass-water</span></li><li><i class="sf-im-hot-dog"></i><span class="icon-name">sf-im-hot-dog</span></li><li><i class="sf-im-juice"></i><span class="icon-name">sf-im-juice</span></li><li><i class="sf-im-pizza-slice"></i><span class="icon-name">sf-im-pizza-slice</span></li><li><i class="sf-im-pizza"></i><span class="icon-name">sf-im-pizza</span></li><li><i class="sf-im-wine-glass"></i><span class="icon-name">sf-im-wine-glass</span></li><li><i class="sf-im-box-open"></i><span class="icon-name">sf-im-box-open</span></li><li><i class="sf-im-box-withfolders"></i><span class="icon-name">sf-im-box-withfolders</span></li><li><i class="sf-im-add-file"></i><span class="icon-name">sf-im-add-file</span></li><li><i class="sf-im-delete-file"></i><span class="icon-name">sf-im-delete-file</span></li><li><i class="sf-im-file-download"></i><span class="icon-name">sf-im-file-download</span></li><li><i class="sf-im-file-horizontaltext"></i><span class="icon-name">sf-im-file-horizontaltext</span></li><li><i class="sf-im-file-link"></i><span class="icon-name">sf-im-file-link</span></li><li><i class="sf-im-file-love"></i><span class="icon-name">sf-im-file-love</span></li><li><i class="sf-im-file-pictures"></i><span class="icon-name">sf-im-file-pictures</span></li><li><i class="sf-im-file-zip"></i><span class="icon-name">sf-im-file-zip</span></li><li><i class="sf-im-files"></i><span class="icon-name">sf-im-files</span></li><li><i class="sf-im-remove-file"></i><span class="icon-name">sf-im-remove-file</span></li><li><i class="sf-im-thumbs-upsmiley"></i><span class="icon-name">sf-im-thumbs-upsmiley</span></li><li><i class="sf-im-letter-open"></i><span class="icon-name">sf-im-letter-open</span></li><li><i class="sf-im-mail"></i><span class="icon-name">sf-im-mail</span></li><li><i class="sf-im-mailbox-full"></i><span class="icon-name">sf-im-mailbox-full</span></li><li><i class="sf-im-notepad"></i><span class="icon-name">sf-im-notepad</span></li><li><i class="sf-im-computer"></i><span class="icon-name">sf-im-computer</span></li><li><i class="sf-im-laptop"></i><span class="icon-name">sf-im-laptop</span></li><li><i class="sf-im-monitor-2"></i><span class="icon-name">sf-im-monitor-2</span></li><li><i class="sf-im-monitor-5"></i><span class="icon-name">sf-im-monitor-5</span></li><li><i class="sf-im-monitor-phone"></i><span class="icon-name">sf-im-monitor-phone</span></li><li><i class="sf-im-phone-2"></i><span class="icon-name">sf-im-phone-2</span></li><li><i class="sf-im-smartphone-4"></i><span class="icon-name">sf-im-smartphone-4</span></li><li><i class="sf-im-tablet-3"></i><span class="icon-name">sf-im-tablet-3</span></li><li><i class="sf-im-aa"></i><span class="icon-name">sf-im-aa</span></li><li><i class="sf-im-brush"></i><span class="icon-name">sf-im-brush</span></li><li><i class="sf-im-fountain-pen"></i><span class="icon-name">sf-im-fountain-pen</span></li><li><i class="sf-im-idea"></i><span class="icon-name">sf-im-idea</span></li><li><i class="sf-im-marker"></i><span class="icon-name">sf-im-marker</span></li><li><i class="sf-im-note"></i><span class="icon-name">sf-im-note</span></li><li><i class="sf-im-pantone"></i><span class="icon-name">sf-im-pantone</span></li><li><i class="sf-im-pencil"></i><span class="icon-name">sf-im-pencil</span></li><li><i class="sf-im-scissor"></i><span class="icon-name">sf-im-scissor</span></li><li><i class="sf-im-vector-3"></i><span class="icon-name">sf-im-vector-3</span></li><li><i class="sf-im-address-book"></i><span class="icon-name">sf-im-address-book</span></li><li><i class="sf-im-megaphone"></i><span class="icon-name">sf-im-megaphone</span></li><li><i class="sf-im-newspaper"></i><span class="icon-name">sf-im-newspaper</span></li><li><i class="sf-im-wifi"></i><span class="icon-name">sf-im-wifi</span></li><li><i class="sf-im-download-fromcloud"></i><span class="icon-name">sf-im-download-fromcloud</span></li><li><i class="sf-im-upload-tocloud"></i><span class="icon-name">sf-im-upload-tocloud</span></li><li><i class="sf-im-blouse"></i><span class="icon-name">sf-im-blouse</span></li><li><i class="sf-im-boot"></i><span class="icon-name">sf-im-boot</span></li><li><i class="sf-im-bow-2"></i><span class="icon-name">sf-im-bow-2</span></li><li><i class="sf-im-bra"></i><span class="icon-name">sf-im-bra</span></li><li><i class="sf-im-cap"></i><span class="icon-name">sf-im-cap</span></li><li><i class="sf-im-coat"></i><span class="icon-name">sf-im-coat</span></li><li><i class="sf-im-dress"></i><span class="icon-name">sf-im-dress</span></li><li><i class="sf-im-hanger"></i><span class="icon-name">sf-im-hanger</span></li><li><i class="sf-im-heels"></i><span class="icon-name">sf-im-heels</span></li><li><i class="sf-im-jacket"></i><span class="icon-name">sf-im-jacket</span></li><li><i class="sf-im-jeans"></i><span class="icon-name">sf-im-jeans</span></li><li><i class="sf-im-shirt"></i><span class="icon-name">sf-im-shirt</span></li><li><i class="sf-im-suit"></i><span class="icon-name">sf-im-suit</span></li><li><i class="sf-im-sunglasses-w3"></i><span class="icon-name">sf-im-sunglasses-w3</span></li><li><i class="sf-im-t-shirt"></i><span class="icon-name">sf-im-t-shirt</span></li><li><i class="sf-im-present"></i><span class="icon-name">sf-im-present</span></li><li><i class="sf-im-tactic"></i><span class="icon-name">sf-im-tactic</span></li><li><i class="sf-im-bar-chart3"></i><span class="icon-name">sf-im-bar-chart3</span></li><li><i class="sf-im-calculator-2"></i><span class="icon-name">sf-im-calculator-2</span></li><li><i class="sf-im-calendar-4"></i><span class="icon-name">sf-im-calendar-4</span></li><li><i class="sf-im-credit-card2"></i><span class="icon-name">sf-im-credit-card2</span></li><li><i class="sf-im-diamond"></i><span class="icon-name">sf-im-diamond</span></li><li><i class="sf-im-financial"></i><span class="icon-name">sf-im-financial</span></li><li><i class="sf-im-handshake"></i><span class="icon-name">sf-im-handshake</span></li><li><i class="sf-im-line-chart4"></i><span class="icon-name">sf-im-line-chart4</span></li><li><i class="sf-im-money-2"></i><span class="icon-name">sf-im-money-2</span></li><li><i class="sf-im-pie-chart3"></i><span class="icon-name">sf-im-pie-chart3</span></li><li><i class="sf-im-home"></i><span class="icon-name">sf-im-home</span></li><li><i class="sf-im-bones"></i><span class="icon-name">sf-im-bones</span></li><li><i class="sf-im-brain"></i><span class="icon-name">sf-im-brain</span></li><li><i class="sf-im-ear"></i><span class="icon-name">sf-im-ear</span></li><li><i class="sf-im-eye-visible"></i><span class="icon-name">sf-im-eye-visible</span></li><li><i class="sf-im-face-style"></i><span class="icon-name">sf-im-face-style</span></li><li><i class="sf-im-fingerprint-2"></i><span class="icon-name">sf-im-fingerprint-2</span></li><li><i class="sf-im-heart"></i><span class="icon-name">sf-im-heart</span></li><li><i class="sf-im-arrow-downincircle"></i><span class="icon-name">sf-im-arrow-downincircle</span></li><li><i class="sf-im-arrow-left"></i><span class="icon-name">sf-im-arrow-left</span></li><li><i class="sf-im-arrow-right"></i><span class="icon-name">sf-im-arrow-right</span></li><li><i class="sf-im-arrow-up"></i><span class="icon-name">sf-im-arrow-up</span></li><li><i class="sf-im-download"></i><span class="icon-name">sf-im-download</span></li><li><i class="sf-im-fit-to"></i><span class="icon-name">sf-im-fit-to</span></li><li><i class="sf-im-full-screen"></i><span class="icon-name">sf-im-full-screen</span></li><li><i class="sf-im-full-screen2"></i><span class="icon-name">sf-im-full-screen2</span></li><li><i class="sf-im-left"></i><span class="icon-name">sf-im-left</span></li><li><i class="sf-im-repeat-2"></i><span class="icon-name">sf-im-repeat-2</span></li><li><i class="sf-im-right"></i><span class="icon-name">sf-im-right</span></li><li><i class="sf-im-up"></i><span class="icon-name">sf-im-up</span></li><li><i class="sf-im-upload"></i><span class="icon-name">sf-im-upload</span></li><li><i class="sf-im-arrow-around"></i><span class="icon-name">sf-im-arrow-around</span></li><li><i class="sf-im-arrow-loop"></i><span class="icon-name">sf-im-arrow-loop</span></li><li><i class="sf-im-arrow-outleft"></i><span class="icon-name">sf-im-arrow-outleft</span></li><li><i class="sf-im-arrow-outright"></i><span class="icon-name">sf-im-arrow-outright</span></li><li><i class="sf-im-arrow-shuffle"></i><span class="icon-name">sf-im-arrow-shuffle</span></li><li><i class="sf-im-maximize"></i><span class="icon-name">sf-im-maximize</span></li><li><i class="sf-im-minimize"></i><span class="icon-name">sf-im-minimize</span></li><li><i class="sf-im-resize"></i><span class="icon-name">sf-im-resize</span></li><li><i class="sf-im-bird"></i><span class="icon-name">sf-im-bird</span></li><li><i class="sf-im-cat"></i><span class="icon-name">sf-im-cat</span></li><li><i class="sf-im-dog"></i><span class="icon-name">sf-im-dog</span></li><li><i class="sf-im-align-center"></i><span class="icon-name">sf-im-align-center</span></li><li><i class="sf-im-align-left"></i><span class="icon-name">sf-im-align-left</span></li><li><i class="sf-im-align-right"></i><span class="icon-name">sf-im-align-right</span></li>'; // NUCLEO INTERFACE $nucleo_interface = array('e910' => 'sf-icon-audio-player', 'e911' => 'sf-icon-video-player', 'e95c' => 'sf-icon-fail', 'e95d' => 'sf-icon-success', 'e960' => 'sf-icon-video-player-fill', 'e952' => 'sf-icon-settings', 'e912' => 'sf-icon-lightbox', 'e951' => 'sf-icon-portfolio', 'e913' => 'sf-icon-external-link-big', 'e914' => 'sf-icon-text-big', 'e95a' => 'sf-icon-video-big', 'e956' => 'sf-icon-down-arrow-big', 'e955' => 'sf-icon-up-arrow-big', 'e954' => 'sf-icon-left-arrow-big', 'e915' => 'sf-icon-right-arrow-big', 'e916' => 'sf-icon-flags-france', 'e917' => 'sf-icon-flags-germany', 'e918' => 'sf-icon-flags-greece', 'e919' => 'sf-icon-flags-italy', 'e91a' => 'sf-icon-flags-japan', 'e91b' => 'sf-icon-flags-netherlands', 'e91c' => 'icon-russia', 'e94b' => 'sf-icon-flags-sweden', 'e94c' => 'sf-icon-flags-portugal', 'e94d' => 'sf-icon-flags-spain', 'e94e' => 'sf-icon-flags-usa', 'e94f' => 'sf-icon-flags-uk', 'e953' => 'sf-icon-quote-big', 'e962' => 'sf-icon-loader', 'e964' => 'sf-icon-loader-gap', 'e965' => 'sf-icon-dollar', 'e966' => 'sf-icon-euro', 'e967' => 'sf-icon-pound', 'e968' => 'sf-icon-yen', 'e961' => 'sf-icon-checkout', '10ffff' => 'sf-icon-variable', 'e003' => 'sf-icon-preferences', 'e90d' => 'sf-icon-quote', 'e900' => 'sf-icon-download', 'e901' => 'sf-icon-enlarge', 'e902' => 'sf-icon-down-triangle', 'e903' => 'sf-icon-up-triangle', 'e904' => 'sf-icon-left-arrow', 'e905' => 'sf-icon-right-arrow', 'e906' => 'sf-icon-left-chevron', 'e907' => 'sf-icon-right-chevron', 'e908' => 'sf-icon-down-chevron', 'e909' => 'sf-icon-up-chevron', 'e90a' => 'sf-icon-read-more', 'e90b' => 'sf-icon-share', 'e0101' => 'sf-icon-node', 'e90c' => 'sf-icon-project', 'e004' => 'sf-icon-speech', 'e90e' => 'sf-icon-archive', 'e90f' => 'sf-icon-like', 'e91d' => 'sf-icon-pause', 'e91e' => 'sf-icon-play', 'e91f' => 'sf-icon-image', 'e920' => 'sf-icon-gallery', 'e921' => 'sf-icon-volume', 'e922' => 'sf-icon-audio', 'e923' => 'sf-icon-cart', 'e924' => 'sf-icon-categories', 'e925' => 'sf-icon-tags', 'e926' => 'sf-icon-dribbble', 'e927' => 'sf-icon-fb', 'e928' => 'sf-icon-instagram', 'e929' => 'sf-icon-twitter', 'e92a' => 'sf-icon-video', 'e92b' => 'sf-icon-check', 'e92c' => 'sf-icon-subject', 'e92d' => 'sf-icon-reply', 'e95f' => 'sf-icon-menu-chevron-right', 'e92f' => 'sf-icon-quickview', 'e005' => 'sf-icon-noview', 'e930' => 'sf-icon-filter', 'e931' => 'sf-icon-add-big', 'e932' => 'sf-icon-remove-big', 'e933' => 'sf-icon-trash', 'e934' => 'sf-icon-supersearch', 'e935' => 'sf-icon-search', 'e936' => 'sf-icon-warning', 'e937' => 'sf-icon-question', 'e938' => 'sf-icon-info', 'e939' => 'sf-icon-sort', 'e93a' => 'sf-icon-comments', 'e93b' => 'sf-icon-wishlist', 'e93c' => 'sf-icon-star-fill', 'e93d' => 'sf-icon-view-default', 'e93e' => 'sf-icon-view-gallery', 'e93f' => 'sf-icon-external-link', 'e940' => 'sf-icon-menu', 'e941' => 'sf-icon-text', 'e942' => 'sf-icon-view-list', 'e943' => 'sf-icon-add', 'e944' => 'sf-icon-delete', 'e945' => 'sf-icon-remove', 'e946' => 'sf-icon-date', 'e947' => 'sf-icon-star-stroke', 'e948' => 'sf-icon-half-star', 'e949' => 'sf-icon-account', 'e94a' => 'sf-icon-name', 'e950' => 'sf-icon-sticky-post', 'e957' => 'sf-icon-phone', 'e958' => 'sf-icon-down-arrow', 'e959' => 'sf-icon-up-arrow', 'e95b' => 'sf-icon-tick', 'e95e' => 'sf-icon-menu-chevron', 'e92e' => 'sf-icon-email'); // NUCLEO GENERAL $nucleo_general = array('e97d' => 'nucleo-icon-add', 'e983' => 'nucleo-icon-alert-help', 'e984' => 'nucleo-icon-alert-info', 'e99a' => 'nucleo-icon-alert-square', 'e982' => 'nucleo-icon-alert-warning', 'e957' => 'nucleo-icon-anchor', 'e922' => 'nucleo-icon-app', 'e985' => 'nucleo-icon-archive', 'e934' => 'nucleo-icon-archive-content', 'e90f' => 'nucleo-icon-arrow-circle-right', 'e907' => 'nucleo-icon-arrow-left', 'e908' => 'nucleo-icon-arrow-right', 'e90e' => 'nucleo-icon-arrow-square-right', 'e909' => 'nucleo-icon-arrow-up', 'e975' => 'nucleo-icon-attach', 'e913' => 'nucleo-icon-award', 'e914' => 'nucleo-icon-badge', 'e95c' => 'nucleo-icon-bag', 'e95d' => 'nucleo-icon-bag-add', 'e95e' => 'nucleo-icon-bag-remove', 'e917' => 'nucleo-icon-barchart', 'e976' => 'nucleo-icon-bell', 'e92f' => 'nucleo-icon-board', 'e915' => 'nucleo-icon-briefcase', 'e94c' => 'nucleo-icon-brightness', 'e923' => 'nucleo-icon-brush', 'e916' => 'nucleo-icon-bulb', 'e94d' => 'nucleo-icon-camera', 'e971' => 'nucleo-icon-capitalize', 'e988' => 'nucleo-icon-chat-fill', 'e987' => 'nucleo-icon-chat-stroke', 'e979' => 'nucleo-icon-check', 'e977' => 'nucleo-icon-check-small', 'e978' => 'nucleo-icon-check-square', 'e919' => 'nucleo-icon-cheque', 'e90c' => 'nucleo-icon-chevron-down', 'e90a' => 'nucleo-icon-chevron-left', 'e90b' => 'nucleo-icon-chevron-right', 'e90d' => 'nucleo-icon-chevron-up', 'e999' => 'nucleo-icon-clock', 'e900' => 'nucleo-icon-cloud-download', 'e9a3' => 'nucleo-icon-cloud-fog', 'e9a4' => 'nucleo-icon-cloud-hail', 'e9a5' => 'nucleo-icon-cloud-light', 'e901' => 'nucleo-icon-cloud-upload', 'e939' => 'nucleo-icon-coffee', 'e924' => 'nucleo-icon-command', 'e94e' => 'nucleo-icon-countdown', 'e95f' => 'nucleo-icon-credit-card', 'e925' => 'nucleo-icon-crop', 'e93a' => 'nucleo-icon-cutlery', 'e960' => 'nucleo-icon-delivery', 'e926' => 'nucleo-icon-design', 'e965' => 'nucleo-icon-desktop', 'e989' => 'nucleo-icon-disk', 'e932' => 'nucleo-icon-dislike', 'e91a' => 'nucleo-icon-dollar', 'e902' => 'nucleo-icon-download', 'e93b' => 'nucleo-icon-drag', 'e97a' => 'nucleo-icon-edit-box', 'e927' => 'nucleo-icon-eraser', 'e91b' => 'nucleo-icon-euro', 'e97b' => 'nucleo-icon-eye', 'e937' => 'nucleo-icon-file', 'e936' => 'nucleo-icon-file-blank', 'e938' => 'nucleo-icon-files', 'e97c' => 'nucleo-icon-filter', 'e945' => 'nucleo-icon-flag', 'e944' => 'nucleo-icon-flag-diagonal', 'e963' => 'nucleo-icon-flag-finish', 'e94f' => 'nucleo-icon-flash', 'e935' => 'nucleo-icon-folder', 'e950' => 'nucleo-icon-frame', 'e903' => 'nucleo-icon-fullscreen', 'e93c' => 'nucleo-icon-gestures', 'e961' => 'nucleo-icon-gift', 'e958' => 'nucleo-icon-globe', 'e91f' => 'nucleo-icon-goal', 'e949' => 'nucleo-icon-gps', 'e98c' => 'nucleo-icon-grid', 'e98d' => 'nucleo-icon-grid-small', 'e991' => 'nucleo-icon-hamburger', 'e966' => 'nucleo-icon-headphones', 'e98a' => 'nucleo-icon-heart', 'e941' => 'nucleo-icon-heartbeat', 'e99b' => 'nucleo-icon-help-square', 'e920' => 'nucleo-icon-hierarchy', 'e951' => 'nucleo-icon-image', 'e99c' => 'nucleo-icon-info-square', 'e959' => 'nucleo-icon-key', 'e98e' => 'nucleo-icon-lab', 'e967' => 'nucleo-icon-laptop', 'e952' => 'nucleo-icon-layers', 'e933' => 'nucleo-icon-like', 'e98f' => 'nucleo-icon-link', 'e990' => 'nucleo-icon-link-broken', 'e973' => 'nucleo-icon-list-bullet', 'e946' => 'nucleo-icon-map', 'e92e' => 'nucleo-icon-medal', 'e992' => 'nucleo-icon-menu', 'e94b' => 'nucleo-icon-mic', 'e929' => 'nucleo-icon-mouse', 'e969' => 'nucleo-icon-navigation', 'e956' => 'nucleo-icon-note', 'e92a' => 'nucleo-icon-paint', 'e931' => 'nucleo-icon-paper', 'e993' => 'nucleo-icon-paragraph', 'e92b' => 'nucleo-icon-copy', 'e92c' => 'nucleo-icon-pen', 'e92d' => 'nucleo-icon-phone', 'e918' => 'nucleo-icon-piechart', 'e947' => 'nucleo-icon-pin', 'e93d' => 'nucleo-icon-pinch', 'e953' => 'nucleo-icon-player', 'e921' => 'nucleo-icon-plug', 'e91c' => 'nucleo-icon-pound', 'e96b' => 'nucleo-icon-print', 'e942' => 'nucleo-icon-pulse', 'e974' => 'nucleo-icon-quote', 'e911' => 'nucleo-icon-refresh', 'e97e' => 'nucleo-icon-remove', 'e93e' => 'nucleo-icon-rotate', 'e994' => 'nucleo-icon-share', 'e912' => 'nucleo-icon-share-diagnol', 'e905' => 'nucleo-icon-share-right', 'e904' => 'nucleo-icon-share-up', 'e906' => 'nucleo-icon-shuffle', 'e986' => 'nucleo-icon-signal', 'e995' => 'nucleo-icon-small-add', 'e996' => 'nucleo-icon-small-delete', 'e997' => 'nucleo-icon-small-remove', 'e95a' => 'nucleo-icon-spaceship', 'e930' => 'nucleo-icon-speech', 'e98b' => 'nucleo-icon-star', 'e943' => 'nucleo-icon-steps', 'e93f' => 'nucleo-icon-stretch', 'e95b' => 'nucleo-icon-support', 'e96c' => 'nucleo-icon-tablet', 'e96d' => 'nucleo-icon-tablet-reader', 'e962' => 'nucleo-icon-tag', 'e940' => 'nucleo-icon-tap', 'e9a1' => 'nucleo-icon-team', 'e972' => 'nucleo-icon-text', 'e998' => 'nucleo-icon-tile', 'e97f' => 'nucleo-icon-trash', 'e96e' => 'nucleo-icon-tv', 'e910' => 'nucleo-icon-undo', 'e9a2' => 'nucleo-icon-user', 'e964' => 'nucleo-icon-user-run', 'e99d' => 'nucleo-icon-users-add', 'e99e' => 'nucleo-icon-users-badge', 'e99f' => 'nucleo-icon-users-circle', 'e9a0' => 'nucleo-icon-users-delete', 'e954' => 'nucleo-icon-video', 'e96f' => 'nucleo-icon-watch', 'e970' => 'nucleo-icon-wifi', 'e948' => 'nucleo-icon-world', 'e91d' => 'nucleo-icon-yen', 'e981' => 'nucleo-icon-zoom', 'e980' => 'nucleo-icon-zoom-in'); // OUTPUT if ($type == "font-awesome" || $type == "") { $icon_list .= sf_icon_format_output($fontawesome, "font-awesome", $format); } if (sf_theme_supports('gizmo-icon-font') && ($type == "gizmo" || $type == "")) { $icon_list .= $gizmo_list; } if (sf_theme_supports('icon-mind-font') && ($type == "icon-mind" || $type == "")) { $icon_list .= $icon_mind_list; } if (sf_theme_supports('nucleo-interface-font') && ($type == "nucleo-interface" || $type == "")) { $icon_list .= sf_icon_format_output($nucleo_interface, "nucleo-interface", $format); } if (sf_theme_supports('nucleo-general-font') && ($type == "nucleo-general" || $type == "")) { $icon_list .= sf_icon_format_output($nucleo_general, "nucleo-general", $format); } // if ( $type == "fontello" || $type == "" ) { // $fontello_icons = get_option('sf_fontello_icon_codes'); // // if ( $fontello_icons ) { // $fontello_list = ''; // // foreach ( $fontello_icons as $icon) { // $fontello_list .= '<li><i class="icon-' . $icon . '"></i><span class="icon-name">' . $icon . '</span></li>'; // } // // $icon_list .= $fontello_list; // } // } // APPLY FILTERS $icon_list = apply_filters('sf_icons_list', $icon_list); return $icon_list; }
function sf_mobile_shop_filters() { if (!sf_theme_supports('mobile-shop-filters')) { return; } ?> <div class="sf-mobile-shop-filters row"> <?php if (function_exists('dynamic_sidebar') && sf_is_sidebar_active('mobile-woocommerce-filters')) { ?> <?php dynamic_sidebar('mobile-woocommerce-filters'); ?> <?php } else { ?> <h5 class="no-widgets container"><?php _e("Please add widgets to the WooCommerce Filters widget area in Appearance > Widgets", "swiftframework"); ?> </h5> <?php } ?> </div> <?php }
public function spb_register_css() { wp_register_style('bootstrap', $this->assetURL('css/bootstrap.css'), false, SPB_VERSION, false); wp_register_style('page-builder', $this->assetURL('css/page-builder.css'), false, null, false); wp_register_style('colorpicker', $this->assetURL('css/jquery.minicolors.css'), false, null, false); wp_register_style('uislider', $this->assetURL('css/jquery.nouislider.min.css'), false, null, false); wp_register_style('chosen', $this->assetURL('css/chosen.min.css'), false, null, false); wp_register_style('ilightbox', $this->assetURL('css/ilightbox.css'), false, null, false); wp_register_style('ilightbox-dark', $this->assetURL('css/ilightbox-dark-skin/skin.css'), false, null, false); if (sf_theme_supports('icon-mind-font')) { wp_register_style('ss-iconmind', get_template_directory_uri() . '/css/iconmind.css', array(), null, 'all'); } if (sf_theme_supports('gizmo-icon-font')) { wp_register_style('ss-gizmo', get_template_directory_uri() . '/css/ss-gizmo.css', array(), null, 'all'); } wp_register_style('fontawesome', get_template_directory_uri() . '/css/font-awesome.min.css', array(), null, 'all'); }
public function spb_register_css() { wp_register_style('swift-pb-font', $this->assetURL('css/swift-pb.css'), false, null, false); wp_register_style('materialize-components-css', $this->assetURL('materialize/css/materialize.css'), false, null, false); wp_register_style('spb-bootstrap', $this->assetURL('css/bootstrap.css'), false, SPB_VERSION, false); wp_register_style('page-builder', $this->assetURL('css/page-builder.css'), false, null, false); wp_register_style('page-builder-min', $this->assetURL('css/page-builder.min.css'), false, null, false); wp_register_style('colorpicker', $this->assetURL('css/jquery.minicolors.css'), false, null, false); wp_register_style('uislider', $this->assetURL('css/jquery.nouislider.min.css'), false, null, false); wp_register_style('chosen', $this->assetURL('css/chosen.min.css'), false, null, false); wp_register_style('ilightbox', $this->assetURL('css/ilightbox.css'), false, null, false); wp_register_style('ilightbox-dark', $this->assetURL('css/ilightbox-dark-skin/skin.css'), false, null, false); if (sf_theme_supports('icon-mind-font')) { wp_register_style('ss-iconmind', get_template_directory_uri() . '/css/iconmind.css', array(), null, 'all'); } if (sf_theme_supports('gizmo-icon-font')) { wp_register_style('ss-gizmo', get_template_directory_uri() . '/css/ss-gizmo.css', array(), null, 'all'); } if (sf_theme_supports('nucleo-general-font')) { wp_register_style('nucleo', get_template_directory_uri() . '/css/iconfont.css', array(), null, 'all'); } wp_register_style('fontawesome', get_template_directory_uri() . '/css/font-awesome.min.css', array(), null, 'all'); wp_register_style('materialicons', 'https://fonts.googleapis.com/icon?family=Material+Icons', array(), null, 'all'); }
<?php /* * * Swift Framework Menu Functions * ------------------------------------------------ * Swift Framework v3.0 * Copyright Swift Ideas 2015 - http://www.swiftideas.com * * sf_setup_menus() * */ /* CUSTOM MENU SETUP ================================================== */ register_nav_menus(array('main_navigation' => __('Main Menu', "swiftframework"), 'overlay_menu' => __('Overlay Menu', "swiftframework"), 'mobile_menu' => __('Mobile Menu', "swiftframework"), 'top_bar_menu' => __('Top Bar Menu', "swiftframework"), 'footer_menu' => __('Footer Menu', "swiftframework"))); /* SLIDEOUT MENU SETUP ================================================== */ if (sf_theme_supports('slideout-menu')) { register_nav_menus(array('slideout_menu' => __('Slideout Menu', "swiftframework"))); }
function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) { global $wp_query; $indent = $depth ? str_repeat("\t", $depth) : ''; $class_names = $value = $natural_width = $mega_menu_cols = ''; $classes = empty($item->classes) ? array() : (array) $item->classes; $megamenu = empty($item->megamenu) ? "sf-std-menu" : "sf-mega-menu"; if (!empty($item->megamenu)) { $natural_width = empty($item->isnaturalwidth) ? "sf-mega-menu-fw" : "sf-mega-menu-natural-width"; } $alt_style = empty($item->altstyle) ? "" : "sf-mega-menu-alt"; $hideheadings = empty($item->hideheadings) ? "" : "no-headings"; $nocolumnspacing = empty($item->nocolumnspacing) ? "" : "no-column-spacing"; $menu_width = empty($item->menuwidth) ? "" : 'style="width: ' . $item->menuwidth . 'px;"'; $loggedinvis = empty($item->loggedinvis) ? "" : "sf-menu-item-loggedin"; $loggedoutvis = empty($item->loggedoutvis) ? "" : "sf-menu-item-loggedout"; $newbadge = empty($item->newbadge) ? "" : "sf-menu-item-new-badge"; $menuitembtn = empty($item->menuitembtn) ? "" : "sf-menu-item-btn"; $buttontype = empty($item->buttontype) ? "" : $item->buttontype; $buttoncolour = empty($item->buttoncolour) ? "" : $item->buttoncolour; $hashtmlcontent = empty($item->htmlcontent) ? "" : "sf-menu-item-html"; $class_names = join(' ', apply_filters('nav_menu_css_class', array_filter($classes), $item)); $class_names = ' class="menu-item-' . $item->ID . ' ' . esc_attr($class_names) . ' ' . $megamenu . ' ' . $natural_width . ' ' . $alt_style . ' ' . $hideheadings . ' ' . $nocolumnspacing . ' ' . $loggedinvis . ' ' . $loggedoutvis . ' ' . $menuitembtn . ' ' . $newbadge . ' ' . $hashtmlcontent . '" ' . $menu_width; if (!empty($item->megamenu) && !empty($item->megamenucols)) { $mega_menu_cols = 'data-megamenucols="' . $item->megamenucols . '"'; } $output .= $indent . '<li ' . $value . $class_names . $mega_menu_cols . '>'; $attributes = !empty($item->attr_title) ? ' title="' . esc_attr($item->attr_title) . '"' : ''; $attributes .= !empty($item->target) ? ' target="' . esc_attr($item->target) . '"' : ''; $attributes .= !empty($item->xfn) ? ' rel="' . esc_attr($item->xfn) . '"' : ''; $attributes .= !empty($item->url) ? ' href="' . esc_attr($item->url) . '"' : ''; if ($menuitembtn != "" && sf_theme_supports('menu-button-advanced')) { if ($buttontype == "rounded-bordered") { $buttontype = "rounded bordered"; } $attributes .= ' class="sf-button ' . $buttoncolour . ' ' . $buttontype . '"'; } $prepend = '<span class="menu-item-text">'; $append = '</span>'; //$append = '<span class="nav-line"></span>'; $description = !empty($item->description) ? '<span class="menu-item-desc">' . esc_attr($item->description) . '</span>' : ''; if ($depth != 0) { $append = $prepend = ""; } if (!empty($item->megatitle)) { $item_output = $args->before; $item_output .= '<span class="title">'; if (!empty($item->menuicon)) { $item_output .= '<i class="' . $item->menuicon . '"></i>'; } $item_output .= $args->link_before . $prepend . apply_filters('the_title', $item->title, $item->ID) . $append; //$item_output .= $args->link_after; $item_output .= $description . $args->link_after; $item_output .= '</span>'; if (!empty($item->htmlcontent)) { $item_output .= '<div class="mega-menu-widget">' . do_shortcode($item->htmlcontent) . '</div>'; } $item_output .= $args->after; } else { $item_output = $args->before; $item_output .= '<a' . $attributes . '>'; $item_output .= $args->link_before . $prepend; if (!empty($item->menuicon)) { $item_output .= '<i class="' . $item->menuicon . '"></i>'; } $item_output .= apply_filters('the_title', $item->title, $item->ID) . $append; //$item_output .= $args->link_after; $item_output .= $description . $args->link_after; //$item_output .= ' '.$item->subtitle.'</a>'; $item_output .= '</a>'; if (!empty($item->htmlcontent)) { $item_output .= '<div class="mega-menu-widget">' . do_shortcode($item->htmlcontent) . '</div>'; } $item_output .= $args->after; } $output .= apply_filters('walker_nav_menu_start_el', $item_output, $item, $depth, $args); }
$button_colour = strtolower($button_colour); $button_type = strtolower($button_type); $el_class = $this->getExtraClass($el_class); $width = spb_translateColumnWidthToSpan($width); $output .= "\n\t" . '<div class="spb_button spb_content_element ' . $width . $el_class . '" data-align="' . $align . '" data-animation="' . $animation . '" data-delay="' . $animation_delay . '">'; $output .= "\n\t\t" . '<div class="spb-asset-content">'; $output .= "\n\t\t\t" . do_shortcode('[sf_button type="' . $button_type . '" colour="' . $button_colour . '" size="' . $button_size . '" link="' . $button_link . '" target="' . $button_target . '" rounded="' . $rounded . '" dropshadow="' . $button_dropshadow . '" icon="' . $button_icon . '"]' . $button_text . '[/sf_button]'); $output .= "\n\t\t" . '</div>'; $output .= "\n\t" . '</div> ' . $this->endBlockComment($width); $output = $this->startRow($el_position) . $output . $this->endRow($el_position); return $output; } } /* PARAMS ================================================== */ $button_types = array('standard' => __('Standard', 'swiftframework'), 'bordered' => __('Bordered', 'swiftframework'), 'rotate-3d' => __('3D Rotate', 'swiftframework'), 'stroke-to-fill' => __('Stroke To Fill', 'swiftframework'), 'sf-icon-reveal' => __('Icon Reveal', 'swiftframework'), 'sf-icon-stroke' => __('Icon', 'swiftframework')); if (!sf_theme_supports('3drotate-button')) { unset($button_types['rotate-3d']); } if (!sf_theme_supports('bordered-button')) { unset($button_types['bordered']); } $button_sizes = array('standard' => __('Standard', 'swiftframework'), 'large' => __('Large', 'swiftframework')); $button_colours = array('accent' => __('Accent', 'swiftframework'), 'black' => __('Black', 'swiftframework'), 'white' => __('White', 'swiftframework'), 'blue' => __('Blue', 'swiftframework'), 'grey' => __('Grey', 'swiftframework'), 'lightgrey' => __('Light Grey', 'swiftframework'), 'orange' => __('Orange', 'swiftframework'), 'green' => __('Green', 'swiftframework'), 'pink' => __('Pink', 'swiftframework'), 'gold' => __('Gold', 'swiftframework'), 'transparent-light' => __('Transparent - Light', 'swiftframework'), 'transparent-dark' => __('Transparent - Dark', 'swiftframework')); $button_types = apply_filters('sf_shortcode_button_types', $button_types); $button_sizes = apply_filters('sf_shortcode_button_sizes', $button_sizes); $button_colours = apply_filters('sf_shortcode_button_colours', $button_colours); $params = array(array("type" => "textfield", "heading" => __("Button Text", 'swift-framework-plugin'), "param_name" => "button_text", "value" => "", "description" => __("Enter the button text here.", 'swift-framework-plugin')), array("type" => "dropdown-id", "heading" => __("Button Size", 'swift-framework-plugin'), "param_name" => "button_size", "value" => $button_sizes, "description" => __("Choose the button size.", 'swift-framework-plugin')), array("type" => "dropdown-id", "heading" => __("Button Colour", 'swift-framework-plugin'), "param_name" => "button_colour", "value" => $button_colours, "description" => __("Choose the button colour.", 'swift-framework-plugin')), array("type" => "dropdown-id", "heading" => __("Button Type", 'swift-framework-plugin'), "param_name" => "button_type", "value" => $button_types, "description" => __("Choose the button type.", 'swift-framework-plugin')), array("type" => "buttonset", "heading" => __("Rounded Button", 'swift-framework-plugin'), "param_name" => "rounded", "value" => array(__("No", 'swift-framework-plugin') => "no", __("Yes", 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Select if you want the button to be rounded.", 'swift-framework-plugin')), array("type" => "buttonset", "heading" => __("Button Drop Shadow", 'swift-framework-plugin'), "param_name" => "button_dropshadow", "value" => array(__("No", 'swift-framework-plugin') => "no", __("Yes", 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Select if you want the button to have a drop shadow.", 'swift-framework-plugin')), array("type" => "icon-picker", "heading" => __("Button Icon", 'swift-framework-plugin'), "param_name" => "button_icon", "value" => "", "description" => ''), array("type" => "textfield", "heading" => __("Button Link", 'swift-framework-plugin'), "param_name" => "button_link", "value" => "", "description" => __("Enter the button link here, be sure to include http://.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Button Link Target", 'swift-framework-plugin'), "param_name" => "button_target", "value" => array(__("Self", 'swift-framework-plugin') => "_self", __("New Window", 'swift-framework-plugin') => "_blank"), "description" => __("Select if you want the link to open in a new window or in the same window.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Button align", 'swift-framework-plugin'), "param_name" => "align", "value" => array(__("Left", 'swift-framework-plugin') => "left", __("Center", 'swift-framework-plugin') => "center", __("Right", 'swift-framework-plugin') => "right"), "std" => 'center', "description" => __("Choose the button alignment.", 'swift-framework-plugin')), array("type" => "section", "param_name" => "tb_animation_options", "heading" => __("Animation Options", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Intro Animation", 'swift-framework-plugin'), "param_name" => "animation", "value" => spb_animations_list(), "description" => __("Select an intro animation for the text block that will show it when it appears within the viewport.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Animation Delay", 'swift-framework-plugin'), "param_name" => "animation_delay", "value" => "0", "description" => __("If you wish to add a delay to the animation, then you can set it here (ms).", 'swift-framework-plugin')), array("type" => "section", "param_name" => "btn_misc_options", "heading" => __("Misc Options", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Extra class", 'swift-framework-plugin'), "param_name" => "el_class", "value" => "", "description" => __("If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin'))); /* SHORTCODE MAP ================================================== */ SPBMap::map('spb_button', array("name" => __("Button", 'swift-framework-plugin'), "base" => "spb_button", "class" => "spb_button spb_tab_ui", "icon" => "icon-button", "params" => $params));
* Swift Framework * Copyright Swift Ideas 2016 - http://www.swiftideas.com * */ class SwiftPageBuilderShortcode_spb_counter extends SwiftPageBuilderShortcode { protected function content($atts, $content = null) { $width = $el_class = $output = $items = $el_position = ''; extract(shortcode_atts(array('subject' => '', 'from' => '0', 'to' => '100', 'speed' => '2000', 'refresh' => '25', 'prefix' => '', 'suffix' => '', 'commas' => 'false', 'textstyle' => 'h3', 'textcolor' => '', 'icon' => '', 'width' => '1/1', 'el_position' => '', 'el_class' => ''), $atts)); $el_class = $this->getExtraClass($el_class); $width = spb_translateColumnWidthToSpan($width); $output .= "\n\t" . '<div class="spb_counter spb_content_element ' . $width . $el_class . '">'; $output .= "\n\t\t" . '<div class="spb-asset-content">'; $output .= "\n\t\t\t" . do_shortcode('[sf_count from="' . $from . '" to="' . $to . '" speed="' . $speed . '" refresh="' . $refresh . '" textstyle="' . $textstyle . '" subject="' . $subject . '" color="' . $textcolor . '" prefix="' . $prefix . '" suffix="' . $suffix . '" commas="' . $commas . '" icon="' . $icon . '"]'); $output .= "\n\t\t" . '</div>'; $output .= "\n\t" . '</div> ' . $this->endBlockComment($width); $output = $this->startRow($el_position) . $output . $this->endRow($el_position); return $output; } } /* PARAMS ================================================== */ $params = array(array("type" => "textfield", "holder" => "div", "heading" => __("Counter Subject", 'swift-framework-plugin'), "param_name" => "subject", "value" => "", "description" => __("The text which you would like to show below the counter.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Counter From", 'swift-framework-plugin'), "param_name" => "from", "value" => "0", "description" => __("The number from which the counter starts at.", 'swift-framework-plugin')), array("type" => "textfield", "holder" => "div", "heading" => __("Counter To", 'swift-framework-plugin'), "param_name" => "to", "value" => "100", "description" => __("The number from which the counter counts up to.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Counter Speed", 'swift-framework-plugin'), "param_name" => "speed", "value" => "2000", "description" => __("The time you want for the counter to take to complete, this is in milliseconds and the default is 2000.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Counter Refresh", 'swift-framework-plugin'), "param_name" => "refresh", "value" => "25", "description" => __("The time to wait between refreshing the counter. This is in milliseconds and the default is 25.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Counter Prefix", 'swift-framework-plugin'), "param_name" => "prefix", "value" => "", "description" => __("Enter the text which you would like to show before the count number (optional).", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Counter Suffix", 'swift-framework-plugin'), "param_name" => "suffix", "value" => "", "description" => __("Enter the text which you would like to show after the count number (optional).", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Counter Commas", 'swift-framework-plugin'), "param_name" => "commas", "value" => array("Yes" => "true", "No" => "false"), "description" => __("Include comma separators in the numbers after every 3rd digit.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Counter Text Style", 'swift-framework-plugin'), "param_name" => "textstyle", "value" => array("H3" => "h3", "H6" => "h6", "Body" => "div"), "description" => __("Chose the subject text style for the counter.", 'swift-framework-plugin')), array("type" => "colorpicker", "heading" => __("Counter Text Color", 'swift-framework-plugin'), "param_name" => "textcolor", "value" => "", "description" => __("Select a colour for the counter text here.", 'swift-framework-plugin'))); if (sf_theme_supports('counter-hr-divide-icon')) { $params[] = array("type" => "icon-picker", "heading" => __("Counter Divide Icon", 'swift-framework-plugin'), "param_name" => "icon", "value" => "", "description" => ''); } $params[] = array("type" => "textfield", "heading" => __("Extra class", 'swift-framework-plugin'), "param_name" => "el_class", "value" => "", "description" => __("If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin')); /* SHORTCODE MAP ================================================== */ SPBMap::map('spb_counter', array("name" => __("Counter", 'swift-framework-plugin'), "base" => "spb_counter", "class" => "spb_counter", "icon" => "icon-counter", "params" => $params));
<option value="standard"><?php _e('Standard', 'swiftframework'); ?> </option> <?php if (sf_theme_supports('bordered-button')) { ?> <option value="bordered"><?php _e('Bordered', 'swiftframework'); ?> </option> <?php } ?> <?php if (sf_theme_supports('3drotate-button')) { ?> <option value="rotate-3d"><?php _e('3D Rotate', 'swiftframework'); ?> </option> <?php } ?> <option value="stroke-to-fill"><?php _e('Stroke To Fill', 'swiftframework'); ?> </option> <option value="sf-icon-reveal"><?php _e('Icon Reveal', 'swiftframework'); ?>
function sf_logo($logo_class, $logo_id = "logo") { //VARIABLES global $post, $sf_options; $show_cart = false; if (isset($sf_options['show_cart'])) { $show_cart = $sf_options['show_cart']; } $logo = $retina_logo = $light_logo = $dark_logo = $alt_logo = array(); $header_type = "standard"; $page_header_alt_logo = false; if ($post && !is_search()) { $header_type = sf_get_post_meta($post->ID, 'sf_page_header_type', true); $page_header_alt_logo = sf_get_post_meta($post->ID, 'sf_page_header_alt_logo', true); } // Shop page check $shop_page = false; if (function_exists('is_shop') && is_shop() || function_exists('is_product_category') && is_product_category()) { $shop_page = true; } if ($shop_page) { if (isset($sf_options['woo_page_header'])) { $header_type = $sf_options['woo_page_header']; } } // Standard Logo if (isset($sf_options['logo_upload'])) { $logo = $sf_options['logo_upload']; } // Retina Logo if (isset($sf_options['retina_logo_upload'])) { $retina_logo = $sf_options['retina_logo_upload']; } // Light Logo if (isset($sf_options['light_logo_upload'])) { $light_logo = $sf_options['light_logo_upload']; } if (isset($light_logo['url']) && $light_logo['url'] != "" && $header_type == "naked-light") { $logo_class .= " has-light-logo"; } // Dark Logo if (isset($sf_options['dark_logo_upload'])) { $dark_logo = $sf_options['dark_logo_upload']; } if (isset($dark_logo['url']) && $dark_logo['url'] != "" && $header_type == "naked-dark") { $logo_class .= " has-dark-logo"; } // Alt Logo if (isset($sf_options['alt_logo_upload']) && $page_header_alt_logo) { $alt_logo = $sf_options['alt_logo_upload']; } if (isset($retina_logo['url']) && $retina_logo['url'] == "" && $logo['url'] != "") { $retina_logo['url'] = $logo['url']; } if (isset($logo['url']) && $logo['url'] != "") { $logo_class .= " has-img"; } else { $logo_class .= " no-img"; } $logo_output = ""; $logo_alt = get_bloginfo('name'); $logo_tagline = get_bloginfo('description'); $logo_link_url = apply_filters('sf_logo_link_url', home_url()); $enable_logo_tagline = false; if (isset($sf_options['enable_logo_tagline'])) { $enable_logo_tagline = $sf_options['enable_logo_tagline']; } /* LOGO OUTPUT ================================================== */ $logo_output .= '<div id="' . $logo_id . '" class="' . $logo_class . ' clearfix">' . "\n"; $logo_output .= '<a href="' . $logo_link_url . '">' . "\n"; if ($logo_id == "mobile-logo" && sf_theme_supports('mobile-logo-override')) { $mobile_logo = $mobile_retina_logo = ""; if (isset($sf_options['mobile_logo_upload'])) { $mobile_logo = $sf_options['mobile_logo_upload']; } if (isset($sf_options['mobile_retina_logo_upload'])) { $mobile_retina_logo = $sf_options['mobile_retina_logo_upload']; } // Standard Mobile Logo if (isset($mobile_logo['url']) && $mobile_logo['url'] != "") { $logo_output .= '<img class="standard" src="' . $mobile_logo['url'] . '" alt="' . $logo_alt . '" height="' . $mobile_logo['height'] . '" width="' . $mobile_logo['width'] . '" />' . "\n"; } else { if (isset($logo['url']) && $logo['url'] != "") { $logo_output .= '<img class="standard" src="' . $logo['url'] . '" alt="' . $logo_alt . '" height="' . $logo['height'] . '" width="' . $logo['width'] . '" />' . "\n"; } } // Retina Logo if (isset($mobile_retina_logo['url']) && $mobile_retina_logo['url'] != "") { $logo_height = intval($mobile_retina_logo['height'], 10) / 2; $logo_width = intval($mobile_retina_logo['width'], 10) / 2; $logo_output .= '<img class="retina" src="' . $mobile_retina_logo['url'] . '" alt="' . $logo_alt . '" height="' . $logo_height . '" width="' . $logo_width . '" />' . "\n"; } else { if (isset($retina_logo['url']) && $retina_logo['url'] != "") { $logo_height = intval($retina_logo['height'], 10) / 2; $logo_width = intval($retina_logo['width'], 10) / 2; $logo_output .= '<img class="retina" src="' . $retina_logo['url'] . '" alt="' . $logo_alt . '" height="' . $logo_height . '" width="' . $logo_width . '" />' . "\n"; } } // Alt Logo if (isset($alt_logo['url']) && $alt_logo['url'] != "" && $page_header_alt_logo) { $logo_output .= '<img class="alt-logo" src="' . $alt_logo['url'] . '" alt="' . $logo_alt . '" height="' . $alt_logo['height'] . '" width="' . $alt_logo['width'] . '" />' . "\n"; } // Text Logo $logo_output .= '<div class="text-logo">'; if (!isset($logo['url']) || $logo['url'] == "") { $logo_output .= '<h1 class="logo-h1 standard">' . $logo_alt . '</h1>' . "\n"; } if (!isset($retina_logo['url']) || $retina_logo['url'] == "") { $logo_output .= '<h1 class="logo-h1 retina">' . $logo_alt . '</h1>' . "\n"; } if ($enable_logo_tagline && $logo_tagline != "") { $logo_output .= '<h2 class="logo-h2">' . $logo_tagline . '</h1>' . "\n"; } $logo_output .= '</div>' . "\n"; } else { // Standard Logo if (isset($logo['url']) && $logo['url'] != "") { $logo_output .= '<img class="standard" src="' . $logo['url'] . '" alt="' . $logo_alt . '" height="' . $logo['height'] . '" width="' . $logo['width'] . '" />' . "\n"; } // Retina Logo if (isset($retina_logo['url']) && $retina_logo['url'] != "") { $logo_height = intval($retina_logo['height'], 10) / 2; $logo_width = intval($retina_logo['width'], 10) / 2; $logo_output .= '<img class="retina" src="' . $retina_logo['url'] . '" alt="' . $logo_alt . '" height="' . $logo_height . '" width="' . $logo_width . '" />' . "\n"; } // Light Logo if (isset($light_logo['url']) && $light_logo['url'] != "" && $header_type == "naked-light") { $logo_output .= '<img class="light-logo" src="' . $light_logo['url'] . '" alt="' . $logo_alt . '" height="' . $light_logo['height'] . '" width="' . $light_logo['width'] . '" />' . "\n"; } // Dark Logo if (isset($dark_logo['url']) && $dark_logo['url'] != "" && $header_type == "naked-dark") { $logo_output .= '<img class="dark-logo" src="' . $dark_logo['url'] . '" alt="' . $logo_alt . '" height="' . $dark_logo['height'] . '" width="' . $dark_logo['width'] . '" />' . "\n"; } // Alt Logo if (isset($alt_logo['url']) && $alt_logo['url'] != "" && $page_header_alt_logo) { $logo_output .= '<img class="alt-logo" src="' . $alt_logo['url'] . '" alt="' . $logo_alt . '" height="' . $alt_logo['height'] . '" width="' . $alt_logo['width'] . '" />' . "\n"; } // Text Logo $logo_output .= '<div class="text-logo">'; if (!isset($logo['url']) || $logo['url'] == "") { $logo_output .= '<h1 class="logo-h1 standard">' . $logo_alt . '</h1>' . "\n"; } if (!isset($retina_logo['url']) || $retina_logo['url'] == "") { $logo_output .= '<h1 class="logo-h1 retina">' . $logo_alt . '</h1>' . "\n"; } if ($enable_logo_tagline && $logo_tagline != "") { $logo_output .= '<h2 class="logo-h2">' . $logo_tagline . '</h1>' . "\n"; } $logo_output .= '</div>' . "\n"; } $logo_output .= '</a>' . "\n"; $logo_output .= '</div>' . "\n"; // LOGO RETURN return $logo_output; }
$output .= "\n\t\t" . '</div>'; $output .= "\n\t" . '</div> ' . $this->endBlockComment($width); if ($fullscreen) { $output = $this->startRow($el_position, '', true) . $output . $this->endRow($el_position, '', true); } else { $output = $this->startRow($el_position) . $output . $this->endRow($el_position); } global $sf_include_maps; $sf_include_maps = true; return $output; } } /* PARAMS ================================================== */ $params = array(array("type" => "textfield", "holder" => 'div', "heading" => __("Widget title", 'swift-framework-plugin'), "param_name" => "title", "value" => "", "description" => __("Heading text. Leave it empty if not needed.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Map Height", 'swift-framework-plugin'), "param_name" => "size", "value" => "300", "description" => __('Enter map height in pixels. Example: 300.', 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Map Type", 'swift-framework-plugin'), "param_name" => "type", "value" => array(__("Map", 'swift-framework-plugin') => "roadmap", __("Satellite", 'swift-framework-plugin') => "satellite", __("Hybrid", 'swift-framework-plugin') => "hybrid", __("Terrain", 'swift-framework-plugin') => "terrain"), "description" => __("Select map display type. NOTE, if you set a color below, then only the standard Map type will show.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Map Center Latitude Coordinate", 'swift-framework-plugin'), "param_name" => "map_center_latitude", "value" => "", "description" => __("Enter the Latitude coordinate of the center of the map.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Map Center Longitude Coordinate", 'swift-framework-plugin'), "param_name" => "map_center_longitude", "value" => "", "description" => __("Enter the Longitude coordinate of the center of the map.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Map Zoom", 'swift-framework-plugin'), "param_name" => "zoom", "value" => array(__("14 - Default", 'swift-framework-plugin') => 14, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20))); if (sf_theme_supports('advanced-map-styles')) { $params[] = array("type" => "buttonset", "heading" => __("Show Controls", 'swift-framework-plugin'), "param_name" => "map_controls", "value" => array(__("Yes", 'swift-framework-plugin') => "yes", __("No", 'swift-framework-plugin') => "no"), "buttonset_on" => "yes", "description" => __("Set whether you would like to show the default Google Maps controls UI.", 'swift-framework-plugin')); $params[] = array("type" => "buttonset", "heading" => __("Advanced Styling", 'swift-framework-plugin'), "param_name" => "advanced_styling", "value" => array(__("No", 'swift-framework-plugin') => "no", __("Yes", 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Set whether you would like to use the advanced map styling option.", 'swift-framework-plugin')); $params[] = array("type" => "textarea_encoded", "heading" => __("Google Map Style Array", 'swift-framework-plugin'), "param_name" => "style_array", "value" => "", "required" => array("advanced_styling", "=", "yes"), "description" => __("Enter the style array for the google map here. You can find examples of these <a href='https://snazzymaps.com' target='_blank'>here</a>.", 'swift-framework-plugin')); } $params[] = array("type" => "colorpicker", "heading" => __("Map Color", 'swift-framework-plugin'), "param_name" => "color", "value" => "", "description" => __('If you would like, you can enter a hex color here to style the map by changing the hue.', 'swift-framework-plugin')); $params[] = array("type" => "dropdown", "heading" => __("Map Saturation", 'swift-framework-plugin'), "param_name" => "saturation", "value" => array(__("Color", 'swift-framework-plugin') => "color", __("Mono (Light)", 'swift-framework-plugin') => "mono-light", __("Mono (Dark)", 'swift-framework-plugin') => "mono-dark"), "description" => __("Set whether you would like the map to be in color or mono (black/white).", 'swift-framework-plugin')); $params[] = array("type" => "buttonset", "heading" => __("Fullscreen Display", 'swift-framework-plugin'), "param_name" => "fullscreen", "value" => array(__("Yes", 'swift-framework-plugin') => "yes", __("No", 'swift-framework-plugin') => "no"), "buttonset_on" => "yes", "description" => __("If yes, the map will be displayed from screen edge to edge.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Extra class", 'swift-framework-plugin'), "param_name" => "el_class", "value" => "", "description" => __("If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin')); /* SHORTCODE MAP ================================================== */ SPBMap::map('spb_gmaps', array("name" => __("Google Map", 'swift-framework-plugin'), "base" => "spb_gmaps", "controls" => "full", "class" => "spb_gmaps", "icon" => "icon-map", "params" => $params, "custom_markup" => ' <div class="spb_tabs_holder"> %content% </div> <div class="container-helper"><a href="#" class="add-pin-to-map btn-floating waves-effect waves-light"><span class="icon-add"></span></a></div>', 'default_content' => '
if (isset($_GET['sidebar'])) { $sidebar_config = $_GET['sidebar']; } $pb_fw_mode = true; $pb_active = sf_get_post_meta($post->ID, '_spb_js_status', true); $vc_enabled = get_post_meta($post->ID, '_wpb_vc_js_status', true); if ($vc_enabled) { $pb_fw_mode = false; } if ($vc_enabled && $pb_active == "true") { $pb_fw_mode = true; } if ($sidebar_config != "no-sidebars" || $pb_active != "true" || post_password_required()) { $pb_fw_mode = false; } if (sf_theme_supports('swift-smartsidebar') && $post && !is_search()) { $sidebar_progress_menu = sf_get_post_meta($post->ID, 'sf_sidebar_progress_menu', true); if ($sidebar_progress_menu == "left-sidebar" || $sidebar_progress_menu == "right-sidebar") { $pb_fw_mode = false; } } ?> <?php // Check if page should be enabled in full width mode if (!$pb_fw_mode) { ?> <div class="container"> <?php } ?>
} } /* PARAMS ================================================== */ $params = array(array("type" => "section_tab", "param_name" => "general_tab", "heading" => __("General", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Element Name", 'swift-framework-plugin'), "param_name" => "element_name", "value" => "", "description" => __("Element Name. Use it to easily recognize the elements in the page builder mode.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Wrap type", 'swift-framework-plugin'), "param_name" => "wrap_type", "value" => array(__('Standard Width Content', 'swift-framework-plugin') => "content-width", __('Full Width Content', 'swift-framework-plugin') => "full-width"), "description" => __("Select if you want to row to wrap the content to the grid, or if you want the content to be edge to edge.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Row Background Type", 'swift-framework-plugin'), "param_name" => "row_bg_type", "value" => array(__("Color", 'swift-framework-plugin') => "color", __("Image", 'swift-framework-plugin') => "image", __("Video", 'swift-framework-plugin') => "video"), "description" => __("Choose whether you want to use an image or video for the background of the parallax. This will decide what is used from the options below.", 'swift-framework-plugin')), array("type" => "colorpicker", "heading" => __("Background color", 'swift-framework-plugin'), "param_name" => "row_bg_color", "value" => "", "description" => __("Select a background colour for the row here.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Color Row Height", 'swift-framework-plugin'), "param_name" => "color_row_height", "value" => array(__("Content Height", 'swift-framework-plugin') => "content-height", __("Window Height", 'swift-framework-plugin') => "window-height"), "required" => array("row_bg_type", "=", "color"), "description" => __("If you are using this as a coloured row asset, then please choose whether you'd like asset to sized based on the content height or the window height.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Row Style", 'swift-framework-plugin'), "param_name" => "row_style", "value" => array('' => '', __("Light", 'swift-framework-plugin') => "light", __("Dark", 'swift-framework-plugin') => "dark"), "description" => __("Set the colour style for the row here, e.g. if set to Light, then inner element titles will be light (for use on dark background rows).", 'swift-framework-plugin')), array("type" => "section", "param_name" => "section_bg_image_options", "heading" => __("Row Background Image Options", 'swift-framework-plugin'), "required" => array("row_bg_type", "=", "image")), array("type" => "section", "param_name" => "section_bg_video_options", "heading" => __("Row Background Video Options", 'swift-framework-plugin'), "required" => array("row_bg_type", "=", "video")), array("type" => "attach_image", "heading" => __("Background Image", 'swift-framework-plugin'), "param_name" => "bg_image", "value" => "", "required" => array("row_bg_type", "!=", "color"), "description" => "Choose an image to use as the background for the parallax area. This is also used as the fallback if using the video display."), array("type" => "dropdown", "heading" => __("Background Image Type", 'swift-framework-plugin'), "param_name" => "bg_type", "value" => array(__("Cover", 'swift-framework-plugin') => "cover", __("Pattern", 'swift-framework-plugin') => "pattern"), "required" => array("row_bg_type", "=", "image"), "description" => __("If you're uploading an image that you want to spread across the whole asset, then choose cover. Else choose pattern for an image you want to repeat.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Parallax Image Height", 'swift-framework-plugin'), "param_name" => "parallax_image_height", "value" => array(__("Content Height", 'swift-framework-plugin') => "content-height", __("Window Height", 'swift-framework-plugin') => "window-height"), "required" => array("row_bg_type", "=", "image"), "description" => __("If you are using this as an image parallax asset, then please choose whether you'd like asset to sized based on the content height or the height of the viewport window.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Background Image Movement", 'swift-framework-plugin'), "param_name" => "parallax_image_movement", "value" => array(__("Fixed", 'swift-framework-plugin') => "fixed", __("Scroll", 'swift-framework-plugin') => "scroll", __("Stellar (dynamic)", 'swift-framework-plugin') => "stellar"), "required" => array("row_bg_type", "=", "image"), "description" => __("Choose the type of movement you would like the parallax image to have. Fixed means the background image is fixed on the page, Scroll means the image will scroll will the page, and stellar makes the image move at a seperate speed to the page, providing a layered effect.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Parallax Image Speed (Stellar Only)", 'swift-framework-plugin'), "param_name" => "parallax_image_speed", "value" => "0.5", "required" => array("row_bg_type", "=", "image"), "description" => "The speed at which the parallax image moves in relation to the page scrolling. For example, 0.5 would mean the image scrolls at half the speed of the standard page scroll. (Default 0.5)."), array("type" => "textfield", "heading" => __("Background Video (MP4)", 'swift-framework-plugin'), "param_name" => "bg_video_mp4", "value" => "", "required" => array("row_bg_type", "=", "video"), "description" => "Provide a video URL in MP4 format to use as the background for the parallax area. You can upload these videos through the WordPress media manager."), array("type" => "textfield", "heading" => __("Background Video (WebM)", 'swift-framework-plugin'), "param_name" => "bg_video_webm", "value" => "", "required" => array("row_bg_type", "=", "video"), "description" => "Provide a video URL in WebM format to use as the background for the parallax area. You can upload these videos through the WordPress media manager."), array("type" => "textfield", "heading" => __("Background Video (Ogg)", 'swift-framework-plugin'), "param_name" => "bg_video_ogg", "value" => "", "required" => array("row_bg_type", "=", "video"), "description" => "Provide a video URL in OGG format to use as the background for the parallax area. You can upload these videos through the WordPress media manager."), array("type" => "buttonset", "heading" => __("Background Video Loop", 'swift-framework-plugin'), "param_name" => "bg_video_loop", "value" => array(__("Yes", 'swift-framework-plugin') => "yes", __("No", 'swift-framework-plugin') => "no"), "buttonset_on" => "yes", "std" => 'yes', "required" => array("row_bg_type", "=", "video"), "description" => "Choose if you would like the background video to be looped."), array("type" => "dropdown", "heading" => __("Parallax Video Height", 'swift-framework-plugin'), "param_name" => "parallax_video_height", "value" => array(__("Window Height", 'swift-framework-plugin') => "window-height", __("Content Height", 'swift-framework-plugin') => "content-height"), "required" => array("row_bg_type", "=", "video"), "description" => __("If you are using this as a video parallax asset, then please choose whether you'd like asset to sized based on the content height or the video height.", 'swift-framework-plugin')), array("type" => "section_tab", "param_name" => "display_options_tab", "heading" => __("Display", 'swift-framework-plugin'))); if (sf_theme_supports('transparent-sticky-header')) { $params[] = array("type" => "dropdown", "heading" => __("Header Style", 'swift-framework-plugin'), "param_name" => "row_header_style", "value" => array("" => "", __("Light", 'swift-framework-plugin') => "light", __("Dark", 'swift-framework-plugin') => "dark"), "description" => __("If you have the transparent sticky header option enabled in the page meta options, then you can set the header style when scrolling over this row.", 'swift-framework-plugin')); } if (sf_theme_supports('advanced-row-styling')) { $params[] = array("type" => "dropdown", "heading" => __("Row top style", 'swift-framework-plugin'), "param_name" => "row_top_style", "value" => array(__("None", 'swift-framework-plugin') => "none", __("Slant Left-to-right", 'swift-framework-plugin') => "slant-ltr", __("Slant Right-to-left", 'swift-framework-plugin') => "slant-rtl"), "description" => __("Choose the top style for the row, or none.", 'swift-framework-plugin')); $params[] = array("type" => "dropdown", "heading" => __("Row bottom style", 'swift-framework-plugin'), "param_name" => "row_bottom_style", "value" => array(__("None", 'swift-framework-plugin') => "none", __("Slant Left-to-right", 'swift-framework-plugin') => "slant-ltr", __("Slant Right-to-left", 'swift-framework-plugin') => "slant-rtl"), "description" => __("Choose the bottom style for the row, or none.", 'swift-framework-plugin')); } $params[] = array("type" => "dropdown", "heading" => __("Row Overlay style", 'swift-framework-plugin'), "param_name" => "parallax_video_overlay", "value" => array(__("None", 'swift-framework-plugin') => "none", __("Color", 'swift-framework-plugin') => "color", __("Light Grid", 'swift-framework-plugin') => "lightgrid", __("Dark Grid", 'swift-framework-plugin') => "darkgrid", __("Light Grid (Fat)", 'swift-framework-plugin') => "lightgridfat", __("Dark Grid (Fat)", 'swift-framework-plugin') => "darkgridfat", __("Light Diagonal", 'swift-framework-plugin') => "diaglight", __("Dark Diagonal", 'swift-framework-plugin') => "diagdark", __("Light Vertical", 'swift-framework-plugin') => "vertlight", __("Dark Vertical", 'swift-framework-plugin') => "vertdark", __("Light Horizontal", 'swift-framework-plugin') => "horizlight", __("Dark Horizontal", 'swift-framework-plugin') => "horizdark"), "description" => __("If you would like an overlay to appear on top of the image/video, then you can select it here.", 'swift-framework-plugin')); $params[] = array("type" => "uislider", "heading" => __("Row Overlay Opacity", 'swift-framework-plugin'), "param_name" => "row_overlay_opacity", "value" => "30", "step" => "5", "min" => "0", "max" => "100", "description" => __("Adjust the overlay capacity if using an image or video option. This only has effect for the color overlay style option, and shows an overlay over the image/video at the desired opacity. Percentage.", 'swift-framework-plugin')); $params[] = array("type" => "uislider", "heading" => __("Padding - Vertical", 'swift-framework-plugin'), "param_name" => "row_padding_vertical", "value" => "0", "description" => __("Adjust the vertical padding for the row. (px)", 'swift-framework-plugin')); if (sf_theme_supports('advanced-row-styling')) { $params[] = array("type" => "uislider", "heading" => __("Padding - Horizontal", 'swift-framework-plugin'), "param_name" => "row_padding_horizontal", "value" => "0", "min" => "0", "step" => "1", "max" => "20", "description" => __("Adjust the horizontal padding for the row. (%)", 'swift-framework-plugin')); } $params[] = array("type" => "uislider", "heading" => __("Margin - Vertical", 'swift-framework-plugin'), "param_name" => "row_margin_vertical", "value" => "0", "description" => __("Adjust the margin above and below the row. (px)", 'swift-framework-plugin')); $params[] = array("type" => "buttonset", "heading" => __("Remove Element Spacing", 'swift-framework-plugin'), "param_name" => "remove_element_spacing", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Enable this option if you wish to remove all spacing from the elements within the row.", 'swift-framework-plugin')); $params[] = array("type" => "buttonset", "heading" => __("Vertically Center Elements Within", 'swift-framework-plugin'), "param_name" => "vertical_center", "value" => array(__('No', 'swift-framework-plugin') => "false", __('Yes', 'swift-framework-plugin') => "true"), "buttonset_on" => "true", "std" => "false", "description" => __("Enable this option if you wish to center the elements within the row.", 'swift-framework-plugin')); $params[] = array("type" => "dropdown", "heading" => __("Inner Column Height", 'swift-framework-plugin'), "param_name" => "inner_column_height", "value" => array(__('Natural', 'swift-framework-plugin') => "col-natural", __('Window Height', 'swift-framework-plugin') => "col-window-height"), "description" => __("If you have the Window Height option selected for the row, and would like inner column assets to be 100% height, then please select the Window Height option here.", 'swift-framework-plugin')); $params[] = array("type" => "buttonset", "heading" => __("Expanding Row", 'swift-framework-plugin'), "param_name" => "row_expanding", "value" => array(__("No", 'swift-framework-plugin') => "no", __("Yes", 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("If you would like the content to be hidden on load, and have a text link to expand the content, then select Yes.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Expanding Link Text (Content Closed)", 'swift-framework-plugin'), "param_name" => "row_expading_text_closed", "value" => "", "required" => array("row_expanding", "=", "yes"), "description" => __("This is the text that is shown when the expanding row is closed.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Expanding Link Text (Content Open)", 'swift-framework-plugin'), "param_name" => "row_expading_text_open", "value" => "", "required" => array("row_expanding", "=", "yes"), "description" => __("This is the text that is shown when the expanding row is open.", 'swift-framework-plugin')); $params[] = array("type" => "section_tab", "param_name" => "animation_tab", "heading" => __("Animation", 'swift-framework-plugin')); $params[] = array("type" => "dropdown", "heading" => __("Intro Animation", 'swift-framework-plugin'), "param_name" => "row_animation", "value" => spb_animations_list(), "description" => __("Select an intro animation for the row which will show it when it appears within the viewport.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Animation Delay", 'swift-framework-plugin'), "param_name" => "row_animation_delay", "value" => "0", "description" => __("If you wish to add a delay to the animation, then you can set it here (ms).", 'swift-framework-plugin')); $params[] = array("type" => "section_tab", "param_name" => "row_misc_tab", "heading" => __("Misc/ID", 'swift-framework-plugin')); $params[] = array("type" => "dropdown", "heading" => __("Responsive Visiblity", 'swift-framework-plugin'), "param_name" => "row_responsive_vis", "holder" => 'indicator', "value" => spb_responsive_vis_list(), "description" => __("Set the responsive visiblity for the row, if you would only like it to display on certain display sizes.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Row ID", 'swift-framework-plugin'), "param_name" => "row_id", "value" => "", "description" => __("If you wish to add an ID to the row, then add it here. You can then use the id to deep link to this section of the page. This is also used for one page navigation. NOTE: Make sure this is unique to the page!!", 'swift-framework-plugin'));
return $output; } } /* PARAMS ================================================== */ $product_display_type = array(__('Standard', 'swift-framework-plugin') => "standard", __('Gallery', 'swift-framework-plugin') => "gallery", __('Gallery Bordered', 'swift-framework-plugin') => "gallery-bordered"); if (sf_theme_supports('product-preview-slider')) { $product_display_type = array(__('Standard', 'swift-framework-plugin') => "standard", __('Gallery', 'swift-framework-plugin') => "gallery", __('Gallery Bordered', 'swift-framework-plugin') => "gallery-bordered", __('Preview Slider', 'swift-framework-plugin') => "preview-slider"); } $product_display_layout = array(__('Standard', 'swift-framework-plugin') => "standard", __('List', 'swift-framework-plugin') => "list"); $product_display_type = apply_filters('spb_product_display_types', $product_display_type); $product_display_layout = apply_filters('spb_product_display_layouts', $product_display_layout); $params = array(array("type" => "textfield", "heading" => __("Widget title", 'swift-framework-plugin'), "param_name" => "title", "value" => ""), array("type" => "dropdown", "heading" => __("Asset type", 'swift-framework-plugin'), "param_name" => "asset_type", "value" => array(__('Best Sellers', 'swift-framework-plugin') => "best-sellers", __('Latest Products', 'swift-framework-plugin') => "latest-products", __('Top Rated', 'swift-framework-plugin') => "top-rated", __('Sale Products', 'swift-framework-plugin') => "sale-products", __('Recently Viewed', 'swift-framework-plugin') => "recently-viewed", __('Featured Products', 'swift-framework-plugin') => "featured-products", __('Categories', 'swift-framework-plugin') => "categories", __('Selected Products', 'swift-framework-plugin') => "selected-products")), array("type" => "select-multiple-id", "heading" => __("Product category", 'swift-framework-plugin'), "param_name" => "category", "value" => spb_get_product_categories(), "required" => array("asset_type", "not", "selected-products")), array("type" => "textfield", "heading" => __("Products", 'swift-framework-plugin'), "param_name" => "products", "value" => "", "required" => array("asset_type", "=", "selected-products"), "description" => __("Select specific products to show here, providing the Product ID in comma delimited format.", 'swift-framework-plugin'))); $params[] = array("type" => "dropdown", "heading" => __("Product display type", 'swift-framework-plugin'), "param_name" => "display_type", "required" => array("asset_type", "!=", "categories"), "value" => $product_display_type); if (sf_theme_supports('product-layout-opts')) { $params[] = array("type" => "dropdown", "heading" => __("Product display layout", 'swift-framework-plugin'), "param_name" => "display_layout", "required" => array("asset_type", "!=", "categories"), "value" => $product_display_layout); } if (sf_theme_supports('product-multi-masonry')) { $params[] = array("type" => "buttonset", "heading" => __("Multi-Masonry display", 'swift-framework-plugin'), "param_name" => "multi_masonry", "value" => array(__('Yes', 'swift-framework-plugin') => "yes", __('No', 'swift-framework-plugin') => "no"), "std" => "no", "required" => array("asset_type", "!=", "categories"), "buttonset_on" => "yes", "description" => __("Select if you'd like the asset to show products in a Multi-Masonry layout. NOTE: Not supported with Preview Slider display type.", 'swift-framework-plugin')); } $params[] = array("type" => "buttonset", "heading" => __("Carousel", 'swift-framework-plugin'), "param_name" => "carousel", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "required" => array("multi_masonry", "!=", "yes")); $params[] = array("type" => "buttonset", "heading" => __("Full Width", 'swift-framework-plugin'), "param_name" => "fullwidth", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes"); $params[] = array("type" => "dropdown", "heading" => __("Column count", 'swift-framework-plugin'), "param_name" => "columns", "value" => array("1", "2", "3", "4", "5", "6"), "std" => "4", "required" => array("multi_masonry", "=", "no")); $params[] = array("type" => "textfield", "class" => "", "heading" => __("Number of items", 'swift-framework-plugin'), "param_name" => "item_count", "value" => "8", "required" => array("asset_type", "!=", "selected-products")); $params[] = array("type" => "dropdown", "heading" => __("Order by", 'swift-framework-plugin'), "param_name" => "order_by", "value" => array(__('Default', 'swift-framework-plugin') => "", __('ID', 'swift-framework-plugin') => "ID", __('Title', 'swift-framework-plugin') => "title", __('Date', 'swift-framework-plugin') => "date", __('Random', 'swift-framework-plugin') => "rand"), "required" => array("multi_masonry", "=", "no")); $params[] = array("type" => "dropdown", "heading" => __("Order", 'swift-framework-plugin'), "param_name" => "order", "value" => array(__("Descending", 'swift-framework-plugin') => "DESC", __("Ascending", 'swift-framework-plugin') => "ASC")); $params[] = array("type" => "buttonset", "heading" => __("Shop Page Button", 'swift-framework-plugin'), "param_name" => "button_enabled", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Select if you'd like to include a button in the title bar to link through to all shop items.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Extra class", 'swift-framework-plugin'), "param_name" => "el_class", "value" => "", "description" => __("If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin')); /* SHORTCODE MAP ================================================== */ SPBMap::map('spb_products', array("name" => __("Products", 'swift-framework-plugin'), "base" => "spb_products", "class" => "spb-products", "icon" => "icon-products", "params" => $params));
function sf_super_search($contained = "") { global $sf_options; $ss_enable = $sf_options['ss_enable']; if ($ss_enable) { global $sf_supersearchcount, $woocommerce; $ss_button_text = __($sf_options['ss_button_text'], 'swiftframework'); $close_icon = apply_filters('sf_close_icon', '<i class="ss-delete"></i>'); $count = 1; $super_search = $search_text = $shop_url = ""; $shop_url = get_permalink(wc_get_page_id('shop')); if (sf_theme_supports('super-search-config')) { $search_config = $sf_options['ss_super_search_field']; foreach ($search_config as $search_field) { $search_text .= '<span>' . $search_field['beforetext'] . '</span>'; $search_text .= sf_super_search_dropdown($count, $search_field['ss-filter'], $search_field['label']); $search_text .= '<span>' . $search_field['aftertext'] . '</span>'; $count++; } } else { $field1_text = __($sf_options['field1_text'], 'swiftframework'); $field1_filter = __($sf_options['field1_filter'], 'swiftframework'); $field1_default_text = __($sf_options['field1_default_text'], 'swiftframework'); $field2_text = __($sf_options['field2_text'], 'swiftframework'); $field2_filter = __($sf_options['field2_filter'], 'swiftframework'); $field2_default_text = __($sf_options['field2_default_text'], 'swiftframework'); $field3_text = __($sf_options['field3_text'], 'swiftframework'); $field3_filter = __($sf_options['field3_filter'], 'swiftframework'); $field3_default_text = __($sf_options['field3_default_text'], 'swiftframework'); $field4_text = __($sf_options['field4_text'], 'swiftframework'); $field4_filter = __($sf_options['field4_filter'], 'swiftframework'); $field4_default_text = __($sf_options['field4_default_text'], 'swiftframework'); $field5_text = __($sf_options['field5_text'], 'swiftframework'); $field5_filter = __($sf_options['field5_filter'], 'swiftframework'); $field5_default_text = __($sf_options['field5_default_text'], 'swiftframework'); $field6_text = __($sf_options['field6_text'], 'swiftframework'); $field6_filter = __($sf_options['field6_filter'], 'swiftframework'); $field6_default_text = __($sf_options['field6_default_text'], 'swiftframework'); $ss_final_text = __($sf_options['ss_final_text'], 'swiftframework'); if ($field1_text != "") { $search_text .= '<span>' . $field1_text . '</span>'; $search_text .= sf_super_search_dropdown(1, $field1_filter, $field1_default_text); } if ($field2_text != "") { $search_text .= '<span>' . $field2_text . '</span>'; $search_text .= sf_super_search_dropdown(2, $field2_filter, $field2_default_text); } if ($field3_text != "") { $search_text .= '<span>' . $field3_text . '</span>'; $search_text .= sf_super_search_dropdown(3, $field3_filter, $field3_default_text); } if ($field4_text != "") { $search_text .= '<span>' . $field4_text . '</span>'; $search_text .= sf_super_search_dropdown(4, $field4_filter, $field4_default_text); } if ($field5_text != "") { $search_text .= '<span>' . $field5_text . '</span>'; $search_text .= sf_super_search_dropdown(5, $field5_filter, $field5_default_text); } if ($field6_text != "") { $search_text .= '<span>' . $field6_text . '</span>'; $search_text .= sf_super_search_dropdown(6, $field6_filter, $field6_default_text); } $search_text .= '<span>' . $ss_final_text . '</span>'; } if ($sf_supersearchcount == 0 || !$sf_supersearchcount) { $super_search .= '<div id="super-search" class="sf-super-search clearfix">'; } else { $super_search .= '<div id="super-search-' . $sf_supersearchcount . '" class="sf-super-search clearfix">'; } if ($contained) { $super_search .= '<div class="container">'; } $super_search .= '<div class="search-options col-sm-9">'; $super_search .= $search_text; $super_search .= '</div>'; $super_search .= '<div class="search-go col-sm-3">'; $super_search .= '<a href="#" class="super-search-go sf-button accent" data-home_url="' . get_home_url() . '" data-shop_url="' . $shop_url . '"><span class="text">' . $ss_button_text . '</span></a>'; $super_search .= '<a class="super-search-close" href="#">' . $close_icon . '</a>'; $super_search .= '</div>'; if ($contained) { $super_search .= '</div>'; } $super_search .= '</div><!-- close #super-search -->'; if ($sf_supersearchcount >= 0) { $sf_supersearchcount++; } else { $sf_supersearchcount = 0; } return $super_search; } }
function spb_get_svg_icons() { if (!sf_theme_supports('nucleo-svg-icons')) { return ''; } $coloured_svg_icons = array('arrows-color-1_cloud-download-95' => 'arrows-color-1_cloud-download-95', 'arrows-color-1_cloud-upload-96' => 'arrows-color-1_cloud-upload-96', 'arrows-color-2_file-download-87' => 'arrows-color-2_file-download-87', 'arrows-color-2_file-upload-86' => 'arrows-color-2_file-upload-86', 'arrows-color-2_lines' => 'arrows-color-2_lines', 'arrows-color-2_replay' => 'arrows-color-2_replay', 'arrows-color-3_cloud-refresh' => 'arrows-color-3_cloud-refresh', 'business-color_agenda' => 'business-color_agenda', 'business-color_award-48' => 'business-color_award-48', 'business-color_award-49' => 'business-color_award-49', 'business-color_badge' => 'business-color_badge', 'business-color_board-28' => 'business-color_board-28', 'business-color_board-29' => 'business-color_board-29', 'business-color_board-30' => 'business-color_board-30', 'business-color_briefcase-26' => 'business-color_briefcase-26', 'business-color_building' => 'business-color_building', 'business-color_bulb-63' => 'business-color_bulb-63', 'business-color_business-contact-85' => 'business-color_business-contact-85', 'business-color_business-contact-86' => 'business-color_business-contact-86', 'business-color_business-contact-87' => 'business-color_business-contact-87', 'business-color_business-contact-88' => 'business-color_business-contact-88', 'business-color_businessman-03' => 'business-color_businessman-03', 'business-color_calculator' => 'business-color_calculator', 'business-color_cheque' => 'business-color_cheque', 'business-color_connect' => 'business-color_connect', 'business-color_factory' => 'business-color_factory', 'business-color_globe' => 'business-color_globe', 'business-color_goal-64' => 'business-color_goal-64', 'business-color_gold' => 'business-color_gold', 'business-color_hammer' => 'business-color_hammer', 'business-color_handout' => 'business-color_handout', 'business-color_handshake' => 'business-color_handshake', 'business-color_hierarchy-55' => 'business-color_hierarchy-55', 'business-color_payment' => 'business-color_payment', 'business-color_pig' => 'business-color_pig', 'business-color_pin' => 'business-color_pin', 'business-color_progress' => 'business-color_progress', 'business-color_safe' => 'business-color_safe', 'business-color_signature' => 'business-color_signature', 'emoticons-color_bomb' => 'emoticons-color_bomb', 'emoticons-color_manga-62' => 'emoticons-color_manga-62', 'emoticons-color_sad' => 'emoticons-color_sad', 'emoticons-color_smile' => 'emoticons-color_smile', 'envir-color_recycling' => 'envir-color_recycling', 'envir-color_save-planet' => 'envir-color_save-planet', 'food-color_beer-95' => 'food-color_beer-95', 'food-color_carrot' => 'food-color_carrot', 'food-color_cocktail' => 'food-color_cocktail', 'food-color_cutlery-77' => 'food-color_cutlery-77', 'food-color_donut' => 'food-color_donut', 'food-color_fish' => 'food-color_fish', 'food-color_grape' => 'food-color_grape', 'food-color_moka' => 'food-color_moka', 'food-color_mug' => 'food-color_mug', 'food-color_pizza-slice' => 'food-color_pizza-slice', 'gestures-color_double-tap' => 'gestures-color_double-tap', 'gestures-color_pinch' => 'gestures-color_pinch', 'gestures-color_scroll-horitontal' => 'gestures-color_scroll-horitontal', 'gestures-color_scroll-vertical' => 'gestures-color_scroll-vertical', 'gestures-color_stretch' => 'gestures-color_stretch', 'gestures-color_touch-id' => 'gestures-color_touch-id', 'holidays-color_cockade' => 'holidays-color_cockade', 'holidays-color_gift' => 'holidays-color_gift', 'holidays-color_gift-exchange' => 'holidays-color_gift-exchange', 'holidays-color_message' => 'holidays-color_message', 'location-color_appointment' => 'location-color_appointment', 'location-color_flag-complex' => 'location-color_flag-complex', 'location-color_map-gps' => 'location-color_map-gps', 'location-color_map-pin' => 'location-color_map-pin', 'location-color_treasure-map-40' => 'location-color_treasure-map-40', 'location-color_world-pin' => 'location-color_world-pin', 'media-color-1_action-74' => 'media-color-1_action-74', 'media-color-1_album' => 'media-color-1_album', 'media-color-1_audio-91' => 'media-color-1_audio-91', 'media-color-1_camera-18' => 'media-color-1_camera-18', 'media-color-1_flash-24' => 'media-color-1_flash-24', 'media-color-1_frame-12' => 'media-color-1_frame-12', 'media-color-1_grid' => 'media-color-1_grid', 'media-color-1_image-01' => 'media-color-1_image-01', 'media-color-1_kid' => 'media-color-1_kid', 'media-color-1_layers' => 'media-color-1_layers', 'media-color-1_play-69' => 'media-color-1_play-69', 'media-color-1_polaroid-user' => 'media-color-1_polaroid-user', 'media-color-1_sd' => 'media-color-1_sd', 'media-color-1_shake' => 'media-color-1_shake', 'media-color-1_speaker' => 'media-color-1_speaker', 'media-color-1_sport' => 'media-color-1_sport', 'media-color-1_ticket-76' => 'media-color-1_ticket-76', 'media-color-1_touch' => 'media-color-1_touch', 'media-color-1_videocamera-71' => 'media-color-1_videocamera-71', 'media-color-2_guitar' => 'media-color-2_guitar', 'media-color-2_music-cloud' => 'media-color-2_music-cloud', 'media-color-2_note-03' => 'media-color-2_note-03', 'media-color-2_radio' => 'media-color-2_radio', 'media-color-2_remix' => 'media-color-2_remix', 'media-color-2_sound-wave' => 'media-color-2_sound-wave', 'nature-color_chicken' => 'nature-color_chicken', 'nature-color_forest' => 'nature-color_forest', 'nature-color_mountain' => 'nature-color_mountain', 'nature-color_tree-02' => 'nature-color_tree-02', 'objects-color_anchor' => 'objects-color_anchor', 'objects-color_battery' => 'objects-color_battery', 'objects-color_bow' => 'objects-color_bow', 'objects-color_cone' => 'objects-color_cone', 'objects-color_diamond' => 'objects-color_diamond', 'objects-color_globe' => 'objects-color_globe', 'objects-color_key-25' => 'objects-color_key-25', 'objects-color_key-26' => 'objects-color_key-26', 'objects-color_lamp' => 'objects-color_lamp', 'objects-color_leaf-38' => 'objects-color_leaf-38', 'objects-color_planet' => 'objects-color_planet', 'objects-color_puzzle-09' => 'objects-color_puzzle-09', 'objects-color_puzzle-10' => 'objects-color_puzzle-10', 'objects-color_spaceship' => 'objects-color_spaceship', 'objects-color_support-16' => 'objects-color_support-16', 'objects-color_support-17' => 'objects-color_support-17', 'objects-color_umbrella-13' => 'objects-color_umbrella-13', 'tech-color_computer-old' => 'tech-color_computer-old', 'tech-color_headphones' => 'tech-color_headphones', 'tech-color_keyboard-wifi' => 'tech-color_keyboard-wifi', 'tech-color_laptop-front' => 'tech-color_laptop-front', 'tech-color_mobile-button' => 'tech-color_mobile-button', 'tech-color_print' => 'tech-color_print', 'tech-color_tablet' => 'tech-color_tablet', 'tech-color_tv-old' => 'tech-color_tv-old', 'tech-color_watch' => 'tech-color_watch', 'tech-color_webcam-38' => 'tech-color_webcam-38', 'tech-color_wifi' => 'tech-color_wifi', 'text-color_capitalize' => 'text-color_capitalize', 'text-color_caps-all' => 'text-color_caps-all', 'text-color_list-numbers' => 'text-color_list-numbers', 'text-color_quote' => 'text-color_quote', 'ui-color-1_attach-87' => 'ui-color-1_attach-87', 'ui-color-1_calendar-grid-61' => 'ui-color-1_calendar-grid-61', 'ui-color-1_check' => 'ui-color-1_check', 'ui-color-1_dashboard-29' => 'ui-color-1_dashboard-29', 'ui-color-1_dashboard-30' => 'ui-color-1_dashboard-30', 'ui-color-1_edit-72' => 'ui-color-1_edit-72', 'ui-color-1_edit-76' => 'ui-color-1_edit-76', 'ui-color-1_email-83' => 'ui-color-1_email-83', 'ui-color-1_eye-17' => 'ui-color-1_eye-17', 'ui-color-1_eye-ban-18' => 'ui-color-1_eye-ban-18', 'ui-color-1_home-52' => 'ui-color-1_home-52', 'ui-color-1_home-minimal' => 'ui-color-1_home-minimal', 'ui-color-1_lock' => 'ui-color-1_lock', 'ui-color-1_lock-open' => 'ui-color-1_lock-open', 'ui-color-1_notification-70' => 'ui-color-1_notification-70', 'ui-color-1_pencil' => 'ui-color-1_pencil', 'ui-color-1_preferences' => 'ui-color-1_preferences', 'ui-color-1_preferences-rotate' => 'ui-color-1_preferences-rotate', 'ui-color-1_send' => 'ui-color-1_send', 'ui-color-1_settings' => 'ui-color-1_settings', 'ui-color-1_simple-add' => 'ui-color-1_simple-add', 'ui-color-1_simple-remove' => 'ui-color-1_simple-remove', 'ui-color-1_trash' => 'ui-color-1_trash', 'ui-color-1_ui-04' => 'ui-color-1_ui-04', 'ui-color-1_zoom' => 'ui-color-1_zoom', 'ui-color-1_zoom-in' => 'ui-color-1_zoom-in', 'ui-color-1_zoom-out' => 'ui-color-1_zoom-out', 'ui-color-2_archive' => 'ui-color-2_archive', 'ui-color-2_battery-half' => 'ui-color-2_battery-half', 'ui-color-2_battery-low' => 'ui-color-2_battery-low', 'ui-color-2_chat-content' => 'ui-color-2_chat-content', 'ui-color-2_favourite-28' => 'ui-color-2_favourite-28', 'ui-color-2_grid-45' => 'ui-color-2_grid-45', 'ui-color-2_grid-48' => 'ui-color-2_grid-48', 'ui-color-2_hourglass' => 'ui-color-2_hourglass', 'ui-color-2_lab' => 'ui-color-2_lab', 'ui-color-2_layers' => 'ui-color-2_layers', 'ui-color-2_like' => 'ui-color-2_like', 'ui-color-2_link-69' => 'ui-color-2_link-69', 'ui-color-2_paragraph' => 'ui-color-2_paragraph', 'ui-color-2_target' => 'ui-color-2_target', 'ui-color-2_tile-56' => 'ui-color-2_tile-56', 'ui-color-2_time' => 'ui-color-2_time', 'ui-color-2_time-alarm' => 'ui-color-2_time-alarm', 'ui-color-2_time-countdown' => 'ui-color-2_time-countdown', 'ui-color-2_webpage' => 'ui-color-2_webpage', 'ui-color-2_window-add' => 'ui-color-2_window-add', 'ui-color-2_window-delete' => 'ui-color-2_window-delete', 'users-color_badge-13' => 'users-color_badge-13', 'users-color_man-37' => 'users-color_man-37', 'users-color_man-45' => 'users-color_man-45', 'users-color_multiple-11' => 'users-color_multiple-11', 'users-color_parent' => 'users-color_parent', 'users-color_woman-24' => 'users-color_woman-24', 'users-color_woman-46' => 'users-color_woman-46', 'weather-color_celsius' => 'weather-color_celsius', 'weather-color_fahrenheit' => 'weather-color_fahrenheit', 'weather-color_wind' => 'weather-color_wind'); $outline_svg_icons = array('arrows-1_circle-down-40' => 'arrows-1_circle-down-40', 'arrows-1_circle-right-09' => 'arrows-1_circle-right-09', 'arrows-1_cloud-download-93' => 'arrows-1_cloud-download-93', 'arrows-1_cloud-upload-94' => 'arrows-1_cloud-upload-94', 'arrows-1_direction-53' => 'arrows-1_direction-53', 'arrows-1_fullscreen-double-74' => 'arrows-1_fullscreen-double-74', 'arrows-1_loop-82' => 'arrows-1_loop-82', 'arrows-1_minimal-down' => 'arrows-1_minimal-down', 'arrows-1_minimal-left' => 'arrows-1_minimal-left', 'arrows-1_minimal-right' => 'arrows-1_minimal-right', 'arrows-1_minimal-up' => 'arrows-1_minimal-up', 'arrows-1_refresh-69' => 'arrows-1_refresh-69', 'arrows-1_share-91' => 'arrows-1_share-91', 'arrows-1_shuffle-98' => 'arrows-1_shuffle-98', 'arrows-2_file-download-89' => 'arrows-2_file-download-89', 'arrows-2_file-upload-88' => 'arrows-2_file-upload-88', 'arrows-2_lines' => 'arrows-2_lines', 'arrows-2_log-out' => 'arrows-2_log-out', 'business-outline_agenda' => 'business-outline_agenda', 'business-outline_award-48' => 'business-outline_award-48', 'business-outline_award-49' => 'business-outline_award-49', 'business-outline_badge' => 'business-outline_badge', 'business-outline_board-28' => 'business-outline_board-28', 'business-outline_board-29' => 'business-outline_board-29', 'business-outline_board-30' => 'business-outline_board-30', 'business-outline_briefcase-24' => 'business-outline_briefcase-24', 'business-outline_building' => 'business-outline_building', 'business-outline_bulb-63' => 'business-outline_bulb-63', 'business-outline_business-contact-86' => 'business-outline_business-contact-86', 'business-outline_business-contact-88' => 'business-outline_business-contact-88', 'business-outline_businessman-04' => 'business-outline_businessman-04', 'business-outline_calculator' => 'business-outline_calculator', 'business-outline_chart' => 'business-outline_chart', 'business-outline_chart-bar-32' => 'business-outline_chart-bar-32', 'business-outline_chart-pie-35' => 'business-outline_chart-pie-35', 'business-outline_chart-pie-36' => 'business-outline_chart-pie-36', 'business-outline_connect' => 'business-outline_connect', 'business-outline_contacts' => 'business-outline_contacts', 'business-outline_currency-dollar' => 'business-outline_currency-dollar', 'business-outline_currency-euro' => 'business-outline_currency-euro', 'business-outline_currency-pound' => 'business-outline_currency-pound', 'business-outline_currency-yen' => 'business-outline_currency-yen', 'business-outline_factory' => 'business-outline_factory', 'business-outline_globe' => 'business-outline_globe', 'business-outline_goal-64' => 'business-outline_goal-64', 'business-outline_gold' => 'business-outline_gold', 'business-outline_handout' => 'business-outline_handout', 'business-outline_handshake' => 'business-outline_handshake', 'business-outline_hierarchy-55' => 'business-outline_hierarchy-55', 'business-outline_laptop-71' => 'business-outline_laptop-71', 'business-outline_laptop-91' => 'business-outline_laptop-91', 'business-outline_money-12' => 'business-outline_money-12', 'business-outline_notes' => 'business-outline_notes', 'business-outline_pig' => 'business-outline_pig', 'business-outline_pin' => 'business-outline_pin', 'business-outline_plug' => 'business-outline_plug', 'business-outline_scale' => 'business-outline_scale', 'business-outline_sign' => 'business-outline_sign', 'business-outline_signature' => 'business-outline_signature', 'cards-outline_amazon' => 'cards-outline_amazon', 'cards-outline_amex' => 'cards-outline_amex', 'cards-outline_android' => 'cards-outline_android', 'cards-outline_apple' => 'cards-outline_apple', 'cards-outline_mastercard' => 'cards-outline_mastercard', 'cards-outline_paypal' => 'cards-outline_paypal', 'cards-outline_stripe' => 'cards-outline_stripe', 'cards-outline_visa' => 'cards-outline_visa', 'clothes-outline_bag-21' => 'clothes-outline_bag-21', 'clothes-outline_shirt-business' => 'clothes-outline_shirt-business', 'clothes-outline_tie-bow' => 'clothes-outline_tie-bow', 'design-outline_app' => 'design-outline_app', 'design-outline_artboard' => 'design-outline_artboard', 'design-outline_book-open' => 'design-outline_book-open', 'design-outline_brush' => 'design-outline_brush', 'design-outline_bullet-list' => 'design-outline_bullet-list', 'design-outline_code' => 'design-outline_code', 'design-outline_code-editor' => 'design-outline_code-editor', 'design-outline_command' => 'design-outline_command', 'design-outline_compass' => 'design-outline_compass', 'design-outline_copy' => 'design-outline_copy', 'design-outline_crop' => 'design-outline_crop', 'design-outline_design' => 'design-outline_design', 'design-outline_image' => 'design-outline_image', 'design-outline_measure-17' => 'design-outline_measure-17', 'design-outline_mobile-design' => 'design-outline_mobile-design', 'design-outline_mobile-dev' => 'design-outline_mobile-dev', 'design-outline_mouse-10' => 'design-outline_mouse-10', 'design-outline_note-code' => 'design-outline_note-code', 'design-outline_paint-16' => 'design-outline_paint-16', 'design-outline_paint-bucket-40' => 'design-outline_paint-bucket-40', 'design-outline_palette' => 'design-outline_palette', 'design-outline_pantone' => 'design-outline_pantone', 'design-outline_paper-design' => 'design-outline_paper-design', 'design-outline_paper-dev' => 'design-outline_paper-dev', 'design-outline_path-exclude' => 'design-outline_path-exclude', 'design-outline_pen-tool' => 'design-outline_pen-tool', 'design-outline_phone' => 'design-outline_phone', 'design-outline_photo-editor' => 'design-outline_photo-editor', 'design-outline_scissors-dashed' => 'design-outline_scissors-dashed', 'design-outline_tablet-mobile' => 'design-outline_tablet-mobile', 'design-outline_text' => 'design-outline_text', 'design-outline_vector' => 'design-outline_vector', 'design-outline_wand-99' => 'design-outline_wand-99', 'design-outline_webpage' => 'design-outline_webpage', 'design-outline_window-paragraph' => 'design-outline_window-paragraph', 'education-outline_abc' => 'education-outline_abc', 'education-outline_atom' => 'education-outline_atom', 'education-outline_award-55' => 'education-outline_award-55', 'education-outline_backpack-58' => 'education-outline_backpack-58', 'education-outline_board-51' => 'education-outline_board-51', 'education-outline_book-open' => 'education-outline_book-open', 'education-outline_grammar-check' => 'education-outline_grammar-check', 'education-outline_language' => 'education-outline_language', 'education-outline_microscope' => 'education-outline_microscope', 'education-outline_paper' => 'education-outline_paper', 'education-outline_pencil-47' => 'education-outline_pencil-47', 'education-outline_school' => 'education-outline_school', 'emoticons-outline_bomb' => 'emoticons-outline_bomb', 'emoticons-outline_cry-15' => 'emoticons-outline_cry-15', 'emoticons-outline_fist' => 'emoticons-outline_fist', 'emoticons-outline_like' => 'emoticons-outline_like', 'emoticons-outline_manga-62' => 'emoticons-outline_manga-62', 'emoticons-outline_sad' => 'emoticons-outline_sad', 'emoticons-outline_smile' => 'emoticons-outline_smile', 'emoticons-outline_speechless' => 'emoticons-outline_speechless', 'emoticons-outline_surprise' => 'emoticons-outline_surprise', 'envir-outline_recycling' => 'envir-outline_recycling', 'envir-outline_save-planet' => 'envir-outline_save-planet', 'files-2_ai-illustrator' => 'files-2_ai-illustrator', 'files-2_asp' => 'files-2_asp', 'files-2_css' => 'files-2_css', 'files-2_docx' => 'files-2_docx', 'files-2_gif' => 'files-2_gif', 'files-2_html' => 'files-2_html', 'files-2_jpg-jpeg' => 'files-2_jpg-jpeg', 'files-2_js-javascript-jquery' => 'files-2_js-javascript-jquery', 'files-3_pdf' => 'files-3_pdf', 'files-3_php' => 'files-3_php', 'files-3_png' => 'files-3_png', 'files-3_psd-photoshop' => 'files-3_psd-photoshop', 'files-3_sql' => 'files-3_sql', 'files-3_txt' => 'files-3_txt', 'files-3_xml' => 'files-3_xml', 'files-3_zip' => 'files-3_zip', 'files-outline_archive-3d-content' => 'files-outline_archive-3d-content', 'files-outline_paper' => 'files-outline_paper', 'files-outline_single-content-02' => 'files-outline_single-content-02', 'files-outline_single-copies' => 'files-outline_single-copies', 'files-outline_single-copy-04' => 'files-outline_single-copy-04', 'files-outline_single-paragraph' => 'files-outline_single-paragraph', 'files-outline_zip-55' => 'files-outline_zip-55', 'food-outline_beer-95' => 'food-outline_beer-95', 'food-outline_cocktail' => 'food-outline_cocktail', 'food-outline_cutlery-77' => 'food-outline_cutlery-77', 'food-outline_donut' => 'food-outline_donut', 'food-outline_moka' => 'food-outline_moka', 'food-outline_mug' => 'food-outline_mug', 'food-outline_pizza-slice' => 'food-outline_pizza-slice', 'food-outline_tea' => 'food-outline_tea', 'gestures-outline_double-tap' => 'gestures-outline_double-tap', 'gestures-outline_pinch' => 'gestures-outline_pinch', 'gestures-outline_scroll-horitontal' => 'gestures-outline_scroll-horitontal', 'gestures-outline_scroll-vertical' => 'gestures-outline_scroll-vertical', 'gestures-outline_stretch' => 'gestures-outline_stretch', 'gestures-outline_tap-02' => 'gestures-outline_tap-02', 'gestures-outline_touch-id' => 'gestures-outline_touch-id', 'health-outline_apple' => 'health-outline_apple', 'health-outline_brain' => 'health-outline_brain', 'health-outline_dna-27' => 'health-outline_dna-27', 'health-outline_sleep' => 'health-outline_sleep', 'health-outline_steps' => 'health-outline_steps', 'health-outline_wheelchair' => 'health-outline_wheelchair', 'holidays-outline_cockade' => 'holidays-outline_cockade', 'holidays-outline_gift' => 'holidays-outline_gift', 'holidays-outline_gift-exchange' => 'holidays-outline_gift-exchange', 'holidays-outline_message' => 'holidays-outline_message', 'location-outline_flag-complex' => 'location-outline_flag-complex', 'location-outline_map-gps' => 'location-outline_map-gps', 'location-outline_map-pin' => 'location-outline_map-pin', 'location-outline_worl-marker' => 'location-outline_worl-marker', 'location-outline_world' => 'location-outline_world', 'media-1_action-74' => 'media-1_action-74', 'media-1_album' => 'media-1_album', 'media-1_audio-92' => 'media-1_audio-92', 'media-1_camera-19' => 'media-1_camera-19', 'media-1_countdown-34' => 'media-1_countdown-34', 'media-1_flash-24' => 'media-1_flash-24', 'media-1_frame-12' => 'media-1_frame-12', 'media-1_image-01' => 'media-1_image-01', 'media-1_image-02' => 'media-1_image-02', 'media-1_layers' => 'media-1_layers', 'media-1_movie-62' => 'media-1_movie-62', 'media-1_player' => 'media-1_player', 'media-1_shake' => 'media-1_shake', 'media-1_speaker' => 'media-1_speaker', 'media-1_sport' => 'media-1_sport', 'media-1_touch' => 'media-1_touch', 'media-1_video-66' => 'media-1_video-66', 'media-2_headphones' => 'media-2_headphones', 'media-2_headphones-mic' => 'media-2_headphones-mic', 'media-2_note-03' => 'media-2_note-03', 'media-2_radio' => 'media-2_radio', 'media-2_sound-wave' => 'media-2_sound-wave', 'objects-outline_anchor' => 'objects-outline_anchor', 'objects-outline_bow' => 'objects-outline_bow', 'objects-outline_diamond' => 'objects-outline_diamond', 'objects-outline_dice' => 'objects-outline_dice', 'objects-outline_globe' => 'objects-outline_globe', 'objects-outline_key-26' => 'objects-outline_key-26', 'objects-outline_lamp' => 'objects-outline_lamp', 'objects-outline_planet' => 'objects-outline_planet', 'objects-outline_puzzle-09' => 'objects-outline_puzzle-09', 'objects-outline_puzzle-10' => 'objects-outline_puzzle-10', 'objects-outline_skull' => 'objects-outline_skull', 'objects-outline_spaceship' => 'objects-outline_spaceship', 'objects-outline_support-16' => 'objects-outline_support-16', 'objects-outline_support-17' => 'objects-outline_support-17', 'objects-outline_umbrella-13' => 'objects-outline_umbrella-13', 'shopping-outline_box-3d-50' => 'shopping-outline_box-3d-50', 'shopping-outline_cart' => 'shopping-outline_cart', 'shopping-outline_cart-add' => 'shopping-outline_cart-add', 'shopping-outline_cart-remove' => 'shopping-outline_cart-remove', 'shopping-outline_credit-card' => 'shopping-outline_credit-card', 'shopping-outline_credit-locked' => 'shopping-outline_credit-locked', 'shopping-outline_delivery-fast' => 'shopping-outline_delivery-fast', 'shopping-outline_delivery-time' => 'shopping-outline_delivery-time', 'shopping-outline_discount' => 'shopping-outline_discount', 'shopping-outline_gift' => 'shopping-outline_gift', 'shopping-outline_list' => 'shopping-outline_list', 'shopping-outline_newsletter' => 'shopping-outline_newsletter', 'shopping-outline_tag-content' => 'shopping-outline_tag-content', 'sport-outline_boxing' => 'sport-outline_boxing', 'sport-outline_crown' => 'sport-outline_crown', 'sport-outline_flag-finish' => 'sport-outline_flag-finish', 'sport-outline_podium-trophy' => 'sport-outline_podium-trophy', 'sport-outline_tactic' => 'sport-outline_tactic', 'sport-outline_user-run' => 'sport-outline_user-run', 'tech-outline_computer-old' => 'tech-outline_computer-old', 'tech-outline_desktop-screen' => 'tech-outline_desktop-screen', 'tech-outline_keyboard-mouse' => 'tech-outline_keyboard-mouse', 'tech-outline_laptop-front' => 'tech-outline_laptop-front', 'tech-outline_mobile' => 'tech-outline_mobile', 'tech-outline_player-19' => 'tech-outline_player-19', 'tech-outline_print' => 'tech-outline_print', 'tech-outline_tablet-button' => 'tech-outline_tablet-button', 'tech-outline_tv-old' => 'tech-outline_tv-old', 'tech-outline_watch' => 'tech-outline_watch', 'tech-outline_wifi' => 'tech-outline_wifi', 'text-outline_capitalize' => 'text-outline_capitalize', 'text-outline_caps-all' => 'text-outline_caps-all', 'text-outline_list-numbers' => 'text-outline_list-numbers', 'text-outline_quote' => 'text-outline_quote', 'transportation-outline_bike-sport' => 'transportation-outline_bike-sport', 'transportation-outline_light-traffic' => 'transportation-outline_light-traffic', 'travel-outline_world' => 'travel-outline_world', 'ui-1_attach-87' => 'ui-1_attach-87', 'ui-1_bell-54' => 'ui-1_bell-54', 'ui-1_calendar-grid-61' => 'ui-1_calendar-grid-61', 'ui-1_check-circle-07' => 'ui-1_check-circle-07', 'ui-1_dashboard-29' => 'ui-1_dashboard-29', 'ui-1_drop' => 'ui-1_drop', 'ui-1_email-85' => 'ui-1_email-85', 'ui-1_eye-17' => 'ui-1_eye-17', 'ui-1_eye-ban-18' => 'ui-1_eye-ban-18', 'ui-1_home-52' => 'ui-1_home-52', 'ui-1_lock' => 'ui-1_lock', 'ui-1_lock-open' => 'ui-1_lock-open', 'ui-1_notification-70' => 'ui-1_notification-70', 'ui-1_pencil' => 'ui-1_pencil', 'ui-1_preferences-circle' => 'ui-1_preferences-circle', 'ui-1_preferences-circle-rotate' => 'ui-1_preferences-circle-rotate', 'ui-1_send' => 'ui-1_send', 'ui-1_settings' => 'ui-1_settings', 'ui-1_settings-gear-65' => 'ui-1_settings-gear-65', 'ui-1_trash-simple' => 'ui-1_trash-simple', 'ui-1_ui-04' => 'ui-1_ui-04', 'ui-1_zoom-split' => 'ui-1_zoom-split', 'ui-1_zoom-split-in' => 'ui-1_zoom-split-in', 'ui-1_zoom-split-out' => 'ui-1_zoom-split-out', 'ui-2_alert-exclamation' => 'ui-2_alert-exclamation', 'ui-2_alert-question' => 'ui-2_alert-question', 'ui-2_alert-i' => 'ui-2_alert-i', 'ui-2_archive' => 'ui-2_archive', 'ui-2_chart-bar-53' => 'ui-2_chart-bar-53', 'ui-2_chat-round-content' => 'ui-2_chat-round-content', 'ui-2_disk' => 'ui-2_disk', 'ui-2_favourite-28' => 'ui-2_favourite-28', 'ui-2_favourite-31' => 'ui-2_favourite-31', 'ui-2_grid-48' => 'ui-2_grid-48', 'ui-2_grid-49' => 'ui-2_grid-49', 'ui-2_lab' => 'ui-2_lab', 'ui-2_layers' => 'ui-2_layers', 'ui-2_link-69' => 'ui-2_link-69', 'ui-2_menu-34' => 'ui-2_menu-34', 'ui-2_menu-35' => 'ui-2_menu-35', 'ui-2_paragraph' => 'ui-2_paragraph', 'ui-2_share-bold' => 'ui-2_share-bold', 'ui-2_tile-56' => 'ui-2_tile-56', 'ui-2_time' => 'ui-2_time', 'ui-2_time-countdown' => 'ui-2_time-countdown', 'users-outline_man-23' => 'users-outline_man-23', 'users-outline_multiple-11' => 'users-outline_multiple-11', 'users-outline_woman-25' => 'users-outline_woman-25'); $coloured_svg_icons = apply_filters('spb_coloured_svg_icons', $coloured_svg_icons); $outline_svg_icons = apply_filters('spb_outline_svg_icons', $outline_svg_icons); // Output $svg_icon_output = ''; foreach ($coloured_svg_icons as $icon) { $svg_icon_output .= '<li class="svg-icon" data-icon="' . $icon . '"><i class="svg-icon-picker-item ' . $icon . '"></i></li>'; } foreach ($outline_svg_icons as $icon) { $svg_icon_output .= '<li class="svg-icon" data-icon="' . $icon . '"><i class="svg-icon-picker-item outline-svg ' . $icon . '"></i></li>'; } return $svg_icon_output; }
<?php /* * * Swift Framework Menu Functions * ------------------------------------------------ * Swift Framework v3.0 * Copyright Swift Ideas 2016 - http://www.swiftideas.com * * sf_setup_menus() * */ /* CUSTOM MENU SETUP ================================================== */ register_nav_menus(array('main_navigation' => __('Main Menu', "swiftframework"), 'overlay_menu' => __('Overlay Menu', "swiftframework"), 'mobile_menu' => __('Mobile Menu', "swiftframework"), 'top_bar_menu' => __('Top Bar Menu', "swiftframework"), 'footer_menu' => __('Footer Menu', "swiftframework"))); /* SLIDEOUT MENU SETUP ================================================== */ if (sf_theme_supports('slideout-menu')) { register_nav_menus(array('slideout_menu' => __('Slideout Menu', "swiftframework"))); } /* PUSHNAV MENU SETUP ================================================== */ if (sf_theme_supports('pushnav-menu')) { register_nav_menus(array('pushnav_menu' => __('Push Nav Menu', "swiftframework"))); } /* SPLIT HEADER MENU SETUP ================================================== */ if (sf_theme_supports('split-nav-menu')) { register_nav_menus(array('split_nav_left' => __('Split Nav Left', "swiftframework"), 'split_nav_right' => __('Split Nav Right', "swiftframework"))); }
/** * Add custom fields to edit menu page * * @access public * @since 1.0 * @return void */ function sf_mega_menu_add_custom_fields($item_id, $item, $depth, $args) { ?> <div class="sf-menu-options"> <?php if ($depth == 0) { ?> <h4>Mega Menu Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-megamenu-<?php echo esc_attr($item_id); ?> "><?php _e('Enable Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-megamenu-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-megamenu[<?php echo esc_attr($item_id); ?> ]" name="menu-megamenu[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->megamenu), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-megamenucols-<?php echo esc_attr($item_id); ?> "><?php _e('Mega Menu Columns', 'swiftframework'); ?> </label> <select class="fat" id="edit-menu-megamenucols-<?php echo esc_attr($item_id); ?> " name="menu-megamenucols[<?php echo esc_attr($item_id); ?> ]"> <?php for ($i = 1; $i <= 6; $i++) { if ($i == $item->megamenucols) { echo '<option selected="selected">' . $i . '</option>'; } else { echo '<option>' . $i . '</option>'; } } ?> </select> </p> <p class="field-custom description description-wide"> <label for="edit-menu-is-naturalwidth-<?php echo esc_attr($item_id); ?> "><?php _e('Natural Width Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-is-naturalwidth-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-naturalwidth[<?php echo esc_attr($item_id); ?> ]" name="menu-is-naturalwidth[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->isnaturalwidth), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-is-altstyle-<?php echo esc_attr($item_id); ?> "><?php _e('Alternative Style Mega Menu', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-is-altstyle-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-is-altstyle[<?php echo esc_attr($item_id); ?> ]" name="menu-is-altstyle[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->altstyle), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-hideheadings-<?php echo esc_attr($item_id); ?> "><?php _e('Hide Mega Menu Headings', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-hideheadings-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-hideheadings[<?php echo esc_attr($item_id); ?> ]" name="menu-hideheadings[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->hideheadings), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide" style="height: 10px;"></p> <?php } ?> <h4>Custom Menu Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-loggedinvis-<?php echo esc_attr($item_id); ?> "><?php _e('Visible only when logged in', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-loggedinvis-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-loggedinvis[<?php echo esc_attr($item_id); ?> ]" name="menu-loggedinvis[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->loggedinvis), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-loggedoutvis-<?php echo esc_attr($item_id); ?> "><?php _e('Visible only when logged out', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-loggedoutvis-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-loggedoutvis[<?php echo esc_attr($item_id); ?> ]" name="menu-loggedoutvis[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->loggedoutvis), 1, false); ?> /> </label> </p> <?php if ($depth == 0) { ?> <?php if (sf_theme_supports('menu-new-badge')) { ?> <p class="field-custom description description-wide"> <label for="edit-menu-newbadge-<?php echo esc_attr($item_id); ?> "><?php _e('New Badge', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-newbadge-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-newbadge[<?php echo esc_attr($item_id); ?> ]" name="menu-newbadge[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->newbadge), 1, false); ?> /> </label> </p> <?php } ?> <p class="field-custom description description-wide"> <label for="edit-menu-menuitembtn-<?php echo esc_attr($item_id); ?> "><?php _e('Button Style Menu Item', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-menuitembtn-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-menuitembtn[<?php echo esc_attr($item_id); ?> ]" name="menu-menuitembtn[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->menuitembtn), 1, false); ?> /> </label> </p> <?php } ?> <p class="field-custom description description-thin" style="height: auto;overflow: hidden;width: 50%;float: none;"> <label for="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> "><?php _e('Menu Icon (Icon Mind / Font Awesome)', 'swiftframework'); ?> <input type="text" id="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-icon[<?php echo esc_attr($item_id); ?> ]" placeholder="ss-star" value="<?php echo esc_attr($item->menuicon); ?> "/> </label> </p> <?php if ($depth == 1) { ?> <h4>Mega Menu Column Options</h4> <p class="field-custom description description-wide"> <label for="edit-menu-megatitle-<?php echo esc_attr($item_id); ?> "><?php _e('Mega Menu No Link Title', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-megatitle-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-megatitle[<?php echo esc_attr($item_id); ?> ]" name="menu-megatitle[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->megatitle), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-nocolumnspacing-<?php echo esc_attr($item_id); ?> "><?php _e('No Menu Column Spacing (for custom html column)', 'swiftframework'); ?> <input type="checkbox" id="edit-menu-nocolumnspacing-<?php echo esc_attr($item_id); ?> " class="edit-menu-item-custom" id="menu-nocolumnspacing[<?php echo esc_attr($item_id); ?> ]" name="menu-nocolumnspacing[<?php echo esc_attr($item_id); ?> ]" value="1" <?php echo checked(!empty($item->nocolumnspacing), 1, false); ?> /> </label> </p> <p class="field-custom description description-wide"> <label for="edit-menu-item-icon-<?php echo esc_attr($item_id); ?> "><?php _e('Custom HTML Column Width (optional)', 'swiftframework'); ?> <input type="text" id="edit-menu-item-width-<?php echo esc_attr($item_id); ?> " class="widefat edit-menu-item-custom" name="menu-item-width[<?php echo esc_attr($item_id); ?> ]" value="<?php echo esc_attr($item->menuwidth); ?> "/> </label> <p><?php _e('Optionally set a width here for the menu column, ideal if you want to make it wider. Numeric value (no px).', 'swiftframework'); ?> </p> </p> <p class="field-custom description description-wide"> <label for="edit-menu-item-htmlcontent-<?php echo esc_attr($item_id); ?> "><?php _e('Custom HTML Column (within Mega Menu)', 'swiftframework'); ?> <textarea id="edit-menu-item-htmlcontent-<?php echo esc_attr($item_id); ?> " name="menu-item-htmlcontent[<?php echo esc_attr($item_id); ?> ]" cols="30" rows="4"><?php echo esc_attr($item->htmlcontent); ?> </textarea> </label> </p> <?php } ?> </div> <?php }
function sf_mobile_shop_filters() { if (!sf_theme_supports('mobile-shop-filters')) { return; } ?> <div class="sf-mobile-shop-filters row"> <?php if (function_exists('dynamic_sidebar')) { ?> <?php dynamic_sidebar('mobile-woocommerce-filters'); ?> <?php } ?> </div> <?php }
$output .= "\n\t\t\t" . $items; $output .= "\n\t\t" . '</div>'; $output .= "\n\t" . '</div> ' . $this->endBlockComment($width); if ($fullwidth == "yes" && $sidebars == "no-sidebars") { $output = $this->startRow($el_position, '', true) . $output . $this->endRow($el_position, '', true); } else { $output = $this->startRow($el_position) . $output . $this->endRow($el_position); } global $sf_include_isotope, $sf_include_carousel; $sf_include_isotope = true; if ($carousel == "yes") { $sf_include_carousel = true; } return $output; } } $display_types = array(__('Standard', 'swift-framework-plugin') => "standard", __('Standard Row', 'swift-framework-plugin') => "standard-row", __('Bold', 'swift-framework-plugin') => "bold", __('Bold (Alt)', 'swift-framework-plugin') => "bright", __('Post List', 'swift-framework-plugin') => "list"); if (spb_get_theme_name() == "atelier") { $display_types = array(__('Standard', 'swift-framework-plugin') => "standard", __('Standard Row', 'swift-framework-plugin') => "standard-row", __('Post List', 'swift-framework-plugin') => "list"); } if (sf_theme_supports('posts-showcase')) { $display_types = array(__('Standard', 'swift-framework-plugin') => "standard", __('Standard Row', 'swift-framework-plugin') => "standard-row", __('Post List', 'swift-framework-plugin') => "list", __('Post Showcase', 'swift-framework-plugin') => "showcase"); } /* PARAMS ================================================== */ $params = array(array("type" => "textfield", "heading" => __("Widget title", 'swift-framework-plugin'), "param_name" => "title", "value" => "", "description" => __("Heading text. Leave it empty if not needed.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Display Type", 'swift-framework-plugin'), "param_name" => "display_type", "value" => $display_types, "description" => __("Choose the display type for the posts.", 'swift-framework-plugin')), array("type" => "buttonset", "heading" => __("Carousel", 'swift-framework-plugin'), "param_name" => "carousel", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "std" => "no", "required" => array("display_type", "or", "standard,bold,standard-row"), "description" => __("Enables carousel funcitonality in the asset.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Columns", 'swift-framework-plugin'), "param_name" => "item_columns", "std" => '5', "value" => array(__('5', 'swift-framework-plugin') => "5", __('4', 'swift-framework-plugin') => "4", __('3', 'swift-framework-plugin') => "3", __('2', 'swift-framework-plugin') => "2", __('1', 'swift-framework-plugin') => "1"), "required" => array("display_type", "or", "standard,bold,standard-row"), "description" => __("Choose the amount of columns you would like for the asset.", 'swift-framework-plugin')), array("type" => "textfield", "class" => "", "heading" => __("Number of items", 'swift-framework-plugin'), "param_name" => "item_count", "value" => "4", "description" => __("The number of blog items to show per page.", 'swift-framework-plugin')), array("type" => "select-multiple", "heading" => __("Blog category", 'swift-framework-plugin'), "param_name" => "category", "value" => sf_get_category_list('category'), "description" => __("Choose the category for the blog items.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Posts offset", 'swift-framework-plugin'), "param_name" => "offset", "value" => "0", "description" => __("The offset for the start of the posts that are displayed, e.g. enter 5 here to start from the 5th post.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Posts order", 'swift-framework-plugin'), "param_name" => "posts_order", "value" => array(__("Descending", 'swift-framework-plugin') => "DESC", __("Ascending", 'swift-framework-plugin') => "ASC"), "description" => __("The order of the posts.", 'swift-framework-plugin')), array("type" => "textfield", "heading" => __("Excerpt Length", 'swift-framework-plugin'), "param_name" => "excerpt_length", "value" => "20", "description" => __("The length of the excerpt for the posts.", 'swift-framework-plugin')), array("type" => "buttonset", "heading" => __("Full Width", 'swift-framework-plugin'), "param_name" => "fullwidth", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Select if you'd like the asset to be full width (edge to edge). NOTE: only possible on pages without sidebars.", 'swift-framework-plugin')), array("type" => "buttonset", "heading" => __("Gutters", 'swift-framework-plugin'), "param_name" => "gutters", "value" => array(__('Yes', 'swift-framework-plugin') => "yes", __('No', 'swift-framework-plugin') => "no"), "buttonset_on" => "yes", "description" => __("Select if you'd like spacing between the items, or not.", 'swift-framework-plugin')), array("type" => "buttonset", "heading" => __("Blog Page Button", 'swift-framework-plugin'), "param_name" => "button_enabled", "value" => array(__('No', 'swift-framework-plugin') => "no", __('Yes', 'swift-framework-plugin') => "yes"), "buttonset_on" => "yes", "description" => __("Select if you'd like to include a button in the title bar to link through to all blog posts. The page is set in Theme Options > Custom Post Type Options, unless you have selected a category above, in which case it will link to that category.", 'swift-framework-plugin')), array("type" => "dropdown", "heading" => __("Post Type Override", 'swift-framework-plugin'), "param_name" => "post_type", "value" => spb_get_post_types(), "description" => __("If you'd like to override the post type for which the content is of this asset is made up of, then you can select it here.", 'swift-framework-plugin'))); $params[] = array("type" => "buttonset", "heading" => __("Include Pagination", 'swift-framework-plugin'), "param_name" => "pagination", "value" => array(__("Yes", 'swift-framework-plugin') => "yes", __("No", 'swift-framework-plugin') => "no"), "required" => array("display_type", "=", "showcase"), "description" => __("If you would like to include pagination on the showcase asset, then enable it here.", 'swift-framework-plugin')); $params[] = array("type" => "textfield", "heading" => __("Extra class", 'swift-framework-plugin'), "param_name" => "el_class", "value" => "", "description" => __("If you wish to style this particular content element differently, then use this field to add a class name and then refer to it in your css file.", 'swift-framework-plugin')); /* SHORTCODE MAP ================================================== */ SPBMap::map('spb_recent_posts', array("name" => __("Recent Posts", 'swift-framework-plugin'), "base" => "spb_recent_posts", "class" => "spb_recent_posts spb_tab_media", "icon" => "icon-recent-posts", "params" => $params));