can’t get inline form to work
-
Hi, I’m trying to use the inline form shortcode to put into the popup maker plugin but I can’t get anything to show.
I’ve tried this below adding in functions.php and using this shortcode with it [xoo_el_form_in_page]
function xoo_el_form_in_page(){
//Return if user is logged in
if( is_user_logged_in() ) return;//Wrap it outside container to differentiate it from the popup markup
$html = ‘<div class=”xoo-el-inpage-form”>’;
ob_start();
wc_get_template(‘xoo-el-popup.php’,array(),”,XOO_EL_PATH.’/templates/’);
$html .= ob_get_clean();
$html .= ‘</div>’;
return $html;}
add_shortcode(‘xoo_el_form_in_page’,’xoo_el_form_in_page’);I’ve also tried [xoo_el_inline_form active=”login”] but no luck.
- The topic ‘can’t get inline form to work’ is closed to new replies.