A post template with php code pre inserted??
-
Hi guys,
Is it possible to create a post template where the main edit area has some php code already inserted? For example, i’m using the php-exec plugin that allows me to write php code in the edit post area, and most of my posts usually contain a portion of text that is usually always the same. Rather than having to cut and paste this into each post, can it already appear in the edit area when i create a new post?
I know that you can do this with simple text by going into the edit-form-advanced.php file within wp-admin and adding some code in there. However i would like to do it with php.
Any help is much appreciated. Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A post template with php code pre inserted??’ is closed to new replies.