I try to get a php script in my wp page,but... it dont' work!! This 's possible or not?? Thanks!! :)
I try to get a php script in my wp page,but... it dont' work!! This 's possible or not?? Thanks!! :)
No, it is not possible, if you are talking about putting it in your post. You can put PHP in your template files, but then it will run on EVERY page that uses that template file.
To "force" php to run, but not all php commands or script, you can use:
RunPHP http://www.nosq.com/2004/10/runphp-wordpress-plugin/
PHP-Exec http://www.navidazimi.com/projects/wp-exec/
Thanks Lorelle!!!! :)
"You can put PHP in your template files, but then it will run on EVERY page that uses that template file."
There are ways around that, Lorelle, such as for Pages:
is_page('about')
This topic has been closed to new replies.