Skip Navigation

[Resuelto] Searching by Post ID

This support ticket is created hace 5 años, 5 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Luo Yang hace 5 años, 5 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1276953

Tell us what you are trying to do?

I'm trying to create a view with a text box that searches by Post ID

Is there any documentation that you are following?

https://toolset.com/forums/topic/how-to-search-byfor-id/

I understand the the above documentation's principle and can set up a filter but I don't understand how a text search box is then created? Perhaps I'm being thick but any clarification would be great!

Cheers
Ed

#1276977

Dear Ed,

In the thread you mentioned above, it mentioned a text input search box using below HTML codes:

<input type="text" value="" name="author-filter" palceholder="Author ID">

You can put it into the search form of your post view, for example, in section "Search and Pagination", within shortcodes [wpv-filter-controls][/wpv-filter-controls]