HTML and PHP content between shortcode
-
Is it possible to have HTML and/or PHP between the shortcode?
As of now, it seems that you can only hide simple text.Here is an example of what I mean:
<?php echo do_shortcode('[passster password="4859"]') ?> <div> <p>Your content here</p> </div> <?php echo do_shortcode('[/passster]'); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘HTML and PHP content between shortcode’ is closed to new replies.