WordPress.org

Ready to get started?Download WordPress

Forums

How to structure my posts and comments (4 posts)

  1. seansean11
    Member
    Posted 2 years ago #

    Hi WPers,

    I am creating a website for a water and sanitation ngo that wants to show their projects with bi-weekly updates on their progress and I am trying to figure out the best way to structure this. They will essentially have 2 types of posts: project description and progress updates. Right now I have these categorized by project type and tagged by location. I would like for someone to be able to click on a post project to be taken to a string of the same project whos first post will be the project description w/ project updates thereafter. I am not sure how to do this, because as I have it right now, the project updates that belong to a certain project don't have a tag or a category in common (and I don't know if I can relate them through the title either. I am new to this, so I don't have much experience structuring WP. Right now I am thinking that maybe it would be best to get rid of public commenting and use this for project updates by the authors. For example the post would be the project description and then the updates would be inserted by the authors as comments. Although, I am not sure if commenting allows you to insert photos and more, like posts. Let me know if you have any ideas or advice on how to get this moving.

    Thanks,
    Sean

  2. vtxyzzy
    Member
    Posted 2 years ago #

    There are probably a dozen ways to do this. My solution was to use a Category for grouping related Posts and to write a template to show sticky posts in the category first.

    That way, a sticky post can serve as the 'introduction' to the category with other posts shown after that. You can see how it works in this 'For Sale' page. The same template is also used for the 'Want to Buy' and 'Other Topics' pages.

    The template would have to be modified for your theme, but you can get a copy here.

  3. seansean11
    Member
    Posted 2 years ago #

    Thanks for the response. I'm not sure if I want to make a category specific to each project, as I will be using categories to organize projects by type. I would really like to use the comment form if it's possible (and give the updates a comment type styling) for bi-weekly project updates. We don't want users to be making comments, so potentially we could use the comment form for just authors and superior roles (people that are logged in). Maybe I'm still lost and there is a simple way to do this.

  4. vtxyzzy
    Member
    Posted 2 years ago #

    I don't know if you can 'turn off' comments for users and still have them available. I guess you could alter the comments template to only allow replies if the user is logged in.

    I don't know if it applies, but you should look at using a Custom Taxonomy for grouping your projects, locations, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic