File manager - Edit - /home/theblueo/www/wp-content/plugins/nimbus/vc_templates/nb_iconbox.php
Back
<?php extract( shortcode_atts( array( 'icon_style' => 'icon', 'svg' => '', 'icon' => '', 'type' => 'fontawesome', 'icon_fontawesome' => '', 'icon_openiconic' => '', 'icon_typicons' => '', 'icon_entypo' => '', 'icon_linecons' => '', 'icon_monosocial' => '', 'icon_material' => '', 'icon_dripicons' => '', 'icon_elegantlcons' => '', 'icon_pe7icons' => '', 'icon_position' => 'left', 'icon_color' => '', 'style' => '', 'title' => '', 'desc' => '', 'color' => 'black', 'class' => '', ), $atts ) ); $class = $this->getExtraClass( $class ); wp_enqueue_script( 'nimbus-icon' ); if ( $icon_style == 'icon' ) { vc_icon_element_fonts_enqueue( $type ); $icon_color = ($icon_color) ? 'style="color:'.$icon_color.'"' : ''; $iconClass = isset( ${'icon_' . $type} ) ? esc_attr( ${'icon_' . $type} ) : 'fa fa-adjust'; $icon_out = '<div class="nb-icon"><i '.$icon_color.' class="'.$iconClass.'"></i></div>'; } elseif ( $icon_style == 'svg' ) { $icon_out = '<div class="svg-icon" data-color="'.$icon_color.'"> <object class="svg-icon-content" data="'.esc_url( $svg ).'" type="image/svg+xml"></object> </div>'; } echo '<div class="nb-icon-box nb-color-'.esc_attr( $color ).' '.esc_attr( $class. ' position-'.$icon_position. ' '.$style ).'"> '.$icon_out.' <div class="nb-inner-content"> <h4>'.esc_attr( $title ).'</h4> '.do_shortcode($desc).' </div> </div>';
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings