<?php
$html_id = pxl_get_element_id($settings);
if ( ! empty( $settings['link']['url'] ) ) {
    $widget->add_render_attribute( 'link_text', 'href', $settings['link']['url'] );

    if ( $settings['link']['is_external'] ) {
        $widget->add_render_attribute( 'link_text', 'target', '_blank' );
    }

    if ( $settings['link']['nofollow'] ) {
        $widget->add_render_attribute( 'link_text', 'rel', 'nofollow' );
    }
}
?>
<div class="pxl-meta-box pxl-meta-box1 <?php echo esc_attr($settings['pxl_animate']); ?>" data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay']); ?>ms">
    <div class="pxl-meta-inner">
    	<div class="pxl-item-desc">
    		<span>
    			<?php echo esc_attr($settings['desc']); ?>
    		</span>
        </div>
        <div class="pxl-item">
        	<div class="pxl-content-section">
	        	<div class="pxl-icon pxl-mr-27">
	        		<span class="pxl-mr-6"></span>
	        		<span></span>
	        	</div>
	        	<div class="pxl-item-content">
	        		<div class="pxl-item-text">
		                <?php echo esc_attr($settings['text']); ?>
		            </div>
		            <div class="pxl-sub-title">
		                <?php echo esc_attr($settings['sub_title']); ?>
		            </div>
	        	</div>
	        </div>
	        <div class="pxl-meta-button">
	            <a class="pxl-button-link" <?php pxl_print_html($widget->get_render_attribute_string( 'link_text' )); ?>>
	                <span class="pxl-btn-icon">
	                    <svg id="Layer_1" enable-background="new 0 0 20 20" height="512" viewBox="0 0 20 20" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m12 2-1.4 1.4 5.6 5.6h-16.2v2h16.2l-5.6 5.6 1.4 1.4 8-8z" fill="rgb(0,0,0)"/></svg>
	                </span>
	            </a>
	        </div>
        </div>
    </div>
</div>