Lara

Forum Replies Created

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • in reply to: Pull events into columns #985320
    Lara
    Participant

    Thanks! Here it is:

                    <div class="row">
                        <?php
                        $posts_array = tribe_get_events('post_type=tribe_events');
                        foreach ( $posts_array as $post ) : setup_postdata( $post ); ?>
                        <div id="post-<?php the_ID() ?>" class="<?php tribe_events_event_classes() ?> grid_3">
                            <?php tribe_get_template_part( 'list/single', 'event' ) ?>
                        </div>
                    <?php endforeach; ?>
                </div>
    • This reply was modified 10 years, 9 months ago by Lara.
    in reply to: Pull events into columns #985190
    Lara
    Participant

    I’m getting close, it’s displaying 2 out of the 3 events in the correct order but it is showing me this error above the events: Warning: Illegal string offset ‘eventDisplay’ in /nas/wp/www/staging/packedperfectly/wp-content/plugins/the-events-calendar/src/functions/template-tags/general.php on line 232

    • This reply was modified 10 years, 9 months ago by Lara.
    in reply to: Pull events into columns #985063
    Lara
    Participant

    Thanks, I already have the events in rows. What I’m asking is how do I get the most upcoming event to appear first (from left to right). Right now they are arranged according to when the events were created rather than when the event will take place.

    in reply to: Pull events into columns #984910
    Lara
    Participant

    Thanks that works! But how can I get the events to display in upcoming order from left to right? Meaning the left column will display the most recent upcoming event, the middle column the second most recent upcoming event and so on…

    Thanks!

    in reply to: Search and Near not working #952034
    Lara
    Participant

    I have replied to a pre-existing suggestion here https://tribe.uservoice.com/forums/195723-feature-ideas/suggestions/5113103-allow-the-search-near-location-to-be-by-state-pr and added my vote and comment there. Thanks!

    in reply to: Search and Near not working #951831
    Lara
    Participant

    Why is the search not based on what one has entered into the country or state fields? That would make the most sense. Is this a WordPress-defined thing or your plugin that searches based on “geocodes”?

Viewing 6 posts - 16 through 21 (of 21 total)