Add hooks to search

Listing & Directory WordPress Theme
https://listgo.wiloke.com/
Supermum76
Posts: 5
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: 5
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: 5
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

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

Re: Add hooks to search

Postby Supermum76 » Sun Feb 25, 2018 10:19 pm Supported Until: Tue Aug 07 08:08:34 +1000 2018

Hi

Regarding point 2)

I created a new folder in the listgo-child: admin -> public -> vc and copied wiloke_listing_layout.php to vc folder

But if i am changing (editing/adding) anything, the theme wouldn't pick it. I have been trying this the whole time

Can you advice on this please ? Would appreciate a faster response

Thanks in advance !

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

Re: Add hooks to search

Postby Supermum76 » Sun Feb 25, 2018 11:03 pm Supported Until: Tue Aug 07 08:08:34 +1000 2018

Does class.WilokeListingLayout.php controls what's happening at https://domain_name/search-results/ page

Basically I just want to add a field for example date field and I want listings that is coming via ajax at the bottom to take into account my field as well

Any suggestions would be highly appreciated


Return to “ListGo”

Who is online

Users browsing this forum: No registered users and 3 guests