Home › Forums › General Issues › "ascend > descend" page issues › Reply To: "ascend > descend" page issues
Hi @buzzbuzz,
Thanks for the post.
If the code is not returning the right results, probably it has something to do with incorrect data from this line:
<?php $ht_p_order = $_GET[ 'price_order' ]; ?>
To fix this, the first step would be to debug the value of the $ht_p_order to check if it is returning the expected results on the page like so:
echo '<pre>';
var_dump( $ht_p_order );
echo '</pre>';
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.