Hi in the search and pagination area of my view id like to sort a taxonomy drop down by a custom field. Im trying this where
artist-last-name is the slug uf the field id like to sort on. Should this be possable?
Hello. Thank you for contacting the Toolset support.
As I understand you added a taxonomy as dropdown select frontend filter with the view and you have custom term field artist-last-name and you want to order the taxonomy terms by artist-last-name ASC - is that correct? If yes:
Toolset views offers the following hooks to filters the terms:
- wpv_filter_taxonomy_frontend_search_get_terms_args
Thanks but im not able to get this to work
I get this error even though ive changed permissions to 755
Unfortunately, this snippet cannot be edited directly. Check file permissions and wp-config.php constants DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS. Alternatively, you can edit the file manually.
However i creted the file manually and the codeappears in the snippet area. Ive adjusted the view id and the slugs and if i "save and test" it it runs without errors
Can you please share details where you added the view with the taxonomy filter and send me admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.