• Resolved zakmicheal89

    (@zakmicheal89)


    Search function is not working properly. it’s just showing name list without photos of cars. What could be the issue with this?

    How can I show cars base on Make. For example Toyota vehicles will be display on Toyota page without any search box.

    [als make=”toyota”] shortcode like this.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support longnguyen

    (@longnguyen)

    Hi,

    It is possible that your theme does not support showing the image of listings. Please try to switch to the CarListings theme and re-check this issue.

    To show the listings by make, you will need some custom code to do that. Please contact us via this form https://wpautolistings.com/services/.

    Thread Starter zakmicheal89

    (@zakmicheal89)

    I got this reply from theme author. How can I add ‘&post_type=auto-listing’ to my search parameter.

    Hi,

    This is AJ the theme author.

    If we do a little test adding the post type at the end of your URL – https://www.wrecky.com.au/wrecking/?make=Audi&the_year=&s=&post_type=auto-listing – you can see the items display correctly. So it looks like your directly plugin does have the correct code needed to display the auto listings.

    I wasn’t able to locate any search function on your site, but if you are adding a custom search element just be sure to also have the post type added in the search form so that it correctly displays the items.

    And the most likely reason why the items don’t show up on the regular search results is probably because the plugin excludes them or you have enabled this option in the Customizer – https://a.cl.ly/d5uAe15Y

    – AJ`

    Plugin Support longnguyen

    (@longnguyen)

    Hi,

    Follow the response from theme support, you can try to disable the option Show Standard Posts Only in your theme setting and re-check the issue.

    You can see on the demo site, we do not need to add a parameter &post_type=auto-listing to the URL in the search page.
    https://demo.wpautolistings.com/

    Thread Starter zakmicheal89

    (@zakmicheal89)

    when I check the option “show standard posts only” then it doesn’t display any result. https://prnt.sc/14s77g5. Is there any fix to it that add &post_type=auto-listing to my search url.

    Plugin Support longnguyen

    (@longnguyen)

    Hi,

    You can add the HTML code before the search button in the search form editor to add post type parameter to the URL
    <input type="hidden" name="post_type" value="auto-listing">

    Screenshot https://share.getcloudapp.com/bLukmPd2

    Thread Starter zakmicheal89

    (@zakmicheal89)

    Thanks that’s fixed this issue.

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