I'm implementing a custom wordpress site via plugin. I'm wondering whether the following functions can be done. And if so, how do I go about implementing them.
Custom post. I need to create a custom post type with custom fields. How do I implement:
- 2-level hierarchy of category for each post. How do I put up a page that views paged latest posts by category, or by date, or in random order?
- association of custom user data with the each post, to record info such as whether a user has read it or his comment. I'm thinking about implementing another 'custom post type' for this. Is this a good approach? How do I put up a page for the user to see everything he already read, or didn't read?
- a filter / search tool that combines the function of filtering by read/unread, and the contents of comments and posts
A permission system. I need to define 3 levels of permission for each custom post. They are: 1. publicly viewable, 2. viewable after registration, 3. viewable after purchase. I'll put this limit on the single post page only. User can purchase content on a category basis (which is a custom field of the post). I'm wondering if using custom user setting is a good approach to implement this function.
I have a general understanding of wordpress and PHP. I read a book about plugin development but I've never done it. Any help is appreciated.