Skip to content

Commit

Permalink
Fits into theme better
Browse files Browse the repository at this point in the history
  • Loading branch information
donuk committed May 18, 2015
1 parent 15c5710 commit 7ea7da2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ function widget($args,$instance){
);
}

echo $args['before_widget'];
echo $args['before_title'];
echo "Search Form";
echo $args['after_title'];
$this->_show_template("wpcfs-search-form",array(
"inputs"=>$wrapped_inputs,
'form_id'=>$args['widget_id']
));
echo $args['after_widget'];
}
function _was_posted($args){
return $_REQUEST['wpcfs-search-source'] == $args['widget_id'];
Expand Down

0 comments on commit 7ea7da2

Please sign in to comment.