version: 2.8.5
how to modify this code
<div class="list">
<?php
$i = 1;
if(!empty($_GET['sort']))
{
$orderby=trim($_GET['sort']);
$order=trim($_GET['order']);
$key=trim($_GET['key']);
// create the sort by injection
$posts = query_posts($query_string . '&orderby='.$orderby.'&meta_key='.$key.'&order='.$order.'');
}
if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php
if ($i % 2 == 1) { $alt = " class=\"alt\""; } else { $alt = " class=\"no\""; } echo "<div" . $alt;
if (is_sticky()) { echo " id='sticky' "; } echo ">";
?>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
to display the sticky posts but not at the top of front page.