[wp-hackers] Combined template editor

Matt Mullenweg m at mullenweg.com
Wed Nov 3 01:15:49 UTC 2004


What if on the backend we transparently included the proper header and 
footer files when editing through the WP interface. For example, a 
template like:

<?php include header ?>
content stuff...
<?php include footer ?>

Could be changed to

<head>
...
<body>
<!-- end wp-header.php -->
...content stuff
<!-- begin wp-footer.php -->
</body>
</html>

When we edit it. On save we can write it out to the three separete files 
again. It could be completely transparant to most users that things are 
in different files.

Thoughts? Code?

-- 
Matt Mullenweg
http://photomatt.net  | http://wordpress.org
http://pingomatic.com | http://cnet.com



More information about the hackers mailing list