芝麻web文件管理V1.00
编辑当前文件:/www/wwwroot/fashionmodelquicktrack.com/wp-content/themes/flatsome/inc/shortcodes/featured_box.php
'', 'title_small' => '', 'font_size' => '', 'class' => '', 'visibility' => '', 'img' => '', 'inline_svg' => 'true', 'img_width' => '60', 'pos' => 'top', 'link' => '', 'target' => '_self', 'rel' => '', 'tooltip' => '', 'margin' => '', 'icon_border' => '', 'icon_color' => '', ), $atts ) ); if($visibility == 'hidden') return; $classes = array( 'featured-box' ); $classes_img = array( 'icon-box-img' ); if( $class ) $classes[] = $class; if( $visibility ) $classes[] = $visibility; $classes[] = 'icon-box-' . $pos; if ( $tooltip ) $classes[] = 'tooltip'; if ( $pos == 'center' ) $classes[] = 'text-center'; if ( $pos == 'left' || $pos == 'top' ) $classes[] = 'text-left'; if ( $pos == 'right' ) $classes[] = 'text-right'; if ( $font_size ) $classes[] = 'is-' . $font_size; if ( $img_width ) $img_width = 'width: ' . intval( $img_width ) . 'px'; if ( $icon_border ) $classes_img[] = 'has-icon-bg'; $css_args_out = array( 'margin' => array( 'attribute' => 'margin', 'value' => $margin, ), ); $css_args = array( 'icon_border' => array( 'attribute' => 'border-width', 'unit' => 'px', 'value' => $icon_border, ), 'icon_color' => array( 'attribute' => 'color', 'value' => $icon_color, ), ); $classes = implode( ' ', $classes ); $classes_img = implode( ' ', $classes_img ); $link_atts = array( 'target' => $target, 'rel' => array( $rel ), ); ob_start(); ?> '; ?>
>
>
'; ?>