Answer the question
In order to leave comments, you need to log in
How to set a new template for displaying image thumbnails in wordpress?
How to make sure that all thumbnails of images in blocks are shown on the site in a 16:9 ratio without cropping? Pennews theme. I can provide a piece of code if needed.
Answer the question
In order to leave comments, you need to log in
As an option - the block that contains the image, typeset for this format, and the image through the styles on the background.
In general, wp has a function for adding a new image size - add_image_size (), using it, set the resolutions suitable for your site in this proportion and use it to your health.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question