Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Adding placeholder instead of label | Event Espresso - Staging Server
It is possible but you will need to change a function: in event-espresso/includes/functionsform_build.php is a function called event_form_build
It is a large function but is pluggable ( http://codex.wordpress.org/Pluggable_Functions ) so could be copied to a custom plugin or to wp-content/uploads/espresso/custom_functions.php and edited there.
That function will then override the default one.
In the file you can remove the labels and add in the placeholder text as required.
Alternatively you could use a combination of CSS and Javascript to achieve it, by hiding the labels with CSS and using JS to add the placeholders.
You want to declare the function within custom_functions.php and then other areas to check if has already been declared and use that (rather than trying to re-declare the function)
So no the check should NOT be included within custom_functions.php. It should not cause an issue if you leave it in however.
It is possible, but not recommended. If you look in the DB with phpMyAdmin, find the table called ‘wp_events_qst_group_rel’, find the row with group_id = 1 and question_id = 3 and delete it.
The support post ‘Adding placeholder instead of label’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.