Well it’s been awhile since my last post. The last few weeks of the semester have been crazy busy. So, I’ll address some of the things I had planned to do in my last post, what I’ve done, and what I didn’t get to (in no particular order).
From my last post:
- I did get file upload working in the meta box for projects. However, it seemed pointless. Uploading the file there connected it with that specific project, but this can be done through uploading files directly from the Media section anyways, or through the file uploader when creating or editing the project. It isn’t really needed, so I removed it.
- Projects can now be viewable on the front end. I changed “show_in_nav_menus” to true, so now they can be added to the navigation via Appearance > Menu. I then display the meta data (the project information such as the category, budget, etc) by retrieving the values using get_post_custom_values() and using a foreach loop to go through and display the value for each field, and adding that to the bottom of the content (below the title/description of the project)… only if the post type is projects.