WordPress.org

Ready to get started?Download WordPress

Forums

User Submitted Posts
[resolved] Changing default post type (2 posts)

  1. beybibeybi
    Member
    Posted 10 months ago #

    Hey there,

    I want to change default post type which is sended by users as a portfolio. Normally, this plugin set those posts as a normal post.

    How can i change it as a "portfolio"?

    Thanks.

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

  2. beybibeybi
    Member
    Posted 10 months ago #

    I follow tomystein's way to set this. Here it is http://wordpress.org/support/topic/plugin-user-submitted-posts-i-want-to-change-the-default-settings-to-a-different-post-type-1?replies=3

    Add this,
    $postData['post_type'] = 'X';

    After this,
    $postData['post_status'] = 'pending';

    Then I can change the default post type by changing X.

    Sorry for late realizing that before.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.