- This topic has 1 reply, 2 voices, and was last updated 7 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Using shortcodes in php file
Hello,
Can I use the shortcodes in a php file within a div tag?
Shortcodes are intended for use within the_content() only. However, in some cases, you might get away with adding:
do_shortcode("[your-shortcode]");
to a PHP file.