Question about conditionally displaying content on a WP/Elementor Pro page

[ad_1]

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]
1 Comment
  1. 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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer