Hi,
thanks for your post, and sorry for the trouble.
What exactly are you trying and what is not working?
Regards,
Tobias
Hi again
I have installed the “TablePress Extension: PHP in tables” as a separate folder (tablepress-php-in-tables) in the plugins folder of the folder wp-content.
Then, I open the Tablepress plugin in the WordPress dashboard, and I insert a simple php code like <?php echo “hello”; ?> in a cell of a table.
Unfortunately, nothing appears.
Any suggestions?
Kind regards,
Andreas
Hi Andreas,
just to be sure, did you activate the Extension as a plugin?
Regards,
Tobias
Hi Tobias
I am still facing the same problem. You can see the problem in the following example. You can visit the following URL https://vascularregistry.gr/tables/
On the first column of this table-example there are the titles.
On the second column there are the values. On the first row, the value is a php script. On the second row the value is a simple php script (<?php echo “Hello”; ?>, and on the third row there is just a number.
As you can see whenever a php script is used, it returns no values on the cells.
I cannot find what is my mistake. Could you give me a hint?
Regards,
Andreas
PS. The plugin TablePress Extension: PHP in tables is activated
Hi,
this is really strange then. I don’t really have idea as to why the code is not evaluated…
Regardless, also for security reasons, maybe a better approach here would be to wrap your PHP code in a custom WordPress Shortcode? That way, you would not need PHP in table cells.
Regards,
Tobias
Hi Tobias,
This is to let you know that it seems to work fine now. My mistake had probably to do with the path of the directories used in the php script.
Anyways, it seems to be sorted now.
Thank you for your assistance, and congrats for your great plugin
Andreas
Hi Andreas,
awesome! It’s great to hear that it’s working now! 🙂
Best wishes,
Tobias