I'm trying to find a way to get this code to work in a custom field:
<?php $recent = new WP_Query("cat=4&showposts=3"); while($recent->have_posts()) : $recent->the_post();?>
This is the code I'm trying:
<?php echo stripslashes(get_post_meta($post->ID, "stories", true)); ?>
When I load the page, all I get is this: have_posts()) : $recent->the_post();?>
All I really need is a way to change the category of the posts for every page. Thank you for any ideas.