WordPress.org

Forums

php in posts (9 posts)

  1. ghola
    Member
    Posted 10 years ago #

    Hi,
    Can I add PHP iin mys posts ? (I am using WP 1.3)
    When I insert PHP in my post it gets screwed.
    this :
    <?php echo $hello; ?>
    becomes :
    < ?php echo $hello; ?></>

  2. Kafkaesqui

    Posted 10 years ago #

  3. moshu
    Member
    Posted 10 years ago #

    Search is a great friend of the seekers :)
    Try: "php in post"

  4. Michael Adams (mdawaffe)
    Member
    Posted 10 years ago #

    Mmm... search...
    Not to make it too easy, but supposing you did search, you would also find:
    http://wordpress.org/support/3/17546#post-104339
    a comment I made about a fix that (for me, at least) allowed me to use the plugin fully without turning off WordPress' XHTML correction as the above site suggests.

  5. ghola
    Member
    Posted 10 years ago #

    Thank you, I found the runPHP plugin.
    I actually searched for "adding PHP in post". Not very helpful.
    I am not a native english speaker, that's sometimes tricky to find the prefect search phrase.
    So sorry, I'll try and be a good little searcher from now on!

  6. moshu
    Member
    Posted 10 years ago #

    Hey, glad you found the solution. Actually I made a search for the title of your post :) - except I left out the plural suffix... "php in post". And I am not a native speaker either ;)

  7. obiscoito
    Member
    Posted 10 years ago #

    Ok so the above link is dead. I want php in posts too....anyone have an updated link...or other source?

  8. Beel
    Member
    Posted 10 years ago #

  9. James Huff
    Volunteer Moderator
    Posted 10 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.