Trying to customize list.php

Home Forums Calendar Products Events Calendar PRO Trying to customize list.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44131
    beriley
    Participant

    Hi, I am close to having list.php be what I want- I want it to look like this–> http://www.rebuildajustny.org/sitebuild/events/

    BUT- in the copy /paste of code, I somehow must have deleted the part that lists one post after another. I can’t get the content or excerpt to show, or the next event. My Code is below.

    <a class='tribe-events-button-on' href='’>
    <a class='tribe-events-button-off' href='’>

    <?php the_title('‘, ‘‘); ?>

    = ‘0’ ) ? ‘ +’ . get_option(‘gmt_offset’) : ” ” . get_option(‘gmt_offset’);
    $gmt_offset = str_replace( array( ‘.25’, ‘.5’, ‘.75’ ), array( ‘:15’, ‘:30’, ‘:45’ ), $gmt_offset );
    if (strtotime( tribe_get_end_date(get_the_ID(), false, ‘Y-m-d G:i’) . $gmt_offset )

    <meta itemprop="startDate" content="”/>

    <meta itemprop="endDate" content="”/>

    <meta itemprop="startDate" content="”/>

    <a href="mailto:”>

    (<a href='’>See all)

    <a class="gmap" itemprop="maps" href="” title=”” target=”_blank”>

    <?php previous_posts_link( '’.__(‘« Previous Events’, ‘tribe-events-calendar’).” ); ?>

    <a href='’>

    <?php next_posts_link( '’.__(‘« Previous Events’, ‘tribe-events-calendar’).” ); ?>

    <?php next_posts_link( '’.__(‘Next Events »’, ‘tribe-events-calendar’).” ); ?>

    <?php previous_posts_link( '’.__(‘Next Events »’, ‘tribe-events-calendar’).” ); // a little confusing but in ‘past view’ to see newer events you want the previous page ?>

    <a href='’>

    #44148
    Barry
    Member

    Hi beriley,

    Can I be a pain and ask you to re-post your code using Pastebin or Gist? The forum doesn’t currently handle code very nicely and there is every chance some of what you posted has been mangled or dropped completely.

    Also, remember that (so long as you are using template overrides and aren’t editing core template files directly) you can always use the default templates as a point of reference.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Trying to customize list.php’ is closed to new replies.