• I’m developing a site using WP for a film society. The posts part of WP is being used for the future programme of films, using it as a film programme.

    https://www.tmfilmsoc.org.uk/

    I’ve changed WP so that it will display future posts thus

    open -> /wp-includes/post.php
    goTo -> #562
    edit -> $post_status = ‘future’;
    to -> $post_status = ‘publish’;

    found at

    https://www.ads-software.com/support/topic/105447?replies=23

    However I notice that the future posts do not show up on the Calendar. Does anyone know a hack to correct this please?

    Jeremy

Viewing 5 replies - 1 through 5 (of 5 total)
  • I would love to know this too. The calendar displays the months of future posts, but the dates aren’t linked.
    This must be something small, right?

    Ok, some searching through the code and even as a total PHP noob, I’ve managed it ??

    line599, general-template.php

    change

    AND post_date < '" . current_time('mysql') . '\'', ARRAY_N);

    into

    AND post_date <> '" . current_time('mysql') . '\'', ARRAY_N);

    Hope this helps other people out too!
    Now you can use WordPress more as an event organizer/manager if future dates are tagged as published

    cheers!
    H

    Is there a way to get the future post to be highlighted differently? perhaps have categories of future posts. For example, Future unpublished posts would be a paler color of published posts, while future events (parties, round table discussions, conventions) could be in different colors (one for each category). Then on mouseover you could have a text box with brief description.

    thanks hydro!!! i’ve been looking for this hack all day

    Thanks!! also been searching for this for a long time!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calendar does not display links on future postings’ is closed to new replies.