<?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>Juggling Eggs &#187; plugin</title>
	<atom:link href="http://sonnygill.net/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://sonnygill.net</link>
	<description>Priceless eggs, variable gravity</description>
	<lastBuildDate>Sun, 06 May 2012 19:47:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress Post-Notification &#8211; Show the author in email subject</title>
		<link>http://sonnygill.net/tech/wordpress-post-notification-author-subject/</link>
		<comments>http://sonnygill.net/tech/wordpress-post-notification-author-subject/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 05:30:57 +0000</pubDate>
		<dc:creator>sonnygill</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post notification]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sonnygill.net/?p=242</guid>
		<description><![CDATA[Show the post author in the email subject when sending email using the Post Notification plugin <a href="http://sonnygill.net/tech/wordpress-post-notification-author-subject/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was trying to fix a WordPress Post Notification plugin to include the post author in the emails subject. Instead of inserting the author name it was leaving the @@author in the subject.</p>
<p>A little digging around found me the solution -</p>
<p>In sendmail.php-&gt;post_notification_create_email(), find -</p>
<pre class="brush: plain; title: ; notranslate">
$subject = get_option('post_notification_subject');
</pre>
<p>and add a new line after that -</p>
<pre class="brush: plain; title: ; notranslate">
$subject = str_replace('@@author', $post_author, $subject);
</pre>
<p>Ref &#8211; <a href="http://pn.strübe.de/forum.php?req=thread&amp;id=384">Post Notification forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sonnygill.net/tech/wordpress-post-notification-author-subject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

