I would like to give the user the ability to sort the archive pages by title, date descending or date ascending by using a drop down box that is right below the archive page title.. I can add this in an Elements hook that goes after the archive title. What is the best way to do this? Can I make use of the GP hooks? I am using a child theme and the most recent GP Premium.
— What is the html code for the submit form?
— What is the php code for the functions.php page?