| Server IP : 104.21.90.98 / Your IP : 104.23.197.224 Web Server : nginx/1.26.1 System : Linux ecc7dbd2befa 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64 User : www-data ( 82) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/transcargo/vc_templates/ |
Upload File : |
<?php
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ) );
if ( empty( $img_size ) ) {
$img_size = '350x220';
}
?>
<div class="vc_service_info<?php echo esc_attr( $css_class ); ?>">
<?php
if ( $image > 0 ):
$post_thumbnail = wpb_getImageBySize( array(
'attach_id' => $image,
'thumb_size' => $img_size,
) );
$thumbnail = $post_thumbnail['thumbnail'];
?>
<div class="service_thumbnail">
<?php echo transcargo_sanitize_text_field($thumbnail); ?>
</div>
<?php endif; ?>
<div class="service_info">
<?php if( $title ): ?>
<h6><?php echo esc_html( $title ); ?></h6>
<?php endif; ?>
<div class="content wpb_text_column">
<?php echo wpb_js_remove_wpautop( $content, true ); ?>
</div>
</div>
</div>