Notifications
Clear all

wpForo 1.x.x [Closed] How to link to the search page with no results showing?

5 Posts
4 Users
1 Reactions
2,357 Views
Posts: 14
 R08
Topic starter
(@r08)
Eminent Member
Joined: 7 years ago

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: 10520
Admin
(@robert)
Support Team
Joined: 8 years 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: 111
(@aima-forum)
Estimable Member
Joined: 4 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: 4 years ago

Estimable Member
Posts: 111

Maybe there is a shortcode?

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1868

@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/