• I need to know how to get my page to call a specfic post within a category rather than calling the most recent so as an example if I wanted category 2 post id 25 shown how would I do this. Right now it calls for this

    <h2>Tournaments</h2>
    		<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
    
    		<div class="tabbertableft">
    			<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "top feature", true); ?>" alt="<?php echo get_post_meta($post->ID, "Theme Name", true); ?> Thumbnail" /></a>
    		</div>
    
    		<div class="tabbertabright">
    			<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    			<p style="font-size:11px; margin:0px 0px 10px 0px;"><?php the_time('F j, Y'); ?> &middot; <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?>&nbsp;<?php edit_post_link('(Edit)', '', ''); ?></p>
    			<?php the_content_limit(525, "[Read the full story]"); ?>
  • The topic ‘Viewing Specific Post’ is closed to new replies.