• When I first started WP 1.3 I was elated to find you could now create pages via the WP admin panel. This was great news for the site I am working on, previously we had had to ‘fake’ pages. So, my question is: is there a way to execute PHP on these pages, which are essentially a post?
    Here is a sample page: https://www.politicalanalyst.net/archives/
    Thanks in advance,
    Max

Viewing 5 replies - 1 through 5 (of 5 total)
  • Use a php include ?

    Thread Starter Doraemon

    (@doraemon)

    Podz, if you mean in the post? I wish I could do that, but I can’t execute any code within the post itself.
    Alphaoide, where can I find this plugin?
    Thanks guys,
    Max

    https://www.nosq.com/technology/2004/10/runphp-wordpress-plugin/
    I beleive it should work for 1.3, but you are strongly cautioned against this plugin, since, now someone could literally access the details they want, or execute the scripts they want, by posting on your blog. So please be careful ??

    Thread Starter Doraemon

    (@doraemon)

    Thank you. ?? Isn’t it true that you can enable this plugin on a post by post basis? So, just because it’s installed doesn’t mean every post becomes a security concern, correct? So in theory if I had a post with some PHP and this plugin was activated with that post all I would need to do is disable comments?

    Thread Starter Doraemon

    (@doraemon)

    Ah, I see. Thanks for the heads up. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP in a post?’ is closed to new replies.