Hey JumpStart community,
Has anyone built Team member option into a slider (similar post slider) with JS 2.0+ yet or have an idea about how to go about it?
- You must be logged in to reply to this topic.
This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.
Here’s an idea. In the theme, you’ve already got the FlixSlider script, and so maybe you can utilize its carousel feature? Here’s an example:
In each carousel item, you could utilize the
themeblvd_team_member() function, which accepts an array of arguments similar to the options you see in the layout builder. See the function
themeblvd_get_team_member() in framework/includes/components.php so you understand what you’ll be passing into the function.
Alternatively, you could look at how I do a post grid slider, and do your own version that calls
themeblvd_team_member() for each item, instead of displaying a post. See function
themeblvd_get_grid_slider() in /framework/includes/loop.php.
Note: I don’t use the carousel feature of flexslider I suggested previously for the post grid slider, partner logo slider, etc, because it causes issues with responsiveness, trying to accomodate all of the theme features I’m giving the user.
What about using the Partner Logos element as a base to work off? The only tricky part is creating a ‘Team Member’ sortable option.
We can build the class in the child theme which extends
Theme_Blvd_Slider_Option and its just hooking into Theme Blvd Advanced Options.
Yes, from what I’m told by working with another customer, it is possible to create a new sortable option type, but it is a little difficult from a child theme. This should help: http://support.themeblvd.com/forums/topic/add-option-type/
And you wouldn’t be extending
Theme_Blvd_Slider_Option — you’d be extending
Theme_Blvd_Sortable_Option in the way that