Events Manager
[resolved] Passing Parameter to Short Code or using URL (6 posts)

  1. netforest
    Posted 3 years ago #

    I would like to use the shortcode[events_list search="lastname'] but somehow be able to pass the actual lastname to the page. Is this possible? Can one build a URL that will accomplish the same result?


  2. zsolemolina
    Posted 3 years ago #

    There is a way explained in the documentation.

    But personally, I'm using a taxonomy manager that gives u the possibility to add some fields to events.

  3. netforest
    Posted 3 years ago #

    Which taxonomy manager are you using? I would be interested in looking at it.

    I am actually trying to use the lastname field that already exists in the WP user profile. I am using member list plugin and ideally would just like to create a link to the events list page for an individual member that would be equivalent to
    [events_list search=:last name"]

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    if you only want to filter by a specific event owner, you can already do it this way:

    [events_list owner="x"]

    where x is the user id of that person.

  5. netforest
    Posted 3 years ago #

    Is it possible to use a variable for x so it pulls the current user instead of hardcoding it. Or better yet is there an URL that will do the same thing as the short code. Something like


    I am using a member list plugin and would like to link to each member's events.

  6. agelonwl
    Posted 3 years ago #


    this might be possible; try to see this link http://wp-events-plugin.com/tutorials/creating-custom-event-search-attributes/ then try to use php $_REQUEST instead.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.