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.

Reply To: Categories under grid slider builder

Jason Bobich

I think you could actually do it something like this from your Child theme’s functions.php:

function my_grid_slider_options( $elements ){
	// Setup new select
	$select = array();
	$select['all'] = 'All Categories';
	$categories = get_categories(array('hide_empty' => false));
	foreach( $categories as $category ){
		$select[$category->slug] = $category->name;
	// Filter them in
	$elements['post_grid_slider']['options'][5]['options'] = $select;
	return $elements;
add_filter( 'themeblvd_core_elements', 'my_grid_slider_options' );
  • This reply was modified 9 years ago by Jason Bobich. Reason: Oops, first time had it setup for post LIST slider