Viewing 5 replies - 1 through 5 (of 5 total)
  • Yeah, I believe it’s a plugin called static posting..or umm hmm I’m trying to remember the name of it.

    Oh yeah. here is the link.. it’s called AdHesive

    check it out =)

    Thread Starter benblei

    (@benblei)

    Thanks a lot 🙂 I had looked at codex and couldn’t find anything, but that link helps a lot. And the plugin looks great 🙂

    Thread Starter benblei

    (@benblei)

    Okay – I tried to do what the codex told me to and I’m having trouble. I’m not spectacular with PHP but I know enough that I should be able to make this work.

    Here is the code I’m trying to use to make a “feature post” – anyone know what the problem is? It’s basically coming up wtih a blank page…

    <div id="content">
    <?php $my_query = new WP_Query('category_name=featured&showposts=1');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID;?>

    <div class="feature-title"></div>
    <div class="feature-story">
    <h2>"><?php the_title(); ?></h2>
    <span class="meta">from <?php the_time('F jS, Y'); ?>\</span>
    <?php the_content(); ?>
    <span class="meta">Comments</span>
    </div><!-- end of feature -->

    <div id="advertise">
    <img src="http://www.thepokerblog.net/advertise-top.gif" class="top" />
    Sign up at UltimateBet.com and play against Phil Hellmuth
    <img src="http://www.thepokerblog.net/advertise-bottom.gif" class="bottom" />
    </div>

    <?php endwhile; ?>
    <?php if (have_posts()) : while (have_posts()) : the_post();
    if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

    <?php endwhile; endif; ?>

    </div><!-- end of content -->

    See this post and the following replies:
    http://wordpress.org/support/topic/28203#post-193667
    It might be helpful – I was asking a similar question and got a working solution 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Feature Stories’ is closed to new replies.