Hey there, my lack of php knowledge has got me stuck on something I want to do…
I currently have this code to show a featured post…
<?php query_posts(‘showposts=1&category_name=Featured post’); ?>
<?php include(‘featured_posts.php’);?>
So, if a post is categorized as ‘featured post’ show featured_post.php. May seem weird but I’m using thematic and my functions.php file is getting huge so I took out this loop and put it in a seperate file.
Okay, what I actually want to do is – if a post has cat of ‘featured post’ get the featured_posts.php file, else show a standard loop.
Thanks for any help.
Matt