?AlkantarClanX12
| Current Path : /home/rankinh/numerik/wp-content/plugins/blackdsn-helper-plugin/inc/views/shortcode/skills/ |
| Current File : /home/rankinh/numerik/wp-content/plugins/blackdsn-helper-plugin/inc/views/shortcode/skills/pc.php |
<?php
/**
* @var $shortcode blackdsnShortCode
*/
$shortcode = get_query_var( 'attr' );
$option = get_query_var( 'content' );
$widget = $shortcode->getWidgetBase();
$title_key = $shortcode->getItemKey( 'title', $option['index'] );
$widget->add_render_attribute( $title_key, 'class', 'dsn-title-award ' . $shortcode->getVal( 'dsn-title-skills', 'sm-title-block' ) );
$widget->add_render_attribute( $title_key, 'class', 'mb-15' );
if ( $title = $shortcode->getSubVal( 'title', esc_html__( 'Enter Text Skills', 'blackdsn' ) ) ) {
printf( '<h6 %1$s>%2$s</h6>', $widget->get_render_attribute_string( $title_key ), $title );
}
if ( $num = $shortcode->getSubVal( 'number', '50' ) ) :
$widget->add_render_attribute( 'fill', [
'class' => [
'fill dsn-animate-skill box-shadow',
$shortcode->getVal( 'bg_item', 'background-transparent' ),
$shortcode->getVal( 'bg_ver_item', '' )
],
'style' => 'width:' . $num . '%;'
], null, true );
printf( '<div class="bar-progress"><span %3$s data-width="%2$s" ><span %1$s>%2$s</span></span></div>', $widget->get_render_attribute_string( 'number' ), $num . "%", $widget->get_render_attribute_string( 'fill' ) );
endif;