This is an old version of this answer!
Return to the current answerFirst, you can use catehory ID
<?php wp_list_bookmarks(array(
'orderby' => 'rating',
'order' => 'ASC',
'limit' => 10,
'category' => 2, // the category friends ID
'title_before' => '<h5>',
'title_after' => '</h5>',
'link_before' => '<span>»</span> '
) ); ?>
function search_form_header( $form ) {
$form = '<form method="get" id="searchform-header" action="' . home_url( '/' ) . '" >
<div>
<input class="pie" type="text" value="" name="s" id="s" />
<input class="pie" type="submit" id="searchsubmit" value="'. esc_attr__('Search', 'yourtheme') .'" />
<input type="hidden" name="lang" value="' . __ (ICL_LANGUAGE_CODE) . '"/>
</div>
</form>';
return $form;
}
add_filter( 'get_search_form', 'search_form_header' );
Luis Abarca | 01/27/12 at 3:03pm





