WordPress.org

Forums

Frontend Uploader
[resolved] Upload to custom post type (3 posts)

  1. RobinWebber
    Member
    Posted 1 year ago #

    Hi there,

    Great plugin! Is it also possible to upload files to a custom post type?

    https://wordpress.org/plugins/frontend-uploader/

  2. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Hey,

    Yes it is!

    First you need to check allowed post types in Frontend Uploader settings,
    then in your upload form set post_type argument. Something like
    [fu-upload-form form_layout="post_image" post_type="my_custom_post_type"]

    This will upload media to media library and create a custom post type post with files attached to it.

  3. alextynemouth
    Member
    Posted 1 year ago #

    Hi i know this is an old thread now.

    Is there a way to let the users select which post type it gets assigned to?

    I'm using this for a article submission to my gaming website.

    The choices are Xbox, Playstation, PC, Nintendo and Non-Review.

    Is there a way to add a select field in to let the users select into which custom post type it will be assigned to?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frontend Uploader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.