Add a PHP code into page
I am buliding website using UNYSON. I have reservation script made by programmer. Before it was using by chooseing right template on right hand side on backend. templates where in /my_template_name/template_parts/PHP-file.php
Is there a way to put code from this PHP file into unyson "Text block"? Or i have to choose template from list on right hand side?
The text block shortcode doesn't support execution of the string code. If you want that feature you must contact your theme author. For unyson we can't do it because of security reasons I advise you not to use such a render type.
I am a creator ot theme :D OK we made it using this plugin: https://pl.wordpress.org/plugins/php-code-widget/ And then I added PHP code to widget in area created in functions.php