Echo out Galleries without any styles
-
I’m printing out galleries of a WordPress Post like this:
<?php echo do_shortcode(‘[gallery link="file" size="thumbnail" icontag="div"]‘); ?>
in page.tpl.php unfortunately that shortcode adds in it’s own styles directly into the document (which isn’t XHTML Valid).
The main problem with that is now I can’t over-ride those styles to make it look the way I need it too.
Any ideas?
- The topic ‘Echo out Galleries without any styles’ is closed to new replies.