Support » Plugin: Meta Box - WordPress Custom Fields Framework » does MetaBox translates huge arrays into a backend form to fill in?

  • arsm


    pre-sales/install question, to understand if MetaBox can save my life.

    In my theme there are 2 custom-post-types which are filled via frontend by the users. Users fill in some fields and the system gathers them all in an array which is then put into the 2 CPTs (not as a split, but as 2 almost identical CPTs).
    My problem is that I need to view/edit those fields from the backend, so I need to create a metabox.
    By looking at your “get started” tutorial it seems that I just have to add the whole array to functions.php (ut wouldn’t it just make functions.php too big?). Is that so? Will I just get a meta box with all single array entries like a form?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Anh Tran


    Yes, that’s it. You can simply define an array of fields and then the plugin renders them in the backend, allowing to view/edit.

    You can divide the code into smaller pieces and put in different files if you don’t want to have a big functions.php file.

    Let us know if you have any question 🙂

    Thread Starter arsm


    Hello, I did try to follow the procedure but it didnt’ work. Maybe it’s not easy due to the nature of those arrays. It would be kind of you to have a quick look at them just to understand if they are written in a manner that Metabox can read. (here and here)

    Also, what’s the correct procedure to divide code and put it in different files? Sorry for the basic questions but I’m not really a developer.

    Thread Starter arsm


    Sorry, I noticed you didn’t download my arrays in order to reply to this matter, which I still consider unresolved. Could you have a look at it?

    Plugin Contributor Manny Fleurmond


    You use the meta box plugin to create fields in the backend you can edit and save as post meta. It doesn’t populate the meta itself via arrays.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘does MetaBox translates huge arrays into a backend form to fill in?’ is closed to new replies.