Add php inside the shortcode?
-
I’m using the shortcode within my template file using the normal do_shortcode but was wondering how I could add php to the protected content? Basically i want to load a “get_template_part()” inside the shortcode since the content that is protected is coded and not just wysiwyg text.
Is there a good way to do that?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add php inside the shortcode?’ is closed to new replies.