Hello Duncan,
Thanks for reaching out to us
Add the PHP element to your header and paste the code
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
Nope I just get an error doing that (see attached) I need to add this to the head <?php include 'verify_membership.php';?>
Nope I just get an error doing that (see attached) I need to add this to the head <?php include 'verify_membership.php';?>Thanks for the reply Duncan,
What exactly you are trying to achieve? what is in the file verify_membership.php?
Please be informed that the code can be executed only in WP and Joomla CMS.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
It's a php script which check for membership validation with an external server via API.
Do I just add it to functions or can I add php to the with nice page?
It's a php script which check for membership validation with an external server via API. Do I just add it to functions or can I add php to the with nice page?Im in a self hosted Wordpress
Im in a self hosted WordpressI just want to put this: "<?php include 'verify_membership.php';?>" into < h e a d>
I just want to put this: "<?php include 'verify_membership.php';?>" into < h e a d>Last edited 4 weeks ago by fsbisinsserv
Hello Duncan,
This is the only way to insert the PHP code through the Nicepage editor.
try the following code below to check if the code is working and attach the screenshot here
<?php
echo "Sample PHP";
?>
...................................................
Sincerely,
Ahmad.
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
So that returns the echo, so why can;t it pick up the script? Is there no way I can manually add this to < h e a d> I find it hard to beleive that Im the first person to want to run a php script hosted on my own server? I have used it with several other CMS and had no issue?
So that returns the echo, so why can;t it pick up the script? Is there no way I can manually add this to < h e a d> I find it hard to beleive that Im the first person to want to run a php script hosted on my own server? I have used it with several other CMS and had no issue?Dont worry I used a third party plug in to inject it into the head, thanks for looking.
Dont worry I used a third party plug in to inject it into the head, thanks for looking.