How to change HivePress Search Results Default by Date to Customized Asc Attributes?

HivePress Search results are displayed based on the oldest published list and sorting based on date. This is really disappointing. I have created a separate attribute and I want the search results of the lists to be displayed based on the new to old car models, but HivePress use the default wordpress system and showing the results in date by default!!!

Please suggest a solution or a snippet to display the search results to the end users based on preferred default attribute. For example show new car models asc attribute.

Hi,

Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work: https://fvrr.co/32e7LvY

I hope you fix this in future.

Please let me know how to remove or hide HivePress default search boxes in all pages.
I’ve removed it from home page manually but still showing in other pages.

I’ve attached screenshot and hilighting the box i want to remove or hide.

Hi,

You can customize all pages in HivePress > Templates, please check this doc How to customize templates - HivePress Help Center

I’ve check this but it’s not clear enough.
Is there any tutorial or simple snippet for removing this search box from pages.

Hi,

Please use this CSS snippet:


.hp-form--listing-search {
		display: none;
	}

Please note that it can require further customization.

​I hope this is helpful to you.

This css code not working.

Hi,

Please make sure you add this CSS snippet using this doc: How to add custom code snippets - HivePress Help Center. Also, please disable third-party plugins and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.