Answers for "wpbakery how to add shortcode"

PHP
2

do shortcode wordpress

<?php echo do_shortcode('[name_of_shortcode]'); ?>
Posted by: Guest on December-26-2020
0

generate shortcode wordpress plugin

add_filter( 'widget_text', 'shortcode_unautop' );
add_filter( 'widget_text', 'do_shortcode' );
Posted by: Guest on December-28-2020

Browse Popular Code Answers by Language