Trying to load category thumbnails on wordpress page August 25, 2022 by Tarik Billa The problem is your use of return is not appropriate here, it’s stopping execution of the template. You should echo your output.