Hi,
thanks for your post, and sorry for the trouble.
Just to be sure: Are you using the latest versions of WordPress and TablePress?
If not, can you please update everything?
If yes, I’d like to take a direct look at this on your site. Could you therefore please create a temporary admin account for me and send me the details via email (the address is in the main plugin file “tablepress.php”)? That way, I can investigate this directly. Thanks!
Regards,
Tobias
Sorry, I made a mistake… but I solved it.
After I have read you reply, I checked the code and I figured out.
I was using extra javascript code to hide some content to editor users. This was the code:
if ($(‘body’).hasClass(‘toplevel_page_tablepress’) && $(‘#tablepress_edit-table-data’).length){
$(‘#tablepress-nav, .postbox-container > p:not(“.submit”), p.submit .show-preview-button, #tablepress_edit-table-information tbody tr:nth-child(1), #tablepress_edit-table-manipulation, #tablepress_edit-table-options, #tablepress_edit-datatables-features, thead, tfoot, #tablepress_edit-table-data tr td:nth-child(2)’).remove();
doh! I changed function and now it works perfectly!
if ($(‘body’).hasClass(…..).css(‘display’,’none’);
Thank you very much!
Hi,
very interesting approach! And yes, removing those elements will indeed break the plugin. Hiding them is sufficient. Good to hear that you found this! 🙂
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!