Include Form In Custom Template File
-
Hi There,
I have a custom template file, and I’m trying to get the [pms-subscriptions] shortcode to work within the template file using the following code:
<?php echo do_shortcode(‘[pms-subscriptions subscription_plans=”77027,77033,77029″]’); ?>
But the form does not pull out at all… When I put it in a standard page, it works just fine, but as soon as I use that in the template code, it does not work. Although, when the user has a subscription, it shows the table showing they have a subscription, but not the form to buy a subscription or upgrade at all.
Thanks
James
The topic ‘Include Form In Custom Template File’ is closed to new replies.