Does anyone know of a way to change the width of the featured image on the edit post/add post page? I want to make it 50px wide. I’m not talking about the front page of the website, but the back end where you’ve selected the feature image and it sits next to your post as you’re typing. Thank you! 🙂
1 comment
Comments are closed.
Okey i think i understand what you want to do.
Here is a function that changes the html-output of the feature image in admin. It will look for the attached feature image ID and output it by using wp_get_attachemt_link() so you can change the size by the parameter $size. Here is a function that should work:
I found the original code in
wp-adminincludespost.php
that WordPress uses to output the feature image.