WordPress.org

Ready to get started?Download WordPress

Forums

Running PHP in pages? (9 posts)

  1. thistle
    Member
    Posted 10 years ago #

    Is there a way to run PHP in my pages/posts in 1.5? I know that there's a plug in, but it doesn't work for 1.5... :/

  2. XeroCool
    Member
    Posted 10 years ago #

    runPHP works with 1.5 but not with pages.

    I asked how do I make it run in Pages but they are too lazy to
    answer.
    Emphasized by moderator.

    [Moderator comments: The last part of this part was going to be deleted, but it warrants a reply. This is a board supported by volunteers. NOBODY gets anything from helping out. This kind of remark will not be tolerated in any form by those volunteers.]

  3. Mark (podz)
    Support Maven
    Posted 10 years ago #

    "but they are too lazy to answer"

    For me XeroCool, you just put yourself firmly in the "To be completely ignored regardless of the question" box.

    And if you cannot figure that out ...............

  4. iand
    Member
    Posted 10 years ago #

    I used the runphp plugin from here: http://www.nosq.com/technology/2004/10/runphp-wordpress-plugin/ and it works with pages on my (1.5a6) test blog.

  5. Joshua Lyman
    Member
    Posted 10 years ago #

    It works for me on 1.5a as well, however, it appears to mess with my search functionalities. Some search results won't return results, just a blank page. Anybody else experiencing this?

  6. NuclearMoose
    Member
    Posted 10 years ago #

    XeroCool,

    What are you thinking saying something like that? I've seen people on these forums bend over backwards to help you when it's obvious you are too lazy to help yourself, and you come up with a garbage comment like that?

    /ignore XeroCool.

  7. xaos
    Member
    Posted 10 years ago #

    If you are just wanting to run PHP for a few unique pages then you could just forgo the runPHP plugin and just use a different page template with the appropriate PHP code already embeded within it and then leave the content for the page blank. This will probably only work if you are doing certain kinds of things so I'm not sure it if help you out in this case but its worth trying if your needs are applicable to this method.

  8. XeroCool
    Member
    Posted 10 years ago #

    This aint no IRC NuclearMoose

  9. tcloer
    Member
    Posted 10 years ago #

    You should set up a new template file, add the desired php code to that one and use it as the template for your page.

    This is how i set up my plug-ins page >> http://www.teezeh.info/plug-ins which runs the "plug-ins used" plug-in (which is written in PHP, of course). Got the hint here in the forum.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.