Timeline for Update Post Meta in Front End with a form
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2019 at 8:52 | vote | accept | Noufal Binu | ||
Jul 23, 2019 at 9:40 | history | edited | Noufal Binu | CC BY-SA 4.0 |
added 40 characters in body
|
Jul 23, 2019 at 9:18 | history | edited | Noufal Binu | CC BY-SA 4.0 |
added 19 characters in body
|
Jul 23, 2019 at 7:49 | comment | added | nmr |
Your shortcode works for me after adding global $post; , saves and reads the data correctly. Enable debugging in WP. Check value of post ID and $data before update_post_meta : echo "id={$post_id}, data= " . print_r($data, true);
|
|
Jul 22, 2019 at 18:18 | answer | added | nmr | timeline score: 0 | |
Jul 22, 2019 at 14:05 | comment | added | Noufal Binu | @nmr same file. | |
Jul 22, 2019 at 6:52 | comment | added | nmr |
The whole code (update_post_meta() and displaying form) is in the same place / file?
|
|
Jul 22, 2019 at 5:05 | answer | added | Jamy | timeline score: 0 | |
Jul 22, 2019 at 4:26 | history | edited | Noufal Binu | CC BY-SA 4.0 |
deleted 261 characters in body
|
Jul 21, 2019 at 14:48 | history | edited | Noufal Binu | CC BY-SA 4.0 |
added 41 characters in body
|
Jul 21, 2019 at 14:33 | history | edited | Noufal Binu | CC BY-SA 4.0 |
deleted 734 characters in body
|
Jul 21, 2019 at 14:24 | history | edited | Noufal Binu | CC BY-SA 4.0 |
deleted 734 characters in body
|
Jul 21, 2019 at 14:06 | history | asked | Noufal Binu | CC BY-SA 4.0 |