Hi,
thanks for your post, and sorry for the trouble.
What’s the exact URL that you are using for the import? Is it directly returning a CSV file?
The only chance here is that the table is correctly exported by Google Spreadsheets. The import can not keep certain rows, it will always replace the full table.
However, you might be able to use a trick: Simply mark the first row has “hidden” (using the “Selected rows: Hide” button). That way, the blank row would technically still be there, but hidden from the visitor.
Regards,
Tobias
Thanks for your reply,
I’ve checked csv and excel formats and they work well. But in my table there are some cells with hyperlinks so I have too set the google sheet and the plugin settings to HTML format.
Here is the URL of my google spreadsheet:
https://docs.google.com/spreadsheets/d/e/2PACX-1vTiPJv4iTZXCzas8hO2HiJGkeoSSQq39KtUsVu__G78n9LNG4mRTOajrspn_Y-D5UerxpHE_pFnbzGo/pubhtml
I tried to hide the first row. It works but it didn’t update the table after 2 hours yet. I set the update period to every 15 min.
Hi,
ok, this import format should work, but it does indeed contain an empty header row. There’s nothing that we can do about that. So, the trick with the hidden first (empty) row should be a good solution.
For the auto import: Remember that the WordPress Cron system, which is used here, requires active, not logged-in site visitors, to trigger the cron job. Alternatively, you could try replacing the WP Cron job with a real server cron job (if your hosting provider allows this). See e.g. https://www.siteground.com/tutorials/wordpress/real-cron-job/
Regards,
Tobias
Hi,
no problem, you are very welcome! 🙂
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!