Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Public search of members based on secondary membership

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Public search of members based on secondary membership

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago by derekh.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 24, 2017 at 2:29 pm #14235
    derekh
    Spectator

    Hi guys,

    I’m sure this is simple, but I can’t find what I need in the forum or documentation.

    I’m using the plugin eMember profile extended(v2.6 on WP 4.8) to create new functionality in an old site. It’s great but I need a shortcode to do what I need – I’m sure this already exists if you can point me in the right direction please.

    Example:

    Three membership levels such as: Level 1 General Builder, Level 2 Carpenter, Level 3 Plumber.

    Secondary memberships are enabled.

    I can use this shortcode to list all members where their primary member ship level is for example ‘Level 1 General Builder’.

    [emember_extended_summary_list fields=”first_name,last_name,regions_covered” style=”2″  levels=”1″ status=”active”]

    However, many members will appear in more than one level. For example, a general builder (Level 1) will also undertake Carpentry and plumbing work.

    At the moment the shortcode example given above only returns search results where the primary membership equals the specified level.

    I need a shortcode that returns all Level 1 members regardless of whether this is their primary or secondary membership.

    Any suggestions?

    July 25, 2017 at 1:22 am #76099
    admin
    Keymaster

    You should be able to use the following shortcode which lists any member that has level “1” in their primary level or secondary level:

    [emember_extended_summary_list fields=”first_name,last_name,regions_covered” style=”2″ status=”active” levels=”1″ 2nd_levels=”1″]

    It will search members accordingly also.

    July 25, 2017 at 12:27 pm #76100
    derekh
    Spectator

    Brilliant. Works a treat, thank you so much. :-)

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ