Order posts in category by custom field group
-
Hi,
Just downloaded this plugin for the specific purpose of ordering posts in the category of events by the date the occur, not the date they are posted. How can I do this? I created a custom field group called date but i’m not quite sure where to go from here.
I also added this to my archive.php
<div id=”content” style=”<?php echo $content_css; ?>”>
<?php if(is_category(’33’)){
query_posts(‘meta_key=date&orderby=meta_value&order=ASC’);
}
?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Order posts in category by custom field group’ is closed to new replies.