Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to add a preview picture to a child theme in Appearances -> Themes?

@emaralive

Moderator

Hi @stephunique,

Long story short, the “screenshot” file is added to the wp cache, e.g., $this->cache_add( 'screenshot', 'screenshot.' . $ext );.

Additionally, it appears that the extensions for the “screenshot” file can be any of the following 'png', 'gif', 'jpg', 'jpeg', 'webp', 'avif'.

Last but not least, in the future, it would, most likely, be best to ask WordPress related questions in one the WordPress related forums.

Skip to toolbar