<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: New Plugin Icon in WordPress 2.7</title>
	<atom:link href="http://benjaminsterling.com/new-plugin-icon-in-wordpress-27/feed/" rel="self" type="application/rss+xml" />
	<link>http://benjaminsterling.com/new-plugin-icon-in-wordpress-27/</link>
	<description>Ok, you did not judge the book by it&#039;s cover, great.  Now, read the whole thing before passing judgment.</description>
	<lastBuildDate>Sat, 03 Jan 2009 04:54:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: antiquarian books</title>
		<link>http://benjaminsterling.com/new-plugin-icon-in-wordpress-27/comment-page-1/#comment-5532</link>
		<dc:creator>antiquarian books</dc:creator>
		<pubDate>Thu, 11 Dec 2008 13:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://benjaminsterling.com/?p=110#comment-5532</guid>
		<description>Thank you for this information. :)</description>
		<content:encoded><![CDATA[<p>Thank you for this information. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Sterling</title>
		<link>http://benjaminsterling.com/new-plugin-icon-in-wordpress-27/comment-page-1/#comment-5450</link>
		<dc:creator>Benjamin Sterling</dc:creator>
		<pubDate>Wed, 03 Dec 2008 04:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://benjaminsterling.com/?p=110#comment-5450</guid>
		<description>Stephen, sure:

[php]add_menu_page(&#039;Page Title&#039;, &#039;Menu Title&#039;, Access Level, File , function, &#039;full/path/to/icon&#039;);[/php]

Take a look at the following like for decent explaination of what the first five variables are about: http://codex.wordpress.org/Adding_Administration_Menus#Top-Level_menu

For the last one, &#039;full/path/to/icon&#039;, that is simply the full path to where your icon will reside.  In my example the $this-&gt;imgBaseUrl.&#039;lphoto.png&#039; echos out to something like: http://website.com/wp-content/plugins/photoxhibit/common/img/lphoto.png.

To answer your second question, no, icons are only top level and only in WordPress 2.7 which will be release this Thursday.</description>
		<content:encoded><![CDATA[<p>Stephen, sure:</p>
<div class="igBar"><span id="lphp-1"><a href="#" onclick="javascript:showPlainTxt('php-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-1">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">add_menu_page<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'Page Title'</span>, <span style="color:#FF0000;">'Menu Title'</span>, Access Level, <a href="http://www.php.net/file"><span style="color:#000066;">File</span></a> , <span style="color:#000000; font-weight:bold;">function</span>, <span style="color:#FF0000;">'full/path/to/icon'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Take a look at the following like for decent explaination of what the first five variables are about: <a href="http://codex.wordpress.org/Adding_Administration_Menus#Top-Level_menu" rel="nofollow">http://codex.wordpress.org/Add.....Level_menu</a></p>
<p>For the last one, 'full/path/to/icon', that is simply the full path to where your icon will reside.  In my example the $this->imgBaseUrl.'lphoto.png' echos out to something like: <a href="http://website.com/wp-content/plugins/photoxhibit/common/img/lphoto.png" rel="nofollow">http://website.com/wp-content/.....lphoto.png</a>.</p>
<p>To answer your second question, no, icons are only top level and only in WordPress 2.7 which will be release this Thursday.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Robert Rider</title>
		<link>http://benjaminsterling.com/new-plugin-icon-in-wordpress-27/comment-page-1/#comment-5449</link>
		<dc:creator>Stephen Robert Rider</dc:creator>
		<pubDate>Wed, 03 Dec 2008 04:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://benjaminsterling.com/?p=110#comment-5449</guid>
		<description>Could you give a plainer example please?  I don&#039;t know what is returned by &quot;$this-&gt;imgBaseUrl.&#039;lphoto.png&#039;&quot;  Are we supposed to put the full URL there?

Also, does this just work for top-level menu items or for submenus too?</description>
		<content:encoded><![CDATA[<p>Could you give a plainer example please?  I don't know what is returned by "$this-&gt;imgBaseUrl.'lphoto.png'"  Are we supposed to put the full URL there?</p>
<p>Also, does this just work for top-level menu items or for submenus too?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
