• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Search for "short code"

Search Results for: short code

Custom shortcode: display memberships assigned to a user

Chad Butler · Oct 28, 2018 ·

Continue Reading →

Custom shortcode: display a list of posts available for a given product

Chad Butler · Sep 19, 2018 ·

Continue Reading →

Remove WP-Members shortcode menu from post editor

Chad Butler · Jun 19, 2018 ·

Continue Reading →

Recently Viewed Pages Shortcode

Chad Butler · Apr 5, 2017 ·

This article gives you code and instructions to create a custom shortcode that can be used with the WP-Members User Tracking extension. It will display the last X number of pages the user visited. This can be useful for creating user dashboards on the User Profile shortcode page.  (You can see an example of how it is used here.) Note: you must have the WP-Members User Tracking extension installed to use this shortcode. Continue Reading →

Shortcode Examples

Get creative with shortcodes. Many of the plugin's shortcodes can be used together to create specific elements of customization without the need for code. While the shortcodes have some limitations, there is quite a bit you can accomplish with them.  Here are some examples and ideas.

Show status when a user is logged in

[wpmem_logged_in] You are logged in as: [wpmem_field user_login] [wpmem_logout] [/wpmem_logged_in] Output: You are logged in as: {username} Click here to logout.  
  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Interim pages omitted …
  • Page 54
  • Go to Next Page »

Ready to get started?

Join Today!

© 2026 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy