Custom field values lost after validation fails
Viewing 2 Posts - 1 through 2 (of 2 total)
Author | Posts |
---|---|
December 24, 2013 at 4:49 am 13919 | |
gribbler | I added a custom field using the 'song_artist' using: http://tareq.wedevs.com/2012/04/how-to-extend-wp-user-frontend/ I also added the validation and made a change to the add-post.php file to display the errors. Now when I post and the validation fails, the message appears correctly, but my 'song_artist' field is cleared out. |
December 24, 2013 at 11:54 am 13922 | |
Tareq Hasan | Can you share the codes? |
December 24, 2013 at 9:37 pm 13932 | |
gribbler |
I added the code to functions.php and uncommented from add-post.php |
Viewing 2 Posts - 1 through 2 (of 2 total)