Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Milan,

    thanks for your question, and sorry for the trouble.

    I’m not really sure what’s happening here, but it seems that you have embedded the table into the page twice? And the second table now appears as a footer row, so just remove the second table from the page.

    Regards,
    Tobias

    Thread Starter bigbenschool

    (@bigbenschool)

    Hello Tobias, thanks for your quick reply. The original code was:

    //////////////////////////
    [insert_php]
    $params = $_POST[“pAgeGroup”].’_’.$_POST[“pGrade”].’_’.$_POST[“pDays”].’_’.$_POST[“pTimes”];
    //echo $params;
    $URL = “https://www.big-ben.cz/bbs/index.php?school/booking/AD_WP/”.$params;
    readfile($URL);
    [/insert_php]

    [table id=3 /]
    ///////////////////////////

    If I remove [table id=3 /] shortcode, I’ll lose searching and sorting functions. Check now: https://www.big-ben.cz/anglictina-pro-dospele/

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    that’s kind of expected, because you are only reading the HTML code of the table from your URL, but not the JavaScript initialization call.

    So, add the Shortcode again, open the page, use “View Source” in the browser, scroll down to the

    jQuery('#tablepress-3').dataTable(...)

    line, copy the entire <script> block and the ones that load the JS files and paste that into your original code, replacing the Shortcode.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove the footer row?’ is closed to new replies.