- I have a custom post type 'courses', with a course description as post_content, and number of attachments
I also have a custom post type 'course units', linked to the courses with a custom field 'course-id'
I created a template file for the course dashboard, showing a list of the units, and a couple of links - to the course description, and to an archive of the attachments.
My (pretty generic) question:
- I'm stuck at how to create/implement the seperate 'pages' for the description, and the attachment archive - can't get my head around it.
Some additional info:
- I'm not using 'pretty permalinks' (because of some plugin conflicts), so the URL of the course dashboard is just http://www.example.com/?course=slug-of-the-course
- Ideally the description should be available on something like http://www.example.com/?course=slug-of-the-course&showdesc=1, and the attachments on http://www.example.com/?course=slug-of-the-course&showatt=1 - both URLs should forward to a specific template file in my theme folder.
Any ideas / suggestions?