Event Form – change restricted view message & work with Divi
-
I am using the shortcode [event_form] for event submission from members. I am also using Divi theme. I have the following code in my files:
function fix_em_divi_problem(){
if( is_admin() ){
remove_action(‘parse_query’, array(‘EM_Event_Post’,’parse_query’));
remove_action(‘restrict_manage_posts’, array(‘EM_Event_Posts_Admin’,’restrict_manage_posts’));
}
}
add_action(‘admin_init’, ‘fix_em_divi_problem’);Question 1 – I can not use the Divi Builder for my shortcode. It makes the form take up the whole screen and goes up into my header. Is there any code I have missed which will allow me to use the Divi page builder with EM shortcodes?
2. My site is a membership sight – users are already logged in before they can get to the submit event form. There is only 1 membership out of 3 which can use the form. The message those 2 see if they try to submit an event is “You must log in to view and manage your events”. Can I change this to state “You must be a Diamond Member to submit an event.”? Would you let me know which file contains this text?
Thank you for your help.
- The topic ‘Event Form – change restricted view message & work with Divi’ is closed to new replies.