[wp-hackers] Zen-Coding for WordPress?

Philip Walton philip at philipwalton.com
Wed Mar 30 21:31:17 UTC 2011


Is anyone aware of a plugin or theme framework that implements some 
version of zen-coding not within a text editor but actually as a set of 
php methods or functions?

If not I'd be willing to start working on something, and I wanted to 
float the idea out there to gauge the general interest level and/or see 
if anyone wants to get involved.

Basically, I'm wanting to be able to do something like this within 
WordPress themes and/or functions instead of writing a million 
hard-to-read echo statements.

$zc = new Zen_Coder;
$zc->expand( "#sidebar>.wrapper>ul.widget>li.item$*3>a", array( 
$link1_data, $link2_data, $link3_data) );

Feedback welcome.



More information about the wp-hackers mailing list