WordPress.org

Ready to get started?Download WordPress

Forums

Static pages... (5 posts)

  1. Tek
    Member
    Posted 9 years ago #

    Hi...

    Quick question. I am working on a new layout and have 1.5 installed. I am using it to create static pages too but here is my question:

    I have a php scrip that I am using. When I instert it, it just posts the script and not DO what the script says.

    <?php
    //Function to display the most recent iTunes song, argument will be the number of songs to return
    get_wp_itunes(20);
    ?>

    Am I misunderstanding something?

  2. Jinsan
    Member
    Posted 9 years ago #

    You could try the runphp plugin available from the plugin repository and this will allow you t click an option in the page called eval, this will convert your php script to run in the

  3. sunshine
    Member
    Posted 9 years ago #

    Where exactly are you trying to insert it?

    When you say posts, do you mean that instead of instead of doing whatever the function's supposed to do, you just get straight text of "...get_wp_itunes..."etc?

  4. moshu
    Member
    Posted 9 years ago #

    see his thread (and replace the tags used there with your code)
    http://wordpress.org/support/topic.php?id=25005#post-151575
    it gives you 2 solutions

  5. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.