User Submitted Posts
[resolved] Setting up additional fieldsets (2 posts)

  1. mgkoller
    Posted 2 years ago #

    I'm looking to setup "Date", "Start Time", "End Time", and "Target Posting Week" field sets to this form. Instead of creating custom fields in php that deal with conditional and attributes statements, I thought it would be easier just to create some custom fields and assign all of them to the "Post Content".

    I've gotten the fields to show up in the form by modifying the views/submission-form.php by copy/pasting (& changing the title)

    <?php } if ($usp_options['usp_content'] == 'show') { ?>
    		<fieldset class="usp-content">
    			<label for="user-submitted-content"><?php _e('Post Content'); ?></label>
    			<textarea name="user-submitted-content" rows="5" placeholder="<?php _e('Post Content'); ?>"></textarea>

    But they are not registering in the new post. I assume I have to modify some things in "user-submitted-posts.php" but not I'm not sure where to start.
    Any ideas?

    To be clear I just need these additional fields to display whatever text the user inputs into the WordPress content area the same way the "Post Content" field does.


  2. Diggories
    Posted 1 year ago #

    I need exactly what you have done more specifically "Date", "Start Time", "End Time" as this is marked resolved I am guessing you found away to do it?

    If you did I would be interested in knowing how


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Submitted Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic