Display content based on number field
-
I’ve got a custom post type called “Projects”. The Projects page on my site is using the archives-projects.php page template.
I want to display a text box above the footer that contains the names of the current year’s jury. For example, for year 2015, I want to display the 2015 jury. For year 2014, I want to display the 2014 jury. The names will differ every year.
Here is a link to the Projects archive page: https://propellerfund.flywheelsites.com/projects
Flywheel hosting requires a username and password for demo sites. The username is: flywheel; password: propellerfund.
Each project year will have its own page. Every year has 15 projects.
I have custom fields for the projects post type:
-project year (number field)
-project description (text area)
-project video (oembed field)
-project images (repeater image field)
-project URL (url field)
-project jury (text area)Is there a way I can conditionally display content based on a number field?
- The topic ‘Display content based on number field’ is closed to new replies.