AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] How to link to the search page with no results showing?

5 Posts
4 Users
1 Reactions
3,317 Views
Posts: 14
 R08
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@r08)
Eminent Member
Joined: 9 years ago
[#4867]

Hi, I would like to remove the search button in the wpForo top menu, right above the forum, and instead, have a link that goes to the search page.  

I was able to find the link for the search page but the problem is that in the example the page that people will see is a search for all topics that have the word cheese in them.  

http://mysite.com/discuss/?wpfs=cheese

 

If I clear the search term in the URL and use this instead:

http://mysite.com/discuss/?wpfs=

The page displays ALL the posts in my forum.

 

How can I link to the search page so that it's blank without any search results so that the user can put something in the search box?

 


4 Replies
Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

Hi R08,

I'm sorry but the search page doesn't have own page slug. You can use a unique key with URL, something like this: https://wpforo.com/community/?wpfs=uniquekey


st7878
Posts: 115
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@aima-forum)
Estimable Member
Joined: 6 years ago
Posted by: @robert

doesn't have own page slug

Hello. Maybe there is a script or php code? I want to set the search on my own where I need to.


2 Replies
st7878
(@aima-forum)
Joined: 6 years ago

Estimable Member
Posts: 115
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Maybe there is a shortcode?


Alvina
Moderator
(@alvina)
Joined: 7 years ago

Member
Posts: 1857
st7878
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@st7878,

Since the wpForo 1.7.0 version, added a Forum search page URL - example.com/community/?foro=search

Please check the wpForo 1.7.0 changelog: https://wpforo.com/community/wpforo-announcements/wpforo-1-7-0-is-released/


Share: