Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP on Pages
#4
One another way also is making edited template.php in the theme folder, that has this code
Code:
<?php get_page_content(); ?>

replaced with PHP code that you want.

Save that file as something else in same folder (like form.php)

Then you create a new page in Page Management, click "Page options", select that edited template from "template" menu.


It's least hacky and non-plugin way, but updating themes would be little bit pain if you have lot of these files.
Author of GetSimple 3's Finnish Language file — http://get-simple.info/extend/language/f...guage/106/
Reply


Messages In This Thread
PHP on Pages - by ePirat - 2011-03-21, 15:21:39
PHP on Pages - by mikeh - 2011-03-21, 15:27:02
PHP on Pages - by mvlcek - 2011-03-21, 16:35:57
PHP on Pages - by krisu - 2011-03-21, 19:38:18
PHP on Pages - by ccagle8 - 2011-03-21, 22:28:04
PHP on Pages - by mvlcek - 2011-03-21, 23:23:54
PHP on Pages - by ccagle8 - 2011-03-21, 23:51:54
PHP on Pages - by ePirat - 2011-04-23, 01:12:33



Users browsing this thread: 1 Guest(s)