Title: [Plugin: OptionTree] Request:  Add header icon
Last modified: August 19, 2016

---

# [Plugin: OptionTree] Request: Add header icon

 *  [unrelatedmedia](https://wordpress.org/support/users/unrelatedmedia/)
 * (@unrelatedmedia)
 * [15 years ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/)
 * Just a request to allow the option to add an icon to the left or right of the
   headers.
 * Creating a folder of default icons, or allowing the ability to add icon sets 
   would be a huge bonus.
 * Love the plugin. Had 3 classes already built for my own custom options but then
   found yours and dropped what I was building!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [15 years ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069724)
 * So you want a way to change the OptionTree icon in the header? Do it with CSS.
 * #framework_wrap #header h1
 *  Thread Starter [unrelatedmedia](https://wordpress.org/support/users/unrelatedmedia/)
 * (@unrelatedmedia)
 * [15 years ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069727)
 * I don’t think it is what I was referring.
 * So here;s where I think you missed what I was asking – the CSS class you refer
   to is for the logo and all that jazz. Not what I meant to change – I like the
   logo reference.
 * For better clarity lets assume you have created 3 sections, with a set of options
   for each section. The section names are as follows:
 * **General
    Header Footer
 * Each one can be clicked to show a set of options. What I am referring is to those
   section headers.
 * How would I add an icon for General, an icon for Header, and an icon for Footer
   and display the icon on the left (or right)?
 * Does that help add clarity?
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [15 years ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069728)
 * That does clarify lol. Sorry, must have read it wrong. Been up all night working
   on 1.1.7
 * I’ll look into it for the next version.
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [15 years ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069729)
 * We need to come up with a set of default icons.
 *  Thread Starter [unrelatedmedia](https://wordpress.org/support/users/unrelatedmedia/)
 * (@unrelatedmedia)
 * [15 years ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069731)
 * There are a lot of free icon sets under the GPL you could use. Considering the
   amount of work put into making life easy in the creation process it would be 
   good to have a dropdown list of images to assign the new Header (or some other
   easy to use feature).
 * For testing purposes you could simply add a dropdown with a generic directory“
   icons” and a made-up path to an image. Run a simple for(i=…) to populate it with
   a random number for the list and update the database with the selection.
 * Assuming the basic test is easily down and assured you can then create a base
   array of 15-20 icons to put in the folder and create a path to.
 * ie:
 *     ```
       //icons are the standard 20px*20px size
       $icon_arr = array("tools.png", "questionmark.png", ...)
       if(in_array($icon_arr,$needle)){...}
       $dir = ABSPATH . 'wp-content/plugins/plugin-folder/icons/img.gif'
       ```
   
 * To make life easy for others to change the items I would create a seperate php
   file and/or class so that anyone can add/change/remove the icons. Especially 
   if they have their own custom icons.
 * I hope that all made sense.
 * Also, you’ll likely want the xHTML hardcoded instead of relying on a stylesheet
   to limit issues when people change icons.
 * ie:
 * `<img src="" style="float:right;">`
 *  [Frankie Jarrett](https://wordpress.org/support/users/fjarrett/)
 * (@fjarrett)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069756)
 * WooThemes has released a lot of GPL icons that are pretty sweet looking. Here
   are 178, I think there are a couple more WooCon sets out there too.
 * [http://www.woothemes.com/2009/09/woofunction-178-amazing-web-design-icons/](http://www.woothemes.com/2009/09/woofunction-178-amazing-web-design-icons/)
 * //Frankie
 *  Plugin Author [Derek Herman](https://wordpress.org/support/users/valendesigns/)
 * (@valendesigns)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069757)
 * There isn’t enough 16px versions in that set. The 32px ones seem to big for the
   UI.
 *  [Syamil MJ](https://wordpress.org/support/users/sy4mil/)
 * (@sy4mil)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069772)
 * I love these [http://iconsweets2.com/](http://iconsweets2.com/)
 * Probably the best set of icons for interface-related styles.
 *  [befree22](https://wordpress.org/support/users/befree22/)
 * (@befree22)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069802)
 * DigitalRaindrops.net have options bar in wp admin. Check it out.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: OptionTree] Request: Add header icon’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/option-tree_363534.svg)
 * [OptionTree](https://wordpress.org/plugins/option-tree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/option-tree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/option-tree/)
 * [Active Topics](https://wordpress.org/support/plugin/option-tree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/option-tree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/option-tree/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [befree22](https://wordpress.org/support/users/befree22/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-optiontree-request-add-header-icon/#post-2069802)
 * Status: not a support question