Get a custom field value through shortcodes

Posted by Prem Tiwari | Updated on

Use the following example code to get a custom field value through shortcodes:


1. [field "my_key"]
2. [field "my_key" post_id=1]

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers