GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress Gurus: PHP includes and pages (https://gfy.com/showthread.php?t=902265)

Carmine Raguso 04-28-2009 03:07 AM

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 04-28-2009 03:16 AM

Try installing the Exec-PHP plugin

Angry Jew Cat - Banned for Life 04-28-2009 03:31 AM

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

Carmine Raguso 04-28-2009 03:45 AM

Quote:

Originally Posted by Angry Jew Cat (Post 15795780)
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

Carmine Raguso 04-28-2009 03:46 AM

Quote:

Originally Posted by rick-e (Post 15795759)
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. :thumbsup

fris 04-28-2009 05:39 AM

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.

wizzart 04-28-2009 07:47 AM

PHP Code:


include("file.php"); 

PHP Code:


include("http://somedomain.com/file.php"); 


Carmine Raguso 04-28-2009 07:59 AM

Quote:

Originally Posted by fris (Post 15795958)
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 :thumbsup

TheSenator 04-28-2009 08:02 AM

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

http://wordpress.org/extend/plugins/exec-php/

burntfilm 04-28-2009 08:36 AM

yeah, this plugin looks really useful, thanks rick-e

rick-e 04-28-2009 01:18 PM

Quote:

Originally Posted by burntfilm (Post 15796419)
yeah, this plugin looks really useful, thanks rick-e

You are welcome. Wordpress rocks :thumbsup


All times are GMT -7. The time now is 09:04 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123