Order By from new custom field
Hi,
I have create a new custom field in backend, now in front-end loop listing, I need "order by ASC or DESC" about this new custom field.
Now about Price default field, I add this URL : " ?orderby=cp_price&order=dis " and work correctly, I need the same solution about my new custom field, named cp_year, I have test this URL : " ?orderby=cp_year&order=dis " but not work.
Can you help me?
Thanks
Regards