[Plugin: Hide This Part] How to use this shortcode in theme?
-
Hi,
I would like to use this in my theme rather than in a post. I understand how to do this with some shortcodes, but with a shortcode such as this with a beginning and end – where do I add the content that should be displayed within the shortcode?
Here is what I have:
<?php echo do_shortcode(‘[hide-this-part]’); ?>
I have been hunting for the answer for an hour but it appears this is not something widely discussed.
Many thanks for any help anyone can give me!
Jo
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Hide This Part] How to use this shortcode in theme?’ is closed to new replies.