• Resolved andysupercartribe

    (@andysupercartribe)


    I want to make changes to the Search menu ( [auto_listings_search] ). I have read the details held here (https://wpautolistings.com/docs/search/) but want to make some changes to the structure and order of the selection. Where can I find the file that hold the search box? Is it in the templates folder? If so which file should I be looking at?

    Thanks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author autolistings

    (@autolistings)

    Please use this hook auto_listings_search_form_output to change the output of the Search Box.

    Thread Starter andysupercartribe

    (@andysupercartribe)

    Im sorry I need more instructions than that. You need to give me an example so I know how to make the changes. For example I want to move the Make and Model to the top section. How would I do that?

    Thanks.

    Plugin Author autolistings

    (@autolistings)

    It requires more customization than I think and you will need some PHP knowledge to implement:

    + Download the file in this link
    + Insert the file in your theme folder.
    + In your theme’s functions.php file, add this code:

    if ( is_plugin_active( 'auto-listings/auto-listings.php' ) ) {
    	require get_template_directory() . '/class-auto-listings-searchform.php';
    	new Auto_Listings_SearchForm();
    }
    

    + Back to the file, go to Line 90, this is where you can start modify your HTML.

    If you have any trouble with this instruction, go to https://wpautolistings.com/support/ then send us your website credentials.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change the Search Box’ is closed to new replies.