• Resolved mgkoller

    (@mgkoller)


    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>
    		</fieldset>

    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?

    tl;dr
    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.

    http://wordpress.org/extend/plugins/user-submitted-posts/

Viewing 1 replies (of 1 total)
  • 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

    Thanks
    Diggories

Viewing 1 replies (of 1 total)
  • The topic ‘Setting up additional fieldsets’ is closed to new replies.