.ugb-blog-posts-old-' . $stkbp_unique_id . ' .ugb-blog-posts__featured-image { border-radius: ' . $attributes['borderRadius'] . 'px !important; }';
} else if ( $attributes['design'] === 'vertical-card2' ) {
$border_radius = '';
} else {
$border_radius = '';
}
}
return sprintf( '
',
$stkbp_unique_id,
$attributes['columns'],
$attributes['design'],
$attributes['align'] ? 'align' . $attributes['align'] . '' : '',
$attributes['categoryHighlighted'] ? 'ugb-blog-posts--cat-highlighted' : '',
isset( $attributes['accentColor'] ) ? '--s-accent-color: ' . $attributes['accentColor'] . ';' : '',
isset( $attributes['contentAlign'] ) ? 'text-align: ' . $attributes['contentAlign'] . ';' : '',
$border_radius,
$output
);
}
add_filter( 'stackable/blog-posts/v2/edit.output.markup', 'stackable_block_blog_posts_migrate_output_v2', 10, 3 );
}