Hi all
I've got an increasingly complex setup using WP which uses custom fields to add bits of HTML around a post to highlight that post - which works fine. The posts are ordered by title.
Is it possible, in a general Category page, to list posts with a certain custom field first and then list the remaining posts in that cat by title?
I've got this (simplified version obviously!):
I thought I'd be able to use the if() to show all posts with the custom query and then show all posts in that cat without it - but I'm having no luck!PHP Code:<?php
$premium = get_post_meta($post->ID, 'Premium', $single = true);
?>
<?php
if($premium != '') {
echo 'html stuff' ;
}
?>





Bookmarks