• Resolved dumcoder

    (@dumcoder)


    I have a post that completely disappeared from my site. The publish date was 8/14/2010.

    The code that grabs it and puts it on my front page is:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); if( $post->ID == '23' ): ?>
    <? global $custom_metabox2; $meta = get_post_meta(get_the_ID(), $custom_metabox2->get_the_id(), TRUE); ?>
    <? if(!empty($meta['bar_alert'])){ echo '<div id="bar_alert">' .  $meta['bar_alert'] . '</div>';} ?>
    <?php endif; ?>

    The solution was to edit the publish date from 8/14/2010 to 12/14/2010.
    After that change the post appeared on the site again.

    My question is, what would cause this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Old posts completely disappear’ is closed to new replies.