Timeline for How do I display a custom field in an existing form on the front end?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 1, 2018 at 21:28 | vote | accept | abc0213 | ||
Apr 18, 2018 at 5:32 | comment | added | Sally CJ | Check my answer. Hopefully that's what you wanted, and that it works for you, too. | |
Apr 18, 2018 at 5:30 | answer | added | Sally CJ | timeline score: 0 | |
Apr 17, 2018 at 13:35 | comment | added | abc0213 | just added the code | |
Apr 17, 2018 at 13:35 | history | edited | abc0213 | CC BY-SA 3.0 |
added 821 characters in body
|
Apr 15, 2018 at 1:10 | comment | added | Sally CJ | Can you share your code? The admin meta box and the existing front-end form. | |
Apr 14, 2018 at 13:37 | comment | added | abc0213 | But how do you add the Metabox fields to a front end form that already exists. I already have the admin Metabox with the custom field and I also have a page that displays the value of the Metabox on the front end. How do I get the custom field on the back end to appear on a front end form. I know there’s the frontend form extension for mb but I just have one custom field I need to add. | |
Apr 14, 2018 at 0:55 | comment | added | Sally CJ |
Try the generator or see this sample on manually creating custom fields. On the front-end, you can use rwmb_meta() to display the field value.
|
|
Apr 13, 2018 at 16:00 | history | asked | abc0213 | CC BY-SA 3.0 |