Hi, I have some relationships set up, specifically I'm adding some people to a 'partner' page. Is there a way to specify or drag them into a specific order so I can show the directors first and then the rest in alpha order?
I've tried using a php shortcode to accomplish this, adding a sort order, but it doesn't show up on the front end. I've got a relationship called Partners People (slug: partner-person), and in the intermediary post type and custom fields section there's a post type of 'partner-person', with a custom field 'sort-order' added, but the php isn't working, and when I looked in the database, there was no sort order key that I could see in the wp_postmeta.
hidden link
I've added a post order of 1 to Yuri and 2 to Chiemi but they are just showing in alpha order.
Is there an easier way to do this? The reason I'm using php is because I'm bringing in some custom taxonomy (credentials) from the people posts as well which wasn't do-able in Elementor from what I could see.
Hello. Thank you for contacting the Toolset support.
Can you please share admin access details and let me check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] sorting related posts (added with a relationship)’ is closed to new replies.