Posted on 6th September 20092 Responses
How Do You Put Php Includes Into A Wordpress Site?

I created php includes references for the left and right columns of my website. Should I bother placing the references on each of my pages (27), or would that be wasting my time because when I change to wordpress none of the references will be used. I ask this becuase elsewhere I hear all you have to do with wordpress is copy and paste, copy and paste. You really can’t copy and paste PHP functions.
Thanks

Comments
comment by j k
Posted on September 6, 2009 at 8:34 am

You can still mess with wordpress templates though. It’s a regular file. I put stuff in my sidebar.php, my index.php and pages.php, also home. Anything in your theme folder you can mess with.
Just keep a backup of the original backups for any screwups that will happen:)

comment by Peter K
Posted on September 6, 2009 at 8:34 am

Who says you can’t cut and paste PHP? Just put it in a file and do an include with it.

Leave a Response
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Improve the web with Nofollow Reciprocity.