non-linked data submission

Support MB Frontend Submission non-linked data submission

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #49831
    aryanrajaryanraj
    Participant

    Hi, i want to save a large set of data without connecting with the wp_posts or any other table as i am using custom table.

    I wonder if it would be possible to add data without linking it to any post type, taxonomy and directly get saved in custom table using frontend submission.

    Thanks.

    #49837
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    You can use the custom model https://docs.metabox.io/extensions/mb-custom-table/#custom-models
    and save all data to the custom table, like the post. It also works with the frontend form and you can submit the model from the frontend.

    #49838
    aryanrajaryanraj
    Participant

    Hi, i don't see option to link custom model while creating custom field using gui so how i will get the shortcode? i can use the gui to get the code but how to get shortcode?

    #49841
    PeterPeter
    Moderator

    Hello,

    You have to use the code to register and create the custom fields for the custom model. Please read the documentation that I shared above https://docs.metabox.io/extensions/mb-custom-table/#custom-models

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.