Skip Navigation

[Resolved] Initial sorting of CPT in search page

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by samuelH 4 years, 2 months ago.

Author
Posts
#1793243

Hi, on this page: hidden link I have set up a search and filter view. This seems to work just great, but I would like to not have the "Post Title" button underneath the sorting filter.

I did not find a way to set the initial sorting order, and therefor I testes with the sorting field. The sorting defaults to date as far as I am concerned. I would like the sorting to default to Title.

Either by just hiding the "Post Title" sort field. (Don´t know how), or changing the default sorting order for this page.

#1794099

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2020-09-29 at 11.41.42.png

You made this View with the block editor, yes?

You should be able to simply delete the block which adds the front-end sorting control (you don't need that on the front-end, I understand).

Then use the Block navigation from the toolbar at the top to make sure you have selected the View block (not one of its inner blocks), and then in the sidebar you can set the ordering options which should apply to this View. See the screenshot.

#1794333

My issue is resolved now. Thank you!