Support » Fixing WordPress » Adding NEWS SECTION to the POST – What is the best approach?

  • Hi! I am working on a portfolio website of art managment projects (such as festivals, theatre plays, …). Each project is a Custom post type with quite long description of how the project went.

    Instead of a long & boring description, I want to set up (for every CPT) a News section with Twitter-like updates on a project. Every update will consist just from a date and text content.

    There is a few approaches I could think of:

    • Custom fields with multiple values
      1. Create a custom field “News” with multiple values.
      2. For every update, create a new meta value.

      That would be the best sollution for me. The problem is that there is no way to get the date of creating a meta value, is there?

    • Using comments as news section
    • Have a wp_query inside a post
      1. Create a CPT called “Project news.”
      2. Create custom field called “Assign”.
      3. Inside every project post, call wp_query of Project News. Arguments: ‘meta_key’=’assign’&’meta_value’=”.$slug-of-project.”

      This sollution works, but it is a little overcomplicated, isn’t it?

    • Use a plugin/Widget – Any ideas?

    I hope I was understandable enough. 🙂 And, of course, I am welcome to any other suggestions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz


    I think I would add a post sub-menu item (which appears below each post listing) called ‘Add News’ or whatever. Clicking on it opens a simple form, basically a textbox and a submit button, but only for particular post types.(Not sure we can only display the sub-menu for particular post types, there might be a way)

    Submitting the form would format the date and text in a particular way and append it to whatever the post content is. Everything is stored in the existing table structure, you control formatting so users can’t freestyle the news entries as would happen if they directly edited the post. You can manage access so they can add news items, but not edit the original post.

    This no doubt has faults as well, but it’s another idea.

    bcworkz: Thank you for a reply!

    Unfortunately you got me lost a little bit. How do I create submenu? Will it work via custom fields functionality? How the date would be added?

    Actually I found a plugin that does the “wp_query” sollution: Live Blogging. The downside is that it seems to be quite heavy & that for some weird reason it doesn’t work with custom post types. I am posting the question about CPTs here.

    So far I will stick with “wp_query” sollution and work with WP Quickpress functionality. Right now I’m looking into possibilities how to implement custom fields to Quickpress (for uploading file and inserting a link).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding NEWS SECTION to the POST – What is the best approach?’ is closed to new replies.