Oliver Mark

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Show Recurring Events #1135079
    Oliver Mark
    Participant

    Hi, Nico!

    Thank you for the patience!

    Your code works like a charm! It is exactly what I was looking for.

    I’m marking this thread as resolved.

    Thank you very much for your assistance during the last few weeks.

    Best regards

    in reply to: Show Recurring Events #1132423
    Oliver Mark
    Participant

    Hi, Nico.

    Thanks for the reply.

    In order to see the events, you have to go the portuguese posts. Your profile is showing the english posts by default. I’m sorry I didn’t say this before.

    About the events list, yes, I’m looking to always show all recurrences of an upcoming recurring event.

    Let me know if I can help with something else.

    Regards.

    in reply to: Show Recurring Events #1130890
    Oliver Mark
    Participant

    This reply is private.

    in reply to: Show Recurring Events #1129947
    Oliver Mark
    Participant

    This reply is private.

    in reply to: Show Recurring Events #1127507
    Oliver Mark
    Participant

    Hi, Nico!

    The WP-Admin > Events > Settings > General > Recurring event instances option is unchecked.

    I updated the event date so you can see it now. There are recurrencies for this event, as you can see in the image: https://www.dropbox.com/s/w45lm13ncfv2jdn/Screen%20Shot%202016-06-15%20at%204.43.30%20PM.png?dl=0

    But the recurrencies are still not showing up =\

    Again, thanks for the help.

    Regards.

    in reply to: Show Recurring Events #1122319
    Oliver Mark
    Participant

    Hi, Nico! I’m sorry for the delay.

    The PRO widget shortcodes seems to work, but it still doesn’t show the event’s recurrencies. A test page has been created: “http://www.odsalling.org/teste-eventos/”. The shortcodes being used are:

    [tribe_events_list category="teste" limit="100"] and [tribe_mini_calendar category="teste"]

    None shows the recurrencies at the calendar.

    in reply to: Show Recurring Events #1118363
    Oliver Mark
    Participant

    Hi, Nico.

    Yes. I’ve just found that this page is not set as events page. I’m using a custom template though.

    File location: “church-event-child/templates/shortcodes/events/multiple.php”

    
    <div id="tribe-events-content" class="tribe-events-list">
        <div class="tribe-events-loop hfeed vcalendar clearfix">
            <section class="wpv-tribe-events-block clearfix">
                <?php
                global $post;
                ?>
    
            	<?php foreach($events as $i => $event): ?>
                    <?php
            			$start = strtotime($event->EventStartDate);
            			$end = strtotime($event->EventEndDate);
            			$day = date('d', $start);
            			$end_day = date('d', $end);
            			$month = date_i18n('F', $start);
            			$end_month = date_i18n('F', $end);
    
            			$stime = date(get_option('time_format'), $start);
            			$etime = date(get_option('time_format'), $end);
    
            			$imagem_de_destaque_array = wp_get_attachment_image_src( get_post_thumbnail_id($event->ID), 'full' );
            			$url_imagem_de_destaque = $imagem_de_destaque_array[0];
            			$imagem_de_destaque = theme_thumb($url_imagem_de_destaque, 306, 251, 'tc');
                    ?>
                    <div id="post-<?php echo $event->ID; ?>" class="hentry vevent type-tribe_events post-<?php echo $event->ID; ?> tribe-clearfix tribe-events-venue-22533 tribe-events-organizer-22667">
                        <div class="small-event-header clearfix">
                            <div class="tribe-events-event-meta-wrapper">
                                <div class="tribe-events-event-meta">
                                    <a href="<?php tribe_event_link($event) ?>" title="<?php esc_attr( $read_more_text ) ?>">
                                        <?php if ( $day != $end_day ) { ?>
                                            <div class="date start-to-end">
                                                <div class="day"><?php echo $day . ' a ' . $end_day ?></div>
                                                <div class="month"><?php echo $month . ( $month != $end_month ? '/' . $end_month : '' ) ?></div>
                                            </div>
                                        <?php } else { ?>
                                            <div class="date">
                                                <div class="day"><?php echo $day ?></div>
                                                <div class="month"><?php echo $month ?></div>
                                            </div>
                                        <?php } ?>
                                    </a>
                    				<div class="when-where">
                    					<?php if ( ! tribe_event_is_all_day( $event->ID ) ): ?>
                    						<div><?php echo $stime ?> <?php if ( $stime !== $etime ) echo '&mdash; ' . $etime ?></div>
                    					<?php else: ?>
                    						<div><?php _e( 'All Day', 'church-event' ) ?></div>
                    					<?php endif ?>
                    					<div><?php
                    						if( class_exists( 'Tribe__Events__Pro__Templates__Single_Venue' ) ) {
                    							tribe_get_venue_link( $event->ID, true );
                    						} else {
                    							echo tribe_get_venue( $event->ID );
                    						}
                    					?>
                    					</div>
                    				</div>
                    				<?php if ( ! empty( $read_more_text) ): ?>
                    					<a href="<?php tribe_event_link($event) ?>" title="<?php esc_attr( $read_more_text ) ?>" class="button button-border accent1 hover-accent1"><span class="btext"><?php _e('Saiba +', 'church-event-child') ?></span></a>
                    				<?php endif ?>
                                </div>
                            </div>
                            <div class="tribe-events-event-image">
                                <a href="<?php tribe_event_link($event) ?>">
                                    <img class="attachment-post-small-2 wp-post-image" src="<?php echo $imagem_de_destaque; ?>" alt="<?php echo $event->post_title; ?>" />
                                </a>
                            </div>
                        </div>
                        <div class="tribe-events-event-details tribe-clearfix">
                            <h4 class="tribe-events-list-event-title entry-title summary">
                                <a class="url" href="<?php tribe_event_link($event); ?>" rel="bookmark">
                                    <?php echo $event->post_title; ?>
                                </a>
                            </h4>
                            <div class="tribe-events-list-photo-description tribe-events-content entry-summary description">
                                <?php echo $event->post_excerpt; ?>
                            </div>
                        </div>
                    </div>
            	<?php endforeach; ?>
            </section>
        </div>
    </div>
    
    in reply to: Show Recurring Events #1116963
    Oliver Mark
    Participant

    Hi, Nico!

    Yes, I want to display all the recurrences for each upcoming event. And I want them to be listed with the exact same layout of the upcoming events. They should look like an upcoming event in the page.

    The Recurring event instances option is unchecked, but still no success.

    Any ideas?

    Best.

    in reply to: Show Recurring Events #1116015
    Oliver Mark
    Participant

    Hi, Nico!

    Thank you for answering my thread.

    Actually, I need to show both in that page: all the upcoming events and its recurrences.

    All the upcoming events are already been displayed, but I couldn’t find a way to display their recurrences.

    Best regards,
    Oliver.

Viewing 9 posts - 1 through 9 (of 9 total)