Viewing 5 replies - 1 through 5 (of 5 total)
  • I was facing the same issue. It’s because the shortcode is directly echoing the html instead of returning it.

    Replacing the code inside include/shortcode.php from:

    <div class="support_bs" style="max-width: 500px;">
    	<?php
    	if(is_user_logged_in()){
    		include_once( WCE_PLUGIN_DIR.'includes/loggedInUser.php' );
    	}
    	else if($generalSettings['enable_guest_ticket']){
    		include_once( WCE_PLUGIN_DIR.'includes/guestUser.php' );
    	}
    	?>
    </div>

    to:

    <?php
    ob_start();
    echo '<div class="support_bs">';
    if(is_user_logged_in()){
    	include_once( WCE_PLUGIN_DIR.'includes/loggedInUser.php' );
    }
    else if($generalSettings['enable_guest_ticket']){
    	include_once( WCE_PLUGIN_DIR.'includes/guestUser.php' );
    }
    echo '</div>';
    return ob_get_clean();
    ?>

    will solve the issue.

    I had to make this change to the plugin for my site. I request Pradeep to update the plugin with this code so that we all will be able to update the plugin and use the new features as they come.

    Thanks

    Ram
    WPCB

    Thread Starter X-Raym

    (@x-raym)

    Brilliant !
    Thank you so much for sharing !

    Plugin Author Pradeep Makone

    (@pradeepmakone07)

    Thank you RAM,

    This fix is now added in both free and pro verion 4.0.

    Thread Starter X-Raym

    (@x-raym)

    Nice ??

    Cool.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Support Ticket Table Placement in the Content Area’ is closed to new replies.