[wp-hackers] nested shortcode

Andrew Ozz admin at laptoptips.ca
Fri Jan 23 10:44:14 GMT 2009


Daiv Mowbray wrote:
> Thanx Charles Clarkson for the suggestion, but you assume that all I 
> want is to access an item for css manipulation.
> Actually I want to add a rel="myrel" or class="myclass" for javascript 
> manipulation.

Why not do it in js then? It's trivial to get all links that are inside 
the .post css class. In jQuery all it takes is:
jQuery('.post a').each(function(){your js here});

Without jQuery it would take two or three lines of code...


More information about the wp-hackers mailing list