Skip Navigation

[Gelöst] How can I put a header every time I skip a page in a view loop?

This support ticket is created vor 5 Jahren. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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/Karachi (GMT+05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Francisco Ramón Molina Busquiel vor 5 Jahren.

Assistiert von: Waqar.

Author
Artikel
#1394091

Hi,

In the view loop can I put some shortcode to show a header on each page?
That is, I do not speak of the page header, I mean a header of the lines that the loop is showing every time the loop jumps to a new page of data.
For example, if I am displaying several columns of data, the "description header" of what each of the columns of the data is. As is usually done with any list sent by the printer.

Regards,

#1394123
#1394417

Hi Francisco,

From your messages, I understand that your requirement has two conditions, to show the static header content:

1. It should show at the top of every new page when the pagination is used
and
2. It should show at the top when a new group of listing from the child view start

To achieve this, you can insert the static header content at two places:

1. In your parent view ( Impresoras View 2 ), right after the "[wpv-items-found]" shortcode.
( for the condition 1 )
and
2. Again, in your child view ( Impresoras-Fabricante View ), right after the "[wpv-items-found]" shortcode.
( for the condition 2 )

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1394579

Thank you very much for your help Waqar.