HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/public_html/wp-content/themes/consulting/vc_templates/stm_partner.php
<?php
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );

$atts['css_class'] = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ) );
$atts['link']      = vc_build_link( $link );

if ( ! $img_size ) {
    $img_size = 'consulting-image-350x204-croped';
}

$partner_thumbnail = wpb_getImageBySize( array(
    'attach_id'  => $logo,
    'thumb_size' => $img_size,
) );

$atts['partner_thumbnail'] = $partner_thumbnail['thumbnail'];

if( $style ){
    $atts['css_class'] .= ' ' . $style;
}

consulting_show_template('partner', $atts);