I recently purchased the Genesis theme and I have the following issue:
//* Add search bar
add_action( 'genesis_after_header', 'geo1280_search_bar', 20 );
function geo1280_search_bar() {
if ( is_active_sidebar( 'search-bar' ) ) {
genesis_widget_area( 'search-bar', array(
'before' => '<div class="search-bar widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
} else {
echo '<div class="geo1280-placeholder"></div>';
}
}
If I alter any of the code inside this widget area add function the changes are not reflected. I can remove everything from inside the function declaration and I will still get a working widget area. However if I remove the whole function I will lose the widget area. Is this function somehow being overridden by the plugin ?
Thanks, Julian