WordPress.org

Ready to get started?Download WordPress

Forums

Booking Calendar
[resolved] Shortcode in Forms (4 posts)

  1. markred
    Member
    Posted 1 year ago #

    Hi, I'm trying add a custom shortcode to the booking form which brings through some user data. However the shortcode doesn't get translated into that data. Is this possible or does the booking calendar prevent this?

    http://wordpress.org/extend/plugins/booking/

  2. wpdevelop
    Member
    Plugin Author

    Posted 1 year ago #

    Hello.
    Its depend of what shortcode you are try to add.
    Please read more about the booking form fields configuration here.

  3. markred
    Member
    Posted 1 year ago #

    Hello, thanks for your quick reply. The shortcode I want to add to the Form is not one of your predefined ones. I have created a shortcode to bring through some user meta data, but when that shortcode is added to the Forms box it's not converted, and just comes through as the shortcode reference i.e. [my_shortcode]

  4. wpdevelop
    Member
    Plugin Author

    Posted 1 year ago #

    Its possible to use inside of the Booking > Settings > Fields page at "Booking Form" form the shortcode like this (its will be the text field for the entering some data):
    [text my_shortcode ""]
    so then at the "Content of Booking Fields" form you can use this shortcode:
    [my_shortcode]

    But if you was used this shortcode [my_shortcode] in the Booking > Settings > Fields page at "Booking Form" form, so its not supported. sorry.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.