Failing to add custom php to use on website

<label for="factuurbedrag"><h5 class="calculator">Te vorderen bedrag:</h5></label>
        	<form action="`**<?php bloginfo('template_directory'); ?>/costsCalculator.php"**` method="post" id="ccf_form">
        		<input type="text" name="invoiceAmount" value="" />
        		<input type="submit" value="Bereken" />

I am trying to get the costCalculator.php to intergrate in Pro but am not getting it to work.

First question

  • is it at all possible to get a php script to work in combination with the editor and

Secondly

  • if it is possible how do i point to my child theme?

Hi @Debest1,

Thanks for reaching out.

That code is not enough and I can’t what integration you’re trying to implement. I recommend contacting a developer on this one. Or are you just trying to display the form? I recommend converting that to a shortcode and add the shortcode within text element.

And do you mean to run PHP codes to the editor? That’s not possible unless you’ll use 3rd party plugin that will enable the editor for that feature. And what do you mean pointing to your child theme? You mean calling the templates from the child theme within the editor? That’s not currently possible too, but doable with custom development in which we can provide here in the forum,

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.