• Resolved thestrangeloop

    (@thestrangeloop)


    First off… this is an amazing plugin. Thank you so much for creating it and keeping up with the support that way you have been. Very impressive.

    I think i have an easy question. Concerning larger tables…

    How can I hide the “Table Content” post meta box from my theme’s functions.php?

    i have larger tables that … they load ok on the Front End… i don’t mind dropping a notice saying, give this 10 seconds or so to load…

    but for large tables, on the back end, i went in and removed the Table Content post meta box from the view-edit.php file… which WORKS… but there’s some errors that happen… can’t save table etc.

    but keeping that meta box from loading on the back end is a perfect workaround if i stick to editing the table solely in Excel.

    So can I do this from functions.php?
    Thank you!!
    Bryan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter thestrangeloop

    (@thestrangeloop)

    and by “from functions.php” i mean…

    How can I hide the “Table Content” post meta box USING my theme’s functions.php?

    Thanks!
    B

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To be honest, I’m not sure right now how this could be achieved from the functions.php… But why would you want to do it from there, if it’s already hidden?

    Regards,
    Tobias

    Thread Starter thestrangeloop

    (@thestrangeloop)

    There are some errors that happen. I don’t think I removed the Table Content post meta box fully… or there is a reference to it somewhere that I missed. I figured using functions.php would be a more complete way to remove the content.

    Maybe a better question is… what do I have to manually remove from view-edit.php to remove that post meta box and are there other files I would have to edit to remove all references to it?

    Thanks for the quick response!
    Again, love this plug in. Very smart and useful.

    Have a great day,
    Bryan

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    view-edit.php is the only one that’s using it. Whether it is visible is decided by a WordPress user option. In the end, this is however merely a JavaScript visibility thing, so that the content is still sent to the browser.
    Working on the “Edit” screen without this box is not really possible, as the content data, which is fundamental for many functions, would be missing.

    Regards,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing Table Content post meta box with functions.php’ is closed to new replies.