-1

I am developing a WordPress plugin and I would like to show a custom logo/thumbnail on the "WordPress Updates" screen like other plugins do.

What do I need to do to get this to happen?

Right now it just shows the default "plug" icon:

Admin Panel Screenshot

  • 1
    What keeps you from looking into the other plugins yourself? – leymannx Jun 10 at 20:15
  • @leymannx I looked and there's nothing there. No image files, and no references to the images in the readme.txt. – Maximillian Laumeister Jun 10 at 20:28
0

Please read documentation.

https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/#plugin-icons

Filenames #Filenames Normal: icon-128x128.(png|jpg) High-DPI (Retina): icon-256x256.(png|jpg) SVG: icon.svg

  • Thank you for the answer. I already had the 256 icon in place. However, I added the 128 and the .svg to no effect. – Maximillian Laumeister Jun 10 at 21:09
  • where did you add them ? – Gregory Jun 10 at 21:10
  • Just so you know, if you are distributing your plugin, it must be open source. You don't have to host it on WordPress.org, but since themes and plugins are derivative of WordPress you still need to abide by the terms of the GPL. – Jacob Peattie Jun 11 at 3:15
0

I just figured it out - I am using the Freemius plugin framework, and they have a specific place to put a custom logo - the {/freemius/assets/img/{slug}.png path in the plugin folder. Presumably, this logo file is picked up by the framework's PHP code and put in the proper place so that it is shown on the update screen.

I don't know how one would go about doing this if they were developing from scratch and not on Freemius, but this is what worked for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.