Hi Team,
I have created a shortcode, which is not working. But other custom shortcodes working perfectly.
I just showing you my shoercode codes:
function dl_minti_button_shortcode($atts, $content = '') {
extract( shortcode_atts(
array(
'link' => '#',
'target' => '_blank',
'lightbox' => '',
'color' => '',
'icon' => ''
), $atts )
);
ob_start();
?>
<div class="minti_butto_wrap">
<a href="<?php echo $link; ?>" target="<?php echo $target; ?>"><?php echo $content; ?></a>
</div>
<?php
return ob_get_clean();
}
add_shortcode( 'minti_button', 'dl_minti_button_shortcode' );
I have applied this shortcode in this page https://justcreative.com/shortcode-test-page/
But showing me plain shortcode text. See screenshot http://i.prntscr.com/8Dm_8e8bRRixNvkW2IqMgQ.png
So, please me how can I solve this problem.