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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem here is that your page template does not have a footer. You’ll need to load the footer file, so that the JavaScript files and calls are embedded properly, and so that the HTML is closed.

    Regards,
    Tobias

    Thread Starter Bam Bam

    (@bam-bam)

    Tobias,

    Thanks for that, but I’m still stumped as to how to fix this, when i created the custom page template, I just copied the original files and changed a few bits and like I said coding is not a strong point of mine.

    I also created a footer-alt.php file and changed the last 2 lines in the custom-sidebar-page.php to what is below, but that fails to load the footer-alt

    <?php get_sidebar(); ?>
    <?php get_footer-alt(); ?>

    I know it’s not your problem, but can you point me in the right direction please, there are obviously things that should be changed that haven’t been.

    Kindest regards
    Bam Bam

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    <?php get_footer-alt(); ?>

    will not work. PHP functions can not contain -, and even then, this function would not exist, and thus not work.
    Try changing that to

    <?php get_footer( 'alt' ); ?>

    Regards,
    Tobias

    Thread Starter Bam Bam

    (@bam-bam)

    Tobias,

    thanks I’ll give that a try

    Bam Bam

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    If that doesn’t help, you should maybe ask in the theme forums for assistance on how to modify the page template.
    Once you get the footer to load correctly, the JS functions will work fine.

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search and sort not working in a custom page template’ is closed to new replies.