Thematic: custom div.access and resize Search field’s <input> size

View example: http://hollanderyorkgallery.com/

<?php

// Create a custom access div with the menu and search box
function HYG_access() { ?>
<div id=”search_box”>
<form id=”searchform” method=”get” action=”<?php bloginfo(‘home’) ?>”>
<div>
<input id=”s” name=”s” type=”text” value=”<?php echo wp_specialchars(stripslashes($_GET[‘s’]), true) ?>” size=”22″ tabindex=”1″ />
<input id=”searchsubmit” name=”searchsubmit” type=”submit” value=”<?php _e(‘Search’, ‘thematic’) ?>” tabindex=”2″ />
</div>
</form>
</div><!–search_box–>
<div id=”access”>
<?php wp_page_menu(‘sort_column=menu_order’) ?>
</div><!–access–>
<?php }
add_action(‘thematic_betweenmainasides’,’HYG_access’);

?>

================================
Advertisements
%d bloggers like this: