ID allocation, and CSS apply to post issue
-
Hi Everyone,
Two things I’d appreciate help on…
1. Why is it that I have abou 498 posts in my blog, but some of the permalinks are up in the 800’s. I know if I delete one it makes that number useless and goes to the next when adding new posts, but I definitely havent deleted hundreds of posts.
2. In the routine below, I am able to apply CSS to the title and timestamp but not to the post its self, is there something I am missing here? I’ve tried everything (SPAN tag, etc). I basically want all three variables assoicated with the post to be in the same font.
<?php $my_query = new WP_Query(‘category_name=text-messages&showposts=1&orderby=rand’);
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>
<span class=”message”><?php the_title(); ?> (<?php the_time(‘M d’); ?>): <?php the_content(); ?></span>
<?php endwhile; ?>Thank you.
Jon
- The topic ‘ID allocation, and CSS apply to post issue’ is closed to new replies.