Help with Search page

Posted in: Newspaper
Post count: 36

Hi,

I wanted to create my own search page hence I have created a page and added WordPress custom search widget to it.Please take a look at the page which I have created (http://www.newsmug.in/search-2).When I enter the value and click on “Search” button I am navigated to another page where search results are displayed.However I want the search results to be displayed in the same page.Please guide me on how to proceed further

Thanks,
Anand

Post count: 22421

Hello Anand,

Unfortunately the ajax search filter is custom built and cannot be replicated very easy. You will need custom modifications to implement it on your page. You can follow this topic to get a general idea on how you can achieve this but it will need custom modification to work https://forum.tagdiv.com/topic/ajax-search-as-stand-alone/. Unfortunately we cannot offer any custom work at the moment but you could hire a freelancer to do it for you from sites like studio.envato.com

Thank you!

  • This reply was modified 10 years by Bogdan B..
Post count: 36

Hi Bogdan,

Is there a way where I can hide the Search bar which is displayed in the search results page and in that search page there is a text saying “If you’re not happy with the results, please do another search”.I just wanted to modify that with “If you’re not happy with the results, click here to do another search”.Can you please guide me on how to proceed with this

Thanks,
Anand

Post count: 22421

Hello Anand,

You can use this custom CSS to remove the search form:
.search-results .search-page-search-wrap form{
display:none
}
.search-results .search-page-search-wrap {
margin: 20px 0 40px 0!important;
}

In order to change the text shown you can do it from the theme panel-translations: http://screencast.com/t/w1IvGMUv

Thank you!

Post count: 36

Hi Bogdan,

Sorry I forgot to ask you this.I had said that I wanted to modify text with “If you’re not happy with the results, click here to do another search”. I wanted to add a class or id to “click here” text so that I can write a Javascript code where the user would be navigated to this page(http://www.newsmug.in/search-2) when he clicks on “click here” text.Can you please tell me how to do this

Thanks,
Anand

Post count: 22421

Hi,

You can find the code in this file here: http://screencast.com/t/iw62cUl7qp. You can add a class to the div and then use a custom javascript code to achieve your goal.

Thanks.

  • This reply was modified 10 years by Bogdan B..
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.