I can retrieve the simple field value by following function.


But is it possible to get value by using a post id ?

  • please let me know what is wrong with question before down-vote May 12 '15 at 6:48
  • Sorry, but this is not core functionality. Support for third party plugins are off topic, please refer to the developers documentation and if it is unclear, feel free to contact their support. Thank you :-) May 12 '15 at 6:55
  • Delete it yourself :-). Flagging your own questions reflects negative on your account, the system will punish you for excessive flags. May 12 '15 at 7:00
  • it doesn't allow me to delete as it has an answer May 12 '15 at 7:01
  • O yes, that is because you have an upvoted answer. It will simply be closed then as off topic, it will not get deleted May 12 '15 at 7:03

The function second parameter is the "$post_id". Ref. http://simple-fields.com/documentation/api/getting-values/simple_fields_value/

simple_fields_value("simple_field_slug", $post_id)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.