D
D
DarkCoreMfckr2018-06-26 08:19:41
WordPress
DarkCoreMfckr, 2018-06-26 08:19:41

How to set post announcement sizes in WordPress?

Hello community! I'm scratching my head over how to implement a manual announcement size designation in the WP feed. All this disgrace will look like this: It is
5b31ccc6894f1802199321.png
necessary that when adding a new post, you can choose what width its announcement will be: full, half, or a third of the full.
I would be glad to receive some advice or a direction vector in the direction of which I need to dig :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mr Crabbz, 2018-06-26
@DarkCoreMfckr

Create a meta field for the post editor (via https://codex.wordpress.org/Custom_Fields or https://www.advancedcustomfields.com/ ), specify the number of columns you need in it. Well, then you check this field in the frontend and ... that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question