Wordpress Gurus: PHP includes and pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Carmine Raguso
    So Fucking Banned
    • Dec 2008
    • 2158

    #1

    Wordpress Gurus: PHP includes and pages

    I have an install of wordpress that I would like to use a third party script with. Everytime I try and PHP incude the script, nothing shows up. Any ideas on how to do this?

    Thanks for any info.

    (I have tried multiple answers found online but for some reason I can not get them to work)
  • rick-e
    Too lazy to set a custom title
    • Nov 2005
    • 19935

    #2
    Try installing the Exec-PHP plugin

    Comment

    • Angry Jew Cat - Banned for Life
      (felis madjewicus)
      • Jul 2006
      • 20368

      #3
      where are you trying to put the script, sidebar? is it a widget-enabled sidebar?

      Comment

      • Carmine Raguso
        So Fucking Banned
        • Dec 2008
        • 2158

        #4
        Originally posted by Angry Jew Cat
        where are you trying to put the script, sidebar? is it a widget-enabled sidebar?
        Actually I am trying to put it directly into a page itself, not a side bar

        Comment

        • Carmine Raguso
          So Fucking Banned
          • Dec 2008
          • 2158

          #5
          Originally posted by rick-e
          Try installing the Exec-PHP plugin
          This looks like it might do it, checking it out. I'll report back as to whether or not it works.

          Comment

          • fris
            Too lazy to set a custom title
            • Aug 2002
            • 55679

            #6
            exec-php if you are doing it in an actual post, if you are doing it via your theme just a normal include will work.
            Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

            Comment

            • wizzart
              scriptmaster
              • May 2006
              • 5246

              #7
              PHP Code:
              
              include("file.php"); 
              
              PHP Code:
              
              include("http://somedomain.com/file.php"); 
              
              Last edited by wizzart; 04-28-2009, 06:48 AM.
              BimboZone

              Comment

              • Carmine Raguso
                So Fucking Banned
                • Dec 2008
                • 2158

                #8
                Originally posted by fris
                exec-php if you are doing it in an actual post, if you are doing it via your theme just a normal include will work.
                This worked like a charm. Thanks for the help guys

                Comment

                • TheSenator
                  Too lazy to set a custom title
                  • Feb 2003
                  • 13340

                  #9
                  Good job GYF team and nice plugin that I have over looked.

                  http://wordpress.org/extend/plugins/exec-php/
                  ISeekGirls.com since 2005

                  Comment

                  • burntfilm
                    Confirmed User
                    • Feb 2008
                    • 972

                    #10
                    yeah, this plugin looks really useful, thanks rick-e
                    Sorta...

                    Comment

                    • rick-e
                      Too lazy to set a custom title
                      • Nov 2005
                      • 19935

                      #11
                      Originally posted by burntfilm
                      yeah, this plugin looks really useful, thanks rick-e
                      You are welcome. Wordpress rocks

                      Comment

                      Working...