osmans84

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: event order on homepage #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(); ?>

    in reply to: event order on homepage #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?

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