Changing slide order
-
I’m wanting to change the order of the slides to be by alphabetical file name. It’s easy enough to find the PHP code to do this, another user does something similar here.
Although I know very little about PHP coding, I know that it is very bad practice to go in and edit the plugin code directly. The changes to the code will disappear when the plugin is updated, and if you don’t update the plugin, you leave your site open to potential security risks.
So what is the right way to make this kind of change to a plugin?
In my case, I want to change this line:
'orderby' => 'menu_order', 'order' => 'ASC'
With this one:
'orderby' => 'title', 'order' => 'ASC'
Any help about where and how this is done would be appreciated.
- The topic ‘Changing slide order’ is closed to new replies.