query event by venue

Home Forums Calendar Products Events Calendar PRO query event by venue

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #32281
    Luke
    Participant

    Hey Just wondering the code to query the events by venue?

    #32282
    Luke
    Participant

    Answered me question i did’s 🙂
    For anyone that whats to query events by venue for something custom this is the code i used code from the single_venue.php
    ’15’, ‘eventDisplay’ => ‘upcoming’, ‘posts_per_page’ => -1));
    global $post;
    $first = true;
    ?>
    0 ): ?>

    // the title etc.

    #32283
    Luke
    Participant

    not sure why non of the code showed up :S

    #32298
    Barry
    Member

    Thanks Luke – I’m guessing you don’t need any more help here, but just shout back if you do.

    not sure why non of the code showed up :S

    Yep, unfortunately the forum doesn’t handle code very nicely. We do have some changes in the works to remedy this but in the meantime I’m afraid you need to post in a link to your code (using a service like Pastebin, Gist or similar).

    #32315
    Luke
    Participant

    All good thanks Barry, I just used the foreach loop from single_venue.php, works a charm, thanks 🙂

    #32316
    Luke
    Participant

    PS if anyone wants the code let me know.

    #32551
    Barry
    Member

    Thanks for posting back Luke, we’ll leave this open to give people an opportunity to ask about your solution 🙂

    #47212
    UNC Web Services
    Participant

    Luke, I would love to see your query you used for this. I am creating a bunch of custom queries and that would be very helpful. I’m trying to figure out how to recreate the $first variable used in the list.php file. It is passed into the list.php page, but I don’t know from where.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘query event by venue’ is closed to new replies.