Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The best way for this should be to add the JS for this sorting algorithm to the TablePress Extension from https://tablepress.org/extensions/datatables-sorting-plugins/
    You could simply add it to the two JS files, together with the detection code. The IP addresses should then be detected automatically.

    Regards,
    Tobias

    Thread Starter snowme

    (@snowme)

    Thanks. I was able to paste the ip-address.js into the jquery.datatables.sorting-plugins.js.min and it works. I just gotta remember that if that plugin gets updated my code will go byebye. Maybe one day there will be a child plugin option in wordpress.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    You shouldn’t have to worry about an update. As the Extension is not part of the WP Plugin Directory, it will not receive automatic updates.

    Best wishes,
    Tobias

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use Datatables js plugin’ is closed to new replies.