event order on homepage

Home Forums Calendar Products Events Calendar PRO event order on homepage

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #87787
    osmans84
    Participant

    Hi guys
    a fairly simple problem I think. Using cal pro and woo tickets.
    I have the settings on for events to be shown on the home page. All ok so far.

    The problem is that the events are displayed in the wrong order on the homepage. The homepage shows the event furthest away at the top of the page. For example, we have 2 events on the site at the moment. One in March, one in June.

    But they display on the homepage in this order
    June
    march
    obviously we want to promote the most recent event as a priority.
    is there a way to edit a setting so that the nearest event is at the top – effectively reversing the current ordering of events on homepage.

    any help would be much appreciated

    #87792
    osmans84
    Participant

    the usual way i would resolve this with a standard post, is to change the date the post was published, however this doesn’t seem to be possible as calendar pro seems to over-ride that with the event date?

    #88112
    Kelly
    Participant

    Hi, osmans84. Very intriguing idea!

    It sounds like you’re using the Include events in blog roll feature. The way this is configured is for the events to show up as posts with the dates of the events as the published date. Because the blog roll is always in reverse chronological order (oldest posts are lower than newer ones), I’m not sure how you’d change that WP behavior to allow for the behavior you describe.

    If you’re looking to show upcoming events, a better bet may be to simply use the main events page in list view. Another option would be to repurpose the list widget for that.

    Do you think either of those could work for you?

    #90041
    osmans84
    Participant

    Hi Kelly
    Yes I am using “include events in blog roll”
    I have been searching on several different forums on how to change the automatic “reverse chronological order” without any luck. Most forums seem to point to the index.php – but none of the code seems recognizable to me and my limited experience.

    The main events page is in list view already -(that page is ok – currently using the category “events-calendar/” in a custom menu)

    Is there a way I can set the homepage as the main events page? Although even if I did I imagine the auto ordering as above would take over again.

    If anyone can help my index.php code is pasted below (desperately, hopefully – thankful)

    <?php $gallery_cat = get_option(‘simplepress_gallery’);
    if (is_category()) $post_number = get_option(‘simplepress_catnum_posts’);
    if (is_category($gallery_cat)) $post_number = (int) get_option(‘simplepress_gallery_posts’); ?>
    <?php get_header(); ?>
    <div id=”content”<?php if ( is_category( $gallery_cat ) && get_option( ‘simplepress_gallery_enable’ ) == “on” ) echo ” class=’full'”; ?>>
    <div class=”content_wrap<?php if ( is_category( $gallery_cat ) && get_option( ‘simplepress_gallery_enable’ ) == “on” ) echo ” full”; ?>”>
    <div class=”content_wrap<?php if ( is_category( $gallery_cat ) && get_option( ‘simplepress_gallery_enable’ ) == “on” ) echo ” full”; ?>”>
    <div id=”posts”<?php if ( is_category( $gallery_cat ) && get_option( ‘simplepress_gallery_enable’ ) == “on” ) echo ” class=’et_gallery_category full'”; ?>>
    <div id=”breadcrumbs”>
    <?php get_template_part(‘includes/breadcrumbs’); ?>
    </div>
    <br class=”clear” />

    <?php if(is_category($gallery_cat) && get_option(‘simplepress_gallery_enable’) == “on”) { get_template_part(‘includes/gallery’); }
    else { get_template_part(‘includes/entry’); } ?>
    </div><!– #posts –>
    <?php if(is_category($gallery_cat)) { } else { get_sidebar(); }; ?>
    </div><!– .content_wrap –>
    </div><!– .content_wrap –>
    </div><!– #content –>
    </div><!– .wrapper –>
    <?php get_footer(); ?>

    #90194
    Kelly
    Participant

    Hi, osmans84. I definitely understand your frustration. I’m afraid that I don’t have a perfect solution for you either.

    One thing you could try is redirecting your traffic to the TEC page when they visit your site and making a template override to put your slider on the view(s) you want them to see the slider on. (For info on template overrides, please see our Themer’s Guide, linked in the sidebar.)

    Alternatively, we do have a list of developers that we have could offer. Let me know if that’s something you’re interested in.

    Good luck! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘event order on homepage’ is closed to new replies.