Richard Schalin

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Upcoming Events feed on home page showing incorrectly #993235
    Richard Schalin
    Participant

    Sorry, client didn’t want a big hole on the site so I had to put it back.

    This is the code we’re currently using to display the events feed on the home page

    <?php  $args1 = array(
       'post_status'=>'publish',
      'post_type'=> 'tribe_events',
      'posts_per_page'=>5,
      //order by startdate from newest to oldest
      'meta_key'=>'_EventStartDate',
      'orderby'=>'_EventStartDate',
      'order'=>'DESC',
      //required in 3.x
      'eventDisplay'=>'past'
    );
     $last_five_posts1 = get_posts( $args1 );   ?>
     
    
     <div  class="cmsms_heading_wrap cmsms_heading_align_left">
      <h3 class="cmsms_heading">Upcoming Events</h3>
     </div>
     <br/>
    
     <?php foreach ( $last_five_posts1 as $post ) : setup_postdata( $post ); ?>   
    
     <article style="width:100%;" id="post-200" class="cmsms_default_type post-200 post type-post status-publish format-standard has-post-thumbnail hentry category-boxer-in-need">
      <div class="cmsms_column">
       <div class="cmsms_post_info entry-meta">
        
        
       </div>
       <div class="cmsms_post_cont" style="text-align:left!important;">
        <header class="cmsms_post_header entry-header">
         
         <h3 class="cmsms_post_title entry-title" style="text-align:left;">
         <a style="text-align:left;" href="<?php echo get_permalink(); ?>"><?php echo get_the_title( $ID ); ?> </a>
         </h3>
        </header>
        
       
        <div class="cmsms_post_content entry-content" style="text-align:left!important;">
         <?php the_excerpt($id); ?>   
        </div>
        <footer class="cmsms_post_footer entry-meta" style="text-align:left!important;">
        
         <a style="text-align:left;" class="cmsms_read_more cmsms_post_read_more" href="<?php echo get_permalink(); ?>">
         Read More
         <span class="cmsms_wrap_arrow">
          <span class="cmsms_next_arrow">
           <span></span>
          </span>
         </span>
         </a>
        </footer>
       </div>
      </div>
     </article>
     
     <?php endforeach;  wp_reset_postdata(); ?>
    in reply to: Upcoming Events feed on home page showing incorrectly #993231
    Richard Schalin
    Participant

    Ok we have stripped any and all custom coding out and are now using [tribe_events_list city=”yes” organizer=”yes” limit=”4″] to try and display upcoming events. Now we have a big hole… any suggestions?

    in reply to: Upcoming Events feed on home page showing incorrectly #992935
    Richard Schalin
    Participant

    Hello George,

    I’m talking about the feed on my clients Home page http://screencast.com/t/nnOU3BVuUul

    Chronological just means in Newest to Oldest date order. Really I guess what I need help with is what would be the best way to display this feed on a page? Right now my developer is using some php and it’s messing with the footer on the site.

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