<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"	>
<channel>
	<title>Comments on: How to Add Custom Dashboard Widgets in WordPress</title>
	<atom:link href="http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/</link>
	<description>Beginner&#039;s Guide for WordPress</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: smayzes</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-124727</link>
		<dc:creator>smayzes</dc:creator>
		<pubDate>Sun, 18 Dec 2011 09:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-124727</guid>
		<description>Is it possible to do this using OOP?

 

e.g.:

 

inside a class:

 

wp_add_dashboard_widget(&#039;custom_help_widget&#039;, &#039;Help and Support&#039;, array($this, &#039;customDashboardHelp&#039;));

 

function customDashboardHelp() {

        echo &#039;&lt;p&gt;Welcome to your custom CMS!&#039;;    

}</description>
		<content:encoded><![CDATA[<p>Is it possible to do this using OOP?</p>
<p>e.g.:</p>
<p>inside a class:</p>
<p>wp_add_dashboard_widget(&#8216;custom_help_widget&#8217;, &#8216;Help and Support&#8217;, array($this, &#8216;customDashboardHelp&#8217;));</p>
<p>function customDashboardHelp() {</p>
<p>        echo &#8216;&lt;p&gt;Welcome to your custom CMS!&#8217;;    </p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luxsub</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-123271</link>
		<dc:creator>luxsub</dc:creator>
		<pubDate>Sat, 17 Sep 2011 04:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-123271</guid>
		<description>Is it possible to put a widget with adsense in your dashboard for a multi user site?</description>
		<content:encoded><![CDATA[<p>Is it possible to put a widget with adsense in your dashboard for a multi user site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-121991</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Thu, 07 Jul 2011 09:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-121991</guid>
		<description>You can do this by using the conditional statement if user_can or even user roles.</description>
		<content:encoded><![CDATA[<p>You can do this by using the conditional statement if user_can or even user roles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: y3kgeek</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-121985</link>
		<dc:creator>y3kgeek</dc:creator>
		<pubDate>Wed, 06 Jul 2011 23:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-121985</guid>
		<description>Great idea. What if I want to create a custom dashboard widget that only people with a certain user role, say Contributing Writer, can see?</description>
		<content:encoded><![CDATA[<p>Great idea. What if I want to create a custom dashboard widget that only people with a certain user role, say Contributing Writer, can see?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-92332</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Thu, 31 Mar 2011 12:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-92332</guid>
		<description>Yes you would have to add two separate functions and actions...</description>
		<content:encoded><![CDATA[<p>Yes you would have to add two separate functions and actions&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-92115</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 30 Mar 2011 17:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-92115</guid>
		<description>Thx for this! It works great.

Just a quick question:
If I want to add 2 or more custom widgets in the functions.php, do I have to change the &quot;action&quot; and &quot;function&quot; name?</description>
		<content:encoded><![CDATA[<p>Thx for this! It works great.</p>
<p>Just a quick question:<br />
If I want to add 2 or more custom widgets in the functions.php, do I have to change the &#8220;action&#8221; and &#8220;function&#8221; name?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-81269</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Tue, 22 Feb 2011 19:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-81269</guid>
		<description>Well you can, but in our case it contains support information that we want our clients to know. This is mostly for custom theme designs, so it is only good to have when our theme is activated.</description>
		<content:encoded><![CDATA[<p>Well you can, but in our case it contains support information that we want our clients to know. This is mostly for custom theme designs, so it is only good to have when our theme is activated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ACS04</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-79899</link>
		<dc:creator>ACS04</dc:creator>
		<pubDate>Sun, 20 Feb 2011 11:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-79899</guid>
		<description>Sounds good, but should be better to create a simple plugin to do so, in such a way, this widget will be independant from the themes... Don&#039;t you think ?</description>
		<content:encoded><![CDATA[<p>Sounds good, but should be better to create a simple plugin to do so, in such a way, this widget will be independant from the themes&#8230; Don&#8217;t you think ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frankie Jarrett</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-59835</link>
		<dc:creator>Frankie Jarrett</dc:creator>
		<pubDate>Tue, 21 Dec 2010 17:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-59835</guid>
		<description>Thanks a lot for the easy example. I was able to get something up and running in just a few seconds :)</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the easy example. I was able to get something up and running in just a few seconds <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stéphane</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-custom-dashboard-widgets-in-wordpress/comment-page-1/#comment-27164</link>
		<dc:creator>Stéphane</dc:creator>
		<pubDate>Tue, 27 Jul 2010 00:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1246#comment-27164</guid>
		<description>Wow! Never heard about that trick before... Very nice, thanks!</description>
		<content:encoded><![CDATA[<p>Wow! Never heard about that trick before&#8230; Very nice, thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Content Delivery Network via cdn.wpbeginner.com

Served from: www.wpbeginner.com @ 2012-02-09 23:31:52 -->
