0

I have wp theme with custom fields in posts with following meta keys in photo, can't create post with custom fields values using rest-api (I'm able to create posts with no problem but cant edit or add meta values). (I'm not a ninja in wp or php) enter image description here

5
  • Maybe my recent answer here can help wordpress.stackexchange.com/a/408083/26350
    – birgire
    Aug 2, 2022 at 23:51
  • 2
    How are you attempting to perform the update/insertion? What is the server's response?
    – bosco
    Aug 3, 2022 at 0:31
  • @birgire should I add specific code line to be able to update the meta value?
    – Rafal
    Aug 3, 2022 at 22:35
  • @bosco Just normal update with PUT to my post id using postman and When I try to update post title and any meta value, I got the updated title but no changes in meta value
    – Rafal
    Aug 3, 2022 at 22:38
  • @Rafal yes as explained in the linked answer
    – birgire
    Aug 4, 2022 at 11:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.