Support » Plugin: Kau-Boy's AutoCompleter » Autocomplete Taxonomy in stead of title or content

Viewing 1 replies (of 1 total)
  • My solution in autocompleter_results.php:

    //$wp_query = new WP_Query();
    	//$wp_query->query(array(
    	//	's' => $_REQUEST['q'],
    	//	'showposts' => $choices,
    	//	'post_status' => 'publish'
    	//));
    	$taxonomies = "company_taxonomy";
    	$args = array(
        'hide_empty'    => false,
        'cache_domain'  => 'core');
    	$posts = get_terms( $taxonomies, $args );

    and I ended up replacing the URL with ‘#’ to fill the field without directing somwehere

Viewing 1 replies (of 1 total)
  • The topic ‘Autocomplete Taxonomy in stead of title or content’ is closed to new replies.