K
K
Konstantin2020-07-18 11:43:43
WordPress
Konstantin, 2020-07-18 11:43:43

How to make the last entry with your own style?

Hello.
How can I make the output of records so that the last record has a different style?
as in the photo
5f12b5b88e1ec699558029.png

Maybe there is documentation or examples somewhere?
I'm new to wp...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lord_Dantes, 2020-07-18
@Lord_Dantes

To do this, you need to create a cycle in which (based on the screenshot), you need to publish 2 posts - 1 template, and 1 post - the 2nd template.
And actually create 2 templates. First of all, this needs to be implemented in the layout, then in the vp.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question