Project

General

Profile

Actions

Feature #25173

open

Custom post sort

Added by Laurie Hurson 2 days ago. Updated 2 days ago.

Status:
New
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
-
Start date:
2026-06-25
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi All,

A faculty member I am supporting is working on a program site. She is building out a page that uses an Otter Block to pull categorized posts into a page to list faculty here: https://epibios.commons.gc.cuny.edu/full-time-faculty/

She is wondering if it's possible to sort by last name instead of firstname. I thought about using a custom post order plugin but I think it will be overridden by the otter block post settings. Do you all have any thoughts on if it might be possible to sort by last name on the page linked above?

Thanks!

Actions #1

Updated by Laurie Hurson 2 days ago

  • Description updated (diff)
Actions #2

Updated by Raymond Hoh 2 days ago

The Posts Otter Block would not work for this because the block only supports sorting by post title.

You would need to use a Posts block that supports custom post order. Fortunately, the Kadence Blocks plugin does have a Posts block that supports sorting by custom order. I've added the Posts Kadence Block to the page and have activated the Simple Custom Post Order plugin in order to easily arrange the "Full-time Faculty" category posts by last name. It doesn't look as nice as the Posts Otter Block, but let me know if the site requires any other adjustments here, Laurie.

Actions

Also available in: Atom PDF