Problem with sorting in custom child taxonomy archive page
This example will use the get_posts function to load all the ‘events’ posts ordered by a custom field value of ‘my_acf_field’. you can using like this, where I added ‘my_acf_field‘ you can place with your ACF field name. <?php // get posts $posts = get_posts(array( ‘post_type’ => ‘event’, // Post Type Name ‘posts_per_page’ => -1, … Read more