1

In your code, you store the images in the wp_options table with the key category_images, but there is nothing that tells WordPress that it must fetch the image when loading the taxonomy term (your category). What you can do is either use get_option('category_images') whenever you need to fetch the image, or add a hook filter like that. add_filter( 'get_term',...


Only top voted, non community-wiki answers of a minimum length are eligible