We have what seems like a simple task. We have a list of people who have achieved milestones (in years) at the organization. We want to automate this list so the names are automatically listed under the appropriate milestone on an existing WP/Elementor Pro page. Example:
50 Year Milestone
John Doe
Jack Doe
Henry Doe
​
55 Year Milestone
Mary Doe
George Doe
​
60 Year Milestone
Anakin Doe
Obi Doe
​
65 Year Milestone
Luke Doe
Han Doe
Chewie Doe
​
Optimally, we’d like to just have a list of these people and their associated start dates and then they automatically display under the proper milestone as their dates deem appropriate.
Would appreciate any ideas. Thanks.
[ad_2]
This isn’t a simple. It’s a custom dev job. One way to do it would be to create a custom post type “people” with a custom field “startdate”. Then you’d write a function to output the people in the correct order.