Custom Field or Custom Post Type??? (help)
-
I am trying to create a custom list of events for two months. Each month will have about 10 events, I don’t want to have 22+ fields for this page in the UI. Is there a better way to do this?
I really like how the custom fields work from the ui, with the add, delete, and update buttons. I would rather use this (also easier for the user), so events can easily be deleted and added, but I need three fields for each “custom field section”… day, event title, and description. custom fields only use “name and “value”.
The outputted code will need to look like this:
<h3>Month 1</h3> <ul class="calendar"> <li><span class="day">00</span> <span class="desc"><strong>Event Title</strong> - Event Description</span></li> </ul> <h3>Month 2</h3> <ul class="calendar"> <li><span class="day">00</span> <span class="desc"><strong>Event Title</strong> - Event Description</span></li> </ul>
Thanks!
- The topic ‘Custom Field or Custom Post Type??? (help)’ is closed to new replies.