File manager - Edit - /home/theblueo/www/wp-content/plugins/nimbus/vc_templates/nb_contentbox.php
Back
<?php extract( shortcode_atts( array( 'desc' => '', 'title' => '', 'link' => '', 'class' => '', ), $atts ) ); $class = $this->getExtraClass( $class ); $link = ( '||' === $link ) ? '' : $link; $link = vc_build_link( $link ); $use_link = false; $attributes = ''; if ( strlen( $link['url'] ) > 0 ) { $use_link = true; $a_href = $link['url']; $a_title = $link['title']; $a_target = $link['target']; $a_rel = $link['rel']; } if ( $use_link ) { $attributes[] = 'href="' . trim( $a_href ) . '"'; $attributes[] = 'title="' . esc_attr( trim( $a_title ) ) . '"'; if ( ! empty( $a_target ) ) { $attributes[] = 'target="' . esc_attr( trim( $a_target ) ) . '"'; } if ( ! empty( $a_rel ) ) { $attributes[] = 'rel="' . esc_attr( trim( $a_rel ) ) . '"'; } } echo '<div class="nb-content-box '.esc_attr( $class ).'"> <span class="nb-desc heading-font">'.esc_attr( $desc ).'</span> <h4>'.esc_attr( $title ).'</h4> '.do_shortcode($content).' <a '.$attributes.' class="nb-action-link"><span>'.esc_attr( $a_title ).'</span></a> </div>';
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings