• Resolved bertandre

    (@bertandre)


    Hello,

    I have one table in tablepress. I use this table on different pages and in widgets. In the widgets I want to exclude the searchfield and the sorting option of the table (because of the space) Is there a code for putting in my shortcode to hide this?

    With Kind Regards,

    Bert

    http://wordpress.org/plugins/tablepress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, Bert,

    Have you tried to use parameter “use_datatables” with your shortcode in the text widget?

    Just change your shortcode, like,

    [table id=2 /]

    to

    [table id=2 use_datatables="false" /]

    This will disable all the DataTables feature in this specific table, including sorting, searching and other things.

    Regards,
    Haoxian

    Thread Starter bertandre

    (@bertandre)

    Hello Haoxian,

    That works perfect. Thank you very much!

    Regards,
    Bert

    Hi,

    Great! Have a nice day 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, that Shortcode parameter that Haoxian suggested is perfect for this 🙂 Great that this helped!

    Best wishes,
    Tobias

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hide sorting and searchfield in shortcode’ is closed to new replies.