Notifications
Clear all

[Solved] Custom fields ordering in the Search/Filter form

3 Posts
2 Users
0 Likes
160 Views
Posts: 2
Customer
Topic starter
(@and-kit)
Member
Joined: 4 months ago

With the Topic Custom Fields addon, the topic custom fields are displayed under the 'Filter by custom fields' in the Search/Filter form. I'm wondering how to configure the ordering that the fields appear? I tried changing the ordering in the Fields tab in the Topic Fields page in wp-admin, however when it is saved, the ordering reverts back to the order in which the fields were created.

I also tried using the filter hook, wpforo_custom_fields_filter, but can't get it to work yet. How to best resolve this?

Thanks!

2 Replies
Razmik
Posts: 76
Admin
(@blackraz)
Famed Member
Joined: 9 years ago

Hi  @and-kit 

I apologize, but currently, there is no setting to achieve this. However, I've added your suggestion to our consideration list for future updates.

Reply
Posts: 2
Customer
Topic starter
(@and-kit)
Member
Joined: 4 months ago

Hi  @blackraz,

I see. Ok thank you. It would be great if the custom field blocks ordering in wp-admin > Forum > Topic Fields > Edit > Fields tab, can be drag-and-dropped and be used to define the ordering the custom fields appear in the Search/Filter form, thought that would be the natural behavior, but unfortunately right now if you drag-and-drop and order the blocks, it will reset itself after saving it, and it doesn't affect the Search/Filter form.

Thank you

Reply
Share:
Scroll to top