Categories
CMS Development Wordpress

Move to trash custom post type post after ACF Date Picker date is older than today

I have a custom post type called ‘aktualitates’ and I have a date picker field on the posts from the Advanced Custom Fields plugin with the field name ‘aktuali_expire’. I tried adding a code from another question to functions.php, but it doesn’t seem to work for me. I am positive, that the time values are […]

Categories
Development Wordpress

Sorting custom taxonomy parent in WordPress

The array from my taxonomy query is not sorted by parent. Instead it is sorted alphabetically. So I have the following custom listing, Name Email Country State City — Country is a custom taxonomy (the parent). — State would be the child. —- City would be the child of the child. I have the following […]