WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mgkoller
    Member
    Posted 10 months 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>
    		</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/

  2. Diggories
    Member
    Posted 5 months 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

    Thanks
    Diggories

Reply

You must log in to post.

About this Plugin

About this Topic

Tags