Jump to content
Sign in to follow this  
alisamski

Editing Nothing Found in Search results

Recommended Posts

alisamski

Trying to change the text on the search result page... and cannot locate which file first of all and then how do implement that in the base theme? So changing the 'Nothing Found" to something else. Please advise. Thanks

Share this post


Link to post
Share on other sites
Rob
The actual text comes from a WordPress core file. It's actually not PageLines. You can always check the WP.com forums on this, or simply replace that with your own message in the Drag and Drop PageLines settings. I'd recommend the search at WP.com first. http://www.wordpress.org/support

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alisamski
I found this... however its 5 years old! and not sure if it will work.. assuming placing inside the functions.php file? I think I need help. It would be for all the categories... I believe this is for only one? [code] There are no posts currently at this time. [/code] Here is the page with the code working... [url]http://www.mikesouthern.com/wp/category/shows-class-schedule[/url]

Share this post


Link to post
Share on other sites
Danny
Hi, When you say "Nothing Found" are you referring to the search page or the 404 page ? When a keyword isn't found using the search feature the text displayed is: No results for "X" Try another search? Can you confirm if it is the search results page or 404?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
alisamski
Not the 404... this is an "empty category page" I am referring to.. which most of the categories will take some time to populate.. and the client does not want the Nothing Found result there... Right now under that link above... I listed a post that displays on the category page... and once they populate it, they would delete the post.. however, thats really crappy (to be blunt).. I am expecting its a somewhat easy work around... however, not being a php programmer... I'm not sure what I need to mess with inside a function file.

Share this post


Link to post
Share on other sites
Rob
Since the text comes from WP, as I said, you have two options: editing the WP files or adding a customized hook.. Unfortunately, that level of customization would require a pro developer and is beyond my skill set. I had suggested using a text field for that page.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alisamski
Yes, I did go searching which is why I posted my findings.... with a hook etc... and I also expressed that I was not php saavy... In looking at the "text options" for drag n drop... I did not see a way of producing that page... It is not the 404 page... its a category which does not contain posts... I have a crude way of dealing with it right now... and would like some guidance as to how to utilize the drag n drop feature for a category page which does not contain posts at the time... Can you please explain how I would use that feature of the theme?

Share this post


Link to post
Share on other sites
Rob
Apologies. I kept thinking 404.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
WebWerx
Just get the Relevanssi plugin and be done with it. The core WP search tool is terrible.

Share this post


Link to post
Share on other sites
Rob
Category pages are not going to be easily changed. The only solution would be to create custom category pages or, place something in the categories. How about creating a post titled "More content coming soon!" with a short excerpt, then applying it to all categories that are currently empty. This is kind of difficult for me to grasp as my own site has hundreds of categories in each section and they all have something in them, so I never really see an empty category page.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alisamski
Yes, thats what I did... create a post and assigned to each category... The client wanted all categories set up before they start to populate... which is why they are empty right now.. @WebWerx... I will look into that one... tried finding something on WP but didn't come up with anything.. Thank you all for your input... and I will post my result here..

Share this post


Link to post
Share on other sites
Rob
Please do... we're on pins and needles waiting... biting our nails too. ;)

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×