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:

Usage:

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[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers