Shortcode dinamically
-
Hi,
I would like the shortcode dinamically to my content in a template file.
Eg.:
$( “#addnew” ).click(function( event ) {
$(‘.somediv’).html( ‘<?php echo do_shortcode(‘[wordpress_file_upload]’); ?>’ );
});It show me 0 instead of the file input.
How could I solve this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode dinamically’ is closed to new replies.