I'm attempting to put a search block into my Drupal 7 theme. I have included the following into the theme:
<?php
$block = block_load('dkan_sitewide', 'dkan_sitewide_search_bar');
if($block):
$search = _block_get_renderable_array(_block_render_blocks(array($block)));
print render($search);
endif;
?>
The above code was taken from the Nuboot Radix theme.
This is what I see:
How do change the search bar? I want to:
- Remove the label
- Move the submit button onto the same line as the search bar
- Stop the bar going full width
- Change the button text
- Change the text inside the search bar