Add hooks to search

Listing & Directory WordPress Theme
https://listgo.wiloke.com/
Supermum76
Posts: 3
Joined: Wed Feb 14, 2018 6:49 pm
Contact:

Add hooks to search

Postby Supermum76 » Wed Feb 14, 2018 7:49 pm Supported Until: Tue Aug 07 08:08:34 +1000 2018

hello

How do we add hooks to customize search ? the theme so far hasn't allowed me to add any... We want to add add in custom fields to the advance search at /search-results page. Can anyone provide any advice

User avatar
pirateS
Site Admin
Posts: 6029
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Add hooks to search

Postby pirateS » Thu Feb 15, 2018 10:25 am

Hi
Sorry, Listgo does not support this feature currently. We will consider this feature in the next version.
Thanks

Supermum76
Posts: 3
Joined: Wed Feb 14, 2018 6:49 pm
Contact:

Re: Add hooks to search

Postby Supermum76 » Thu Feb 15, 2018 12:13 pm Supported Until: Tue Aug 07 08:08:34 +1000 2018

Is there anyway to customise search?

User avatar
pirateS
Site Admin
Posts: 6029
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Add hooks to search

Postby pirateS » Sun Feb 18, 2018 4:45 am

Hi
Please try this way:
1. Adding a search field: Using wiloke/listgo/admin/public/search-form action
2. Modifying search query: Creating new folder in the listgo-child: admin -> public -> vc. Next, copying wiloke_listing_layout.php to vc folder.
3. Opening wiloke_listing_layout.php -> Modify the query
4. Finally, go to Appearance -> Themes -> Activating listgo child
Thanks

Supermum76
Posts: 3
Joined: Wed Feb 14, 2018 6:49 pm
Contact:

Re: Add hooks to search

Postby Supermum76 » Wed Feb 21, 2018 1:47 am Supported Until: Tue Aug 07 08:08:34 +1000 2018

Thank you


Return to “ListGo”

Who is online

Users browsing this forum: No registered users and 6 guests