WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] How to Show Events Based on User's Location in Widget (3 posts)

  1. fitninja
    Member
    Posted 2 years ago #

    Is there a way to have the Events Widget show events happening based on a field in a Buddypress user's extended profile?

    For instance, I would like to show events happening in a user's state after they have logged in.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    try [events_list owner=x]

    e.g.
    <?php echo do_shortcode('[events_list owner="' . $current_user->ID . '" state="NY" ]'); ?>

  3. fitninja
    Member
    Posted 2 years ago #

    Thanks! I will give this a try.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic