function build_total_search_method( $atts ) {
$shorcode_php_function = include( dirname(__FILE__) . "/includes/total_search.php" );
return $shorcode_php_function;
}
add_shortcode( 'total_search', 'build_total_search_method' );
I've created a shortcode that returns an included PHP file instead of a string ... however, after the returned statement, there is a 1 printed.
Two questions:
1) What is the `1` all about and how do I remove it?
2) Am I doing this properly?

/includes/total_search.php? – Chip Bennett Jan 22 at 1:16