Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • i fixed the inline form shortcode issue that was pushing all page
    content below the shortcode output by adding an output buffer, lines
    203 and 205 on the xoo-el-functions.php file.

    here are lines 189 thru 209 with fix included at line 203 & 205:

    //Inline Form Shortcode
    if( !function_exists( ‘xoo_el_inline_form’ ) ){
    function xoo_el_inline_form_shortcode($user_atts){

    $atts = shortcode_atts( array(
    ‘active’ => ‘login’,
    ), $user_atts, ‘xoo_el_inline_form’);

    if( is_user_logged_in() ) return;

    $args = array(
    ‘form_class’ => ‘xoo-el-form-inline’,
    ‘form_active’ => $atts[‘active’]
    );
    line 203 —–> ob_start();
    xoo_get_template( ‘xoo-el-form.php’, XOO_EL_PATH.’/templates/’, $args );
    line 205 —–> return ob_get_clean();
    }
    add_shortcode( ‘xoo_el_inline_form’, ‘xoo_el_inline_form_shortcode’ );
    }

    Any fix on this? same issue…

Viewing 2 replies - 1 through 2 (of 2 total)