Hi,
thanks for your post, and sorry for the trouble.
To be honest, I’m not really sure what’s going on there. Having multiple tables on a page is not a problem for the search. It is however critical that all pages/posts are regular WordPress pages and posts, i.e. that the Shortcodes are in the main content area, and not e.g. in some “page builder” function of the theme.
Also, this will only work if no other plugin (like search plugins) interfere with queries. Are you maybe using plugins like that? Does the search find the tables if you temporarily turn off all other plugins except TablePress and switch to the WordPress default theme TwentyFifteen?
Regards,
Tobias
Thread Starter
Lowy
(@lowy)
Yes the shortcodes are in the main content area. I turned off all other plugins and switched to TwentyFifteen and that changed nothing. The table at http://fncta-midipy.fr/liste-des-troupes/ is found and the tables at http://fncta-midipy.fr/liens/ or http://fncta-midipy.fr/federation-le-national/82-2/fncta-midipy-conseil-administration/ are not. Neither the tables on http://teplitz-theatre.net/ and on that site it is very important. I really need help !
Regards
Lowy
Hi,
thanks for your question, and sorry for the trouble.
Ok, thanks for checking. I’m not really sure what’s interfering here then. If you want, I can offer to take a direct look at this on your site once I find the time. In that case, could you 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
Thread Starter
Lowy
(@lowy)
Hi,
Thanks for your answer. I have created an admin account for you and you will receive the details via email
Thanks for your help
Regards
Lowy
Hi,
thanks! I have received the email and will take a look as soon as I can.
Regards,
Tobias
Thread Starter
Lowy
(@lowy)
Hi
Well, so I hope you will find time for that
Thanks in advance
Lowy
Hi,
sure! I’ll post here again once I find something.
Regards,
Tobias
Hi Lowy,
I think I found the cause for this.
On the pages where the tables were not found, the Shortcodes for the table (when using the “Text” and not the “Visual” editor), look like this:
[table id =10 /]
with an extra space character between the = and the actual ID.
That unfortunately makes the syntax of the Shortcode invalid. While the table will still be shown, the search can then no longer pick it up, as it only understands correct Shortcodes without the space character there, i.e.
[table id=10 /]
I have removed the extra space from two of your pages, but would suggest that you double-check all pages in the “Text” editor on the “Edit” screen and remove all those extra spaces.
Regards,
Tobias
Thread Starter
Lowy
(@lowy)
Hi
I thought I had answered three days ago but I must have make an error. So, I repeat : Thanks very much for your help. Removing the extra space was the solution. Now, the search function finds the tablepress tables.
I had another problem, I telled in the diaappeared post : Finding a search plugin to search images and tables. Finaly, I found it : Relevanssi which works as I wanted to on the site teplitz-theatre.net
Many thanks again for your quick answers and help
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped and that you found a helpful search plugin!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!