Skip Navigation

[Resolved] Cannot change the Post ID to custom name

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 1 year, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2557531
Screenshot 2023-02-20 at 1.31.35 AM.png

Dear Sir/Madam,

I have a View with custom sort order

[wpv-sort-orderby type="select" options="post_id, post_title, field-wpcf-uprise-first-bill-date, field-wpcf-uprise-next-bill-date" label_for_post_id="會員編號" label_for_post_title="會員姓名" label_for_field-wpcf-uprise-first-bill-date="入會日期" label_for_field-wpcf-uprise-next-bill-date="下次付款日期" orderby_as_numeric_for="field-wpcf-uprise-next-bill-date,field-wpcf-uprise-first-bill-date" orderby_ascending_for="post_title,field-wpcf-uprise-next-bill-date" orderby_descending_for=",field-wpcf-uprise-first-bill-date"][wpv-sort-order type="select" options="asc,desc" label_for_asc="順序排列" label_for_desc="倒序排列" label_asc_for_post_title="A to Z" label_desc_for_post_title="Z to A" label_asc_for_field-wpcf-uprise-next-bill-date="較久優先" label_desc_for_field-wpcf-uprise-next-bill-date="較新優先" label_asc_for_field-wpcf-uprise-first-bill-date="較久優先" label_desc_for_field-wpcf-uprise-first-bill-date="較新優先"]

The Post ID is '會員編號', how can I rename it?

#2557859
sorting-controls.jpg

Hello,

I suggest you use built-in UI to setup the shortcode, for example, edit the post view you mentioned above, in section "Search and Pagination", click button "Sorting controls", and setup the option labels, see my screenshot sorting-control.jpg