WordPress.com makes it dead easy to include GistsÂ in posts, but that isnâ€™t available in the WordPress softwareÂ by default. Â So letâ€™s add it!
Hereâ€™s that shortcode snippet:
ThatÂ snippet can be added toÂ your themeâ€™s functions.php, via a custom plugin or using Code Snippets.
Once added, youâ€™ll be able to addÂ Gist references byÂ url like so:
Please note, we cannot be held accountable if you choose to change that url reference and it blows up your website.
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.