- This topic has 3 replies, 3 voices, and was last updated 10 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › How can I show membership end date?
Hi,
Just starting to get to grips with the plugin. Very good first impression 🙂
I’d like to display to the member in front-end pages, the date that the member’s current subscription will end.
Can you suggest some code that I can paste into a page please.
It’d be good to see this info in the member list too, if that’s possible.
Many thanks, David.
Hi David, thank you for your suggestion. At present you will have to add the expiring date manually until the plugin developers research further your request.
Regards
The following documentation has an example code that will show you how to retrieve and show the expiry date of the member:
https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/
We can potentially create a shortcode for it also (if that will be helpful).
Thanks very much for adding this to your php tweaks page.
I’m currently deploying the code by registering it in a shortcode generator plugin and then using that shortcode in my WP page. This is a bit clumsy so if it sits with your plans to write a swpm shortcode, that seems a good idea to me.
Thanks again, David.