Support » Plugin: WP Car Manager » Search Bar

  • Resolved brentRnelson


    This is great plugin except one deal breaker: There is no Search Bar shortcode and the WordPress Search Bar will not find any content using Wp Car Manager. Cannot use this until that is implemented.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter brentRnelson


    Thanks Vinod, this could be a life saver.

    Thread Starter brentRnelson


    Not sure why it’s not populating anything.

    1) That is not an issue from the plugin that you don’t see any results to the wordpress search. But you can easily add this yourself with some code.

    add_filter( 'pre_get_posts', 'prefix_cpt_search' );
    function prefix_cpt_search( $query ) {
        if ( $query->is_search ) {
    	$query->set( 'post_type', array( 'post', 'page', 'wpcm_vehicle' ) );
        return $query;

    Please note above snippet is not tested!

    You should add this to your themes functions.php

    2) Can’t see anything wrong with the wpcarmanager plugin all is working.

    Plugin Contributor Harish Chouhan



    Our plugin comes with a single shortcode to display the listings and search/filter field. You can learn more about it at



    hello , is it possible to change the default values of price, year and kilometer on the filter bar…
    i need to put my own prices ..
    thank you dears

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search Bar’ is closed to new replies.