Future posts not showing on site
-
Somehow the future posts I have on display on the top left and right sidebar on this page, https://www.vallaskoli.is have stopped appearing on the frontpage.
I haven′t changed anything in my query, this is how it looks like.
<ul> <?php $summary=1; ?> <?php query_posts('order=ASC&cat=7&post_status=future'); if(have_posts()) : while(have_posts()) : the_post(); if(strtotime(get_the_time("F jS Y")) > time()) : continue; else: echo $post->id; ?> <?php if($summary%2==0){ ?> <li> <?php }else{ ?> <li class="odd"> <?php } $summary++; ?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> <span class="date"><strong><?php the_time("l"); ?></strong> <strong><?php the_time("j"); ?>. </strong><?php the_time("F"); ?> <?php echo get_post_meta(get_the_ID(), 'Timasetning', true); ?></span> </li> <?php endif; endwhile; else: ?> <li class="odd"> <?php echo "Engir atbureir á skrá!"; endif; ?> </li> </ul>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Future posts not showing on site’ is closed to new replies.