Where can I edit the xhtml for this? That is, the gallery output.
Where can I edit the xhtml for this? That is, the gallery output.
At the moment, the only way I know is in wp-includes/media.php.
You can change the XHTML output straight from within your post:
http://codex.wordpress.org/Using_the_gallery_shortcode
Thanks greenshady, do you know if there is any code (for functions.php) to delete the whole css-style in media.php?
Thanks greenshady. What I was attempting was to change how it outputs in a way of adding a new display functionality, but not just editing the column amount or minor changes.
Thanks Evita and greenshady, I'll try it out today.
I've actually done this with my Cleaner Gallery plugin if you need an example of how it's done.
There's also the WordPress shortcode API that'll let you remove shortcodes and replace them with your own (what I done with the above plugin):
http://codex.wordpress.org/Shortcode_API
This topic has been closed to new replies.