Events List Widget

Home Forums Calendar Products Events Calendar PRO Events List Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #76917
    Scot Rumery
    Participant

    We have a community site where logged in users are able to add events. Each user has a custom profile page to display their information. These pages are built using a custom post type (with a custom template) and they are associated to the user record by the Posts 2 Posts plugin.

    My question is… Can we filter the results of the events list widget on their custom page by user? I don’t see an option with the widget to do that but maybe there is an action filter where we can pass the variables from the page template to get the results we need.

    We would either use the Events List Widget or maybe create a custom function to do it.

    What would you recommend we do to filter an upcoming events on our users profile page to just show their events?

    Scot

    -or-

    #77032
    Barry
    Member

    Hi Scot,

    Great question. Event queries are basically built on top of WP_Query, so familiarizing yourself with that aspect of WordPress is probably a great starting point as by the sounds of things you are wishing to restrict the number of returned results.

    For ideas you might want to check out the question posed in this thread and the ideas put forward by Snorton – though that isn’t exactly what you want to do at a high level it would seem a basically similar idea.

    Good luck!

    #982479
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Events List Widget’ is closed to new replies.