Sort order with tags
-
One more time π
I used part of your code from here:
<div class="order-links"> <?php if($_GET['nggv-order'] == 'desc') { nggv_orderImages($images, 'desc', 'last'); }else if($_GET['nggv-order'] == 'asc') { nggv_orderImages($images, 'asc', 'first'); } $pageUrl = get_permalink($ID); if(strpos($pageUrl, '?') !== false) { $pageUrl .= '&'; }else{ $pageUrl .= '?'; } ?> <a href="<?php echo $pageUrl ?>">Default</a> <a href="<?php echo $pageUrl ?>nggv-order=desc">Hightest Rated</a> <a href="<?php echo $pageUrl ?>nggv-order=asc">Lowest Rated</a> </div>
It’s great in gallery but it doesn’t work on site which displays images with one of tags. Could you help me?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sort order with tags’ is closed to new replies.