WordPress.org

Forums

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

  1. beybibeybi
    Member
    Posted 2 years 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 2 years 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.

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

Tags

No tags yet.