$posts = query_posts($query_string . '&caller_get_posts=1&orderby='.$orderby.'&meta_key='.$key.'&order='.$order.'');
<?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 .'&caller_get_posts=1&orderby='.$orderby.'&meta_key='.$key.'&order='.$order.''); } if (have_posts()) : ?>
query_posts('caller_get_posts=1');
There are currently 1 users browsing this thread. (0 members and 1 guests)