Here’s a simple shortcode snippet to let you easily add a membership card for your site’s members when using WPMU DEV’s Membership plugin. This was requested in the WPMU DEV forums, where we love to help members out with simple and useful custom snippets. :)

WPMU DEV Forum topic: Display Membership Data Print/Mobile

The snippet adds a [mem_card] shortcode that will then show some member details.

The snippet can easily be added to your theme’s functions.php file, using the downloadable file available in that forum thread or using a plugin like Code Snippets.

You may also read:  Change the order of posts in an archive page

Leave a Reply