1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

php include in wordpress

Discussion in 'Programming' started by login, Jul 10, 2007.

  1. #1
    How can I include a php file in wordpress pages. I have tried several ways, but nothing displays.
    SEMrush
     
    login, Jul 10, 2007 IP
    SEMrush
  2. ProgrammersTalk

    ProgrammersTalk Peon

    Messages:
    684
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    edit the template file?
     
    ProgrammersTalk, Jul 10, 2007 IP
  3. WebGeek182

    WebGeek182 Active Member

    Messages:
    510
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    95
    #3
    To use php in individual posts, install the Exec-PHP plugin - otherwise you'll have to modfiy the theme.
     
    WebGeek182, Jul 10, 2007 IP
    login likes this.
  4. login

    login Notable Member

    Messages:
    8,852
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Thanks WebGeek182, that worked. Green to you :)
     
    login, Jul 11, 2007 IP