Get entered data from fields for shortcode
-
Let’s say I have three text fields; name, date, and price. When they are filled out I want to display some shortcode at the top of the metabox above the fields.
So if a user inputs:
Name: Event 1
Date: 01/22/2016
Price: $19.99I want a box above the fields inside the metabox to display this shortcode:
[event-button name=”Event 1″ date=”01/22/2016″ price=”$19.99″]Could this be done as a custom field? Also, if possible, how would it work for field groups?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get entered data from fields for shortcode’ is closed to new replies.