[wp-hackers] Easytags template system
Sam Angove
sam at rephrase.net
Wed May 10 08:58:51 GMT 2006
On 5/10/06, Matt Mullenweg <m at mullenweg.com> wrote:
>
> Basically the concept is that it's very easy to parse something like
> <$the_title$> into <?php the_title(); ?>. What if there was a plugin (or
> in WP core) an option that gave you a "friendly" view when editing
> templates? On display it could hide all the scary PHP it knows how to
> parse behind psuedo-HTML tags, and on save turn it back into the PHP
> that WordPress knows and love.
Is it going to know both:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
and
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
? (From the classic theme and Kubrick, respectively.)
What about the various deprecated loop syntaxes, and all their
variants of spacing and punctuation? What about plugins?
It's not going to understand every code snippet and plugin function,
so many/most themes are going to be a confusing morass of PHP and
"easytags" all mixed into one. That sounds rather worse than the
system now.
More information about the wp-hackers
mailing list