Hello again, I hope not to bore you with this.
Performing tests in index.php
Eliminated this part of code.
<?php $i = 1;
if(!empty($_GET['sort']))
{
$orderby=trim($_GET['sort']);
$order=trim($_GET['order']);
$key=trim($_GET['key']);
Result index.php file as follows.
<div class="list">
<?php $posts = query_posts($query_string .'&caller_get_posts=1&orderby='.$orderby.'&meta_key='.$key.'&order='.$order.''); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
Functional seems good, but I want not remove those functions from that part of code.
I should add any GET or modify this piece? To keep it?
Pardon my English is not my language.
Greetings