Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 15th Jul 2016, 12:48 PM   #1
Warrior Member
 
Joel Bechlem's Avatar
 
Join Date: 2016
Location: Northern Indiana
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I need a little help with my search bar
Share on: 
fb share twitter share gplus share more share

Thanks in advance, guys.

I would like to be able to customize the page that shows up after a person types something in the search bar and no results come back.

Example:
-Let's say someone types in "shoes" and I have a pants website.
-The page that shows up is says:
"Nothing Found
Sorry, but nothing matched your search terms. Please try again with some different keywords."
-I would like to customize what it says and add links to discourage people from simply exiting the page.
-I am not using a search plugin, but might be in the future.

*Note: I'm not 100% illiterate but about 70% so talk to me like a newbie anyways.

Thank you again for your time!
Joel Bechlem is offline  
Unread 19th Jul 2016, 05:41 AM   #2
Warrior Member
 
Join Date: 2014
Posts: 13
Thanks: 1
Thanked 2 Times in 2 Posts
Default
Re: I need a little help with my search bar
Share on: 
fb share twitter share gplus share more share

Hi Joel,

From the "nothing found" message you've posted I believe you are using Wordpress. If you want to change the message that's displayed when a search doesn't return any results follow these steps:

1) Access the location where your Wordpress is installed. You can do this either by connecting via FTP / SSH to your hosting provider. Alternatively, your provider may have a 'File Manager' or similar in your cPanel. If you are developing locally, simply open the folder where your Wordpress install is located.

2) Open the theme directory for the currently active theme. This can be found from the root of your website files by opening wp-content then themes followed by the name of your theme (for example twentysixteen)

3) Open the languages folder and edit the .pot file found inside it. For example, with the twentysixteen theme the file in this folder will be twentysixteen.pot

4) Scroll down until you find the line with the text:
"Sorry, but nothing matched your search terms. Please try again with some "
"different keywords."
This is on line 312 in the twentysixteen theme but may be elsewhere on your theme. Edit the text, to whatever content you wish!

If you want to provide more indepth responses for searches with zero results, you may wish to go down the plugin route as mentioned so you can offer related items.
bubb is offline  
Unread 19th Jul 2016, 04:11 PM   #3
Warrior Member
 
Joel Bechlem's Avatar
 
Join Date: 2016
Location: Northern Indiana
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: I need a little help with my search bar
Share on: 
fb share twitter share gplus share more share

Awesome. Incredibly helpful. Thanks a ton. Either by plugin or directory I am confident I can solve the issue now. Thanks!


Originally Posted by bubb View Post

Hi Joel,

From the "nothing found" message you've posted I believe you are using Wordpress. If you want to change the message that's displayed when a search doesn't return any results follow these steps:

1) Access the location where your Wordpress is installed. You can do this either by connecting via FTP / SSH to your hosting provider. Alternatively, your provider may have a 'File Manager' or similar in your cPanel. If you are developing locally, simply open the folder where your Wordpress install is located.

2) Open the theme directory for the currently active theme. This can be found from the root of your website files by opening wp-content then themes followed by the name of your theme (for example twentysixteen)

3) Open the languages folder and edit the .pot file found inside it. For example, with the twentysixteen theme the file in this folder will be twentysixteen.pot

4) Scroll down until you find the line with the text:
"Sorry, but nothing matched your search terms. Please try again with some "
"different keywords."
This is on line 312 in the twentysixteen theme but may be elsewhere on your theme. Edit the text, to whatever content you wish!

If you want to provide more indepth responses for searches with zero results, you may wish to go down the plugin route as mentioned so you can offer related items.
Joel Bechlem is offline  
Closed Thread


Bookmarks

Tags
bar, search


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:59 PM.