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: Search Bar in Featured Area

Jason Bobich

Hooking into the featured area is tricky because you not only have to hook in there, but you also have to activate the area so the surrounding HTML markup is triggered. This is something unique that you don’t need to do with any of the other action hooks.

// Hook content
function my_featured(){
add_action( 'themeblvd_featured', 'my_featured' );

// Activate featured areas by default
function my_global_config(){
	$config['featured']['archive'] = true;
	$config['featured']['blog'] = true;
	$config['featured']['grid'] = true;
	$config['featured']['page'] = true;
	$config['featured']['single'] = true;
	return $config;
add_filter( 'themeblvd_global_config', 'my_global_config' );