Forums

Remove generic.png icon from theme options (2 posts)

  1. scdwb
    Member
    Posted 3 years ago #

    Hello,

    I've created a custom theme options. The name of the theme is quite long and with the icon (generic.png), which appears in the wordpress tab menu , it forces the theme name down to the next line.

    Is there an easy way to remove the automatic icon which appears?

    Thanks in advance for your help.

  2. Warmduscher1
    Member
    Posted 3 years ago #

    I had the same problem until I found this post:

    http://stackoverflow.com/questions/2471036/wordpress-custom-theme-favicon-in-dashboard-menu

    Check out the API for add_menu_page:

    add_menu_page(page_title, menu_title, capability, handle, [function], [icon_url]);

    I pointed the icon_url to nothing.

    I hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Topic