On our calendar implementation we have a bunch of authors due to running a community site as well and the change author drop down list isn’t sorted by username which makes it really challenging to find a user when trying to change the author of an event.
On our calendar implementation we have a bunch of authors due to running a community site as well and the change author drop down list isn’t sorted by username which makes it really challenging to find a user when trying to change the author of an event.
Anyway to change that?
Hi,
The users list by default is ordered by user's last name.
To change it to first name open file
stachethemes_event_calendar\view\admin\events\index.php
lines 82 and 95
Edit:
to:
Stachethemes Developer
Where is that located? Also could that possibly be an option to sort by username alphabetical in the future?
The full path to the file is [your-wordpress-folder]/wp-content/plugins/stachethemes_event_calendar/view/admin/events/index.php
I guess I could add filter there so it would be easier to modify the order list.
Stachethemes Developer
great I found it thanks and thanks for the filter in advance should you be able to add in a future update
Yes, ofcourse. I can even send you the new index.php file (wp-content/plugins/stachethemes_event_calendar/view/admin/events/index.php).
Then you can use the filter in your theme/child-theme functions.php files:
Stachethemes Developer