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)
-   -   PHP in Wordpress Pages section? (https://gfy.com/showthread.php?t=983759)

cambaby 08-24-2010 05:56 PM

PHP in Wordpress Pages section?
 
Anyone know a plugin that allows php on Wordpress pages section(not posts). Seems the ones Ive tried are outdated to the new version of WP. pre-Thanks. :thumbsup:thumbsup

BSleazy 08-24-2010 06:01 PM

Quote:

Originally Posted by cambaby (Post 17439353)
Anyone know a plugin that allows php on Wordpress pages section(not posts). Seems the ones Ive tried are outdated to the new version of WP. pre-Thanks. :thumbsup:thumbsup

I don't see anything that's been updated recently.

FlexxAeon 08-24-2010 06:03 PM

make a new Page template, put all your PHP in there, upload it to the theme folder, then make a 'blank' page that uses said template

fris 08-24-2010 07:25 PM

try this one

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

scouser 08-24-2010 07:26 PM

you could also just do
<?
if (is_page('page-slug')) {
// code
}
?>

in your template

BSleazy 08-24-2010 07:27 PM

Quote:

Originally Posted by fris (Post 17439480)

Ya I saw that but people are commenting that it's not even working on 2.91.

fris 08-25-2010 05:42 AM

Quote:

Originally Posted by deadmoon (Post 17439482)
you could also just do
<?
if (is_page('page-slug')) {
// code
}
?>

in your template

he wants to run actual php code in the page, in the post editor.


All times are GMT -7. The time now is 02:53 AM.

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