Saltar navegación

[Resuelto] Fetching next, adjacent custom post in View

This support ticket is created 4 years, 8 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.

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

Zona horaria del colaborador: America/Jamaica (GMT-05:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Shane 4 years, 8 months ago.

Asistido por: Shane.

Autor
Mensajes
#2189051

I've created a custom post type, Project, for a client's site. They want to display "next" at the bottom of each post. If I sort by Date or ID, I will see the most recent post. enlace oculto

At the bottom of Post 1, I see a link to Post 2. This is correct.

If I click that link and load Post 2, then scroll to the bottom of the page, I am presented with Post 1. This is not correct. I want to see Post 3. But because I'm ordering by Date or ID, this loop will continue to happen. Instead, I would like to see the next, adjacent post based on Date.

Can I accomplish this with Toolset?

#2189191

Shane
Colaborador

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)