<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nerdaphernalia &#187; credit</title>
	<atom:link href="http://striderweb.com/nerdaphernalia/tag/credit/feed/" rel="self" type="application/rss+xml" />
	<link>http://striderweb.com/nerdaphernalia</link>
	<description>"It's All Geek To Me"</description>
	<lastBuildDate>Wed, 21 Dec 2011 18:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>WordPress plugin attribution footer &#8212; update</title>
		<link>http://striderweb.com/nerdaphernalia/2008/07/wordpress-plugin-attribution-footer-update/</link>
		<comments>http://striderweb.com/nerdaphernalia/2008/07/wordpress-plugin-attribution-footer-update/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 03:49:07 +0000</pubDate>
		<dc:creator>Stephen R</dc:creator>
				<category><![CDATA[GUI Goodness]]></category>
		<category><![CDATA[Webcraft]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[credit]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://striderweb.com/nerdaphernalia/?p=77</guid>
		<description><![CDATA[In a recent post I showed how to put an attribution in the footer of your plugin&#8217;s admin screen. In the example I gave, I used a format of: MyWidget plugin &#124; Version 1.0 I have seen a few plugins already updated and using this methodology, but for the most part authors are adding a [...]]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://striderweb.com/nerdaphernalia/2008/06/give-your-wordpress-plugin-credit/">recent post</a> I showed how to put an attribution in the footer of your plugin&#8217;s admin screen.  In the example I gave, I used a format of:</p>
<p>MyWidget plugin | Version 1.0</p>
<p>I have seen a few plugins already updated and using this methodology, but for the most part authors are adding a third bit of information to that string, namely, themselves.</p>
<p>MyWidget plugin | Version 1.0 | by John Smith</p>
<p>Another thing that has happened since I posted that is that <a href="http://planetozh.com/">Ozh</a> came up with a better way to call the in_admin_footer hook.  Rather than calling it during init and then having to keep testing to see  what page is being displayed, he simply dropped the call into the function that creates the actual admin page.  That way, it&#8217;s only ever called in the first place when the admin page is created.  Nice improvement.</p>
<p>So in the continued interest of creating a relative standard, here&#8217;s an updated version of the footer plugin, including the author information:</p>
<pre>
<code >function myplugin_admin_footer() {
	$plugin_data = get_plugin_data( __FILE__ );
	printf('%1$s plugin | Version %2$s | by %3$s&lt;br /&gt;', $plugin_data['Title'], $plugin_data['Version'], $plugin_data['Author']);
}</code>
</pre>
<p>Remember to take the add_action and put it <em>inside</em> the function that echoes the admin page.  As a reminder, here&#8217;s the add_action that calls that footer:</p>
<pre>
<code >add_action( 'in_admin_footer', 'myplugin_admin_footer' );</code>
</pre>
<p>The original article is <a href="http://striderweb.com/nerdaphernalia/2008/06/give-your-wordpress-plugin-credit/">here</a>.</p>
<p>&#8230;and to all the people in the USA who are (not) reading this tonight, Happy 4th of July! <img src='http://striderweb.com/nerdaphernalia/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="update">[A further post on this topic is <a href="http://striderweb.com/nerdaphernalia/2008/07/on-attribution-and-plugin-priorities-in-wordpress/">here</a>.]</p>
<hr />
© <a href="http://striderweb.com/">Stephen Rider</a> 2008
<p>This article was originally published at <a href="http://striderweb.com/nerdaphernalia">Nerdaphernalia</a>.  <a href="http://planetwordpress.planetozh.com/" rel="nofollow">Planet WordPress</a> is authorized to reproduce WordPress-related entries.  <em>If you're reading this at any other web site, the site owner is stealing copyrighted work.  Please visit the original page:</em></p>

<small><a href="http://striderweb.com/nerdaphernalia/2008/07/wordpress-plugin-attribution-footer-update/">Permalink to WordPress plugin attribution footer &#8212; update</a></small>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://striderweb.com/nerdaphernalia/2008/07/wordpress-plugin-attribution-footer-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

