Gallery Shortcode options.
-
Okay,
I’m absolutely itching to use the new gallery shortcode feature in 2.5 but I haven’t yet because I do not wish to compromise the integrity of my markup.
At the moment my site validates as XHTML 1.0 Strict and I’m serious about web standards and best practices. The gallery shortcode feature is, in theory, a phenominal addition to WordPress with one exception; The code it inserts forces you to use inline styles.
Not only does this go aginst the golden rule of seperation of content and style, it causes my markup to lose it’s validity as style isn’t allowed to be used in this way in the strict doctype.
My question is: How , if at all, can I stop the shortcode inserting in-line styles so I can use my global stylesheet to format my galleries?
thanks
Dan
- The topic ‘Gallery Shortcode options.’ is closed to new replies.