I love seeing how people are using the Options Framework code. Cheers to Syamil for sending this forums thread link over to me.
It looks like Syamil has done a good job customizing the code but I’ve always felt that slider controls weren’t quite the appropriate in a theme options panel. If it has a title, summary and/or image it feels more like content than options.
I know WooThemes uses custom post types for some of their sliders. If people went that route I think a plugin would be great. It could be offered on .org and any theme could be built to be compatible with it. Or it could be offered as a bundled plugin with the theme, so that if your user switches themes they can still have their content available.
Another interesting way to do it might be to adapt the menu functionality. You could have the user build their “menu”, and have one of the registered menus be a slider.It’s definitely an interesting challenge. Just wanted to offer a few ideas for other routes.
Thanks for joining in Devin, I appreciate it.
I guess the whole idea of having a slider in the options panel is to simplify the process of setting up one. I’ve seen several trends of how people set up their sliders:
1. Custom category/tag (most popular)
2. Custom slider options
3. Dedicated custom post type just for the sliders. ( e.g. Woothemes )
4. Fixed-number, non-sortable slider options using Options Framework or other similar options panel.
I’ve tried all of the said above, and in my opinion, a slider option is the most simplified way of doing it.
I am not saying that one method is better than another. Perhaps each author have different opinions on what will work best for their themes. I just thought it’d be great to offer the slider option built-in inside Options Framework should anyone needs them.
Why not post it here, maybe?
We have some great crowd of awesome designers and experienced developers here. I read a lot of those “my theme is rejected threads”. When you compare the quality of comments from the forumers vs comment by reviewers you notice that they(forumers) give you more detailed answers/tips on where to fix or improve.
Just my opinion
I think the delete slides works well inside the slider. The only complaint I have with the sliders is it can be tricky opening and closing them due to the small size of the button.
Thanks for noticing that. I’ve made the button area larger now, so it shouldn’t be very tricky to click anymore. The experience should be similar to toggling widgets.
I have also just finished adding media library uploader support, both for single upload & slider.
The older ajaxupload is still intact incase you need them for uploading favicon or other formats not supported by Wordpress.
I will not be updating on this thread anymore about the progress of the project since that’d be an eyesore for those who didn’t want to see it. Everything will be on Github now from this point forward.
That’s not the “original” since it was from Option Tree not Options Framework. The original Options Framework do not have any slider options.
The latest version on Github looks like this:
I moved the delete button inside the slider so that people won’t accidentally clicked on it.
BTW , the slider on Option Tree has a bug when removing & adding slides without page refresh. Try create 3 slides, delete #2 and add another. Look at the id of the newly created slide, it will be similar to #2. When you saved & refresh, you will have just two slides instead of three.
I took it for a test drive. Good job. I like the improvements you made over the original. Now, I’ll be the first n00b to ask, how do you include the sliders into a theme?
Thank you for the kind words christopherjon.
You can use the code from line 18 to 34 of this page to see the output.
@contempoinc – I can’t really promise a date, but I can only say that I looked forward to it as much as you do yourself
How do you deal with customer who bought more than just one item? Do you require verification for each, or they only need to register once and get support across all themes?
Thanks everyone for the feedback
It’s my first time on Github so I hope it works.
Added a little customization to the nav menu, now you can add icons to it:
If you want to try out the slider, I’ve added a little snippet in content-page.php. Just create a new page and you shall see the slider output in action.