WordPress Gallery functionality

I changed the functionality of the WordPress Gallery. Now when I add a gallery it changes into a slider, each image as a slide. I’m trying to make a WordPress Theme and my question is:

It is ok to make a function that changes the Gallery into a Slideshow ?

Related posts

Leave a Reply

1 comment

  1. In short, no. You should not override the wordpress core’s functionality as:

    1. These will be overridden in future updates
    2. They won’t ship with you theme, and users will have to make the same changes.
    3. It will be impossible to manage these changes over time.

    You are best extending the functionality by implementing such changes into your theme or a custom plugin that you ship with your theme. Here is a good (and humorous) article explaining why this is a bad idea more in depth: http://websynthesis.com/dont-hack-wordpress-core/