atelierabbey / Web-Chunks

Chunk up your website to create flexible, modular, and friendly divisions all across your WordPress site.
http://skivvy.atelierabbey.org/plugin/web-chunks/
Other
2 stars 2 forks source link

add "config" attr - allows external PHP array to define chunks #21

Closed GrayofD4 closed 8 years ago

GrayofD4 commented 8 years ago

either array:

$skivdivchunks['Home1'] = array(
    'id'  => 'homechunk-one',
    'class' => 'one_third textleft',
    'autop' => 'no',
    'icon' => 'img/batturd.png'
);

// & 
[shortcode config='home1' /]

or with add_filters or extend class???

SillyCoyote commented 8 years ago

This is essentially what happens with the KEY attr when mixed with filters. It allows an extra mount of control through PHP side