Support » Plugin: User Submitted Posts » Assign automatically as child post

  • Resolved dkrahl


    Hi there,

    I have the following user case scenario and do wonder if USP would be suitable: I have created a custom post type “public hearings” by using Custom Post Type UI. The post type is set as hierarchical.

    Each new “public hearing” post should be the parent post and automatically include a USP form. The USP would function as an extended comments form for citizens citizen to submit feedback on the corresponding public hearing. Each feedback submitted shall be saved automatically as a child post of the corresponding public hearing post. Is this possible with USP and /or the pro version? If so, would you mind pointing me in the right direction to address this, especially regarding how to save the USPs automatically as the corresponding child posts?

    Thank you and looking forward to reading from you,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr


    I can discuss possibilities with the free version, as the forum rules prohibit any discussion about pro/premium plugins. For information about the pro version, feel free to send an email via the contact form at Plugin Planet. So for the free version, it would be possible for a developer to custom code a solution. Things that would need coded:

    • a function to append the current page ID to the query string
    • a function to grab the submitted post ID and current page ID, and then update the post with the correct hierarchical parameters, using wp_update_post() or similar
    • possible modifications to your theme template, depending on how it is structured and when/where the form should be displayed, etc.

    That’s just off the top, there may be other things that would be required. And to be clear, all of this would require custom coding, it’s not something that is included with the plugin.

    I hope this helps, let me know if I can provide any further infos.

    • This reply was modified 1 year, 10 months ago by Jeff Starr. Reason: tone
    Thread Starter dkrahl


    Hi Jeff,

    Thanks for taking your time, your approach sounds sensible. I will contact the pro support before making a decision re purchase. All the best,

    Plugin Author Jeff Starr


    Got your email and replied. Thank you @dkrahl.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Assign automatically as child post’ is closed to new replies.