<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>The Forums &#187; Tag: functions - Recent Posts</title>
		<link>http://www.cozmoslabs.com/forums/tags/functions</link>
		<description>Help In Rapid Theme Development</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Sep 2010 16:48:35 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cozmoslabs.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.cozmoslabs.com/forums/rss/tags/functions" rel="self" type="application/rss+xml" />

		<item>
			<title>jrobben on "Author Bio on Single Post - move to postfooter"</title>
			<link>http://www.cozmoslabs.com/forums/topic/author-bio-on-single-post-move-to-postfooter#post-127</link>
			<pubDate>Thu, 21 Jan 2010 16:45:46 +0000</pubDate>
			<dc:creator>jrobben</dc:creator>
			<guid isPermaLink="false">127@http://www.cozmoslabs.com/forums/</guid>
			<description>&#60;p&#62;By the way I figured this one out. &#60;/p&#62;
&#60;p&#62;see it in action &#60;a href=&#34;http://www.rradvice.com/plugins/photosmash-installing-design-testing&#34; rel=&#34;nofollow&#34;&#62;http://www.rradvice.com/plugins/photosmash-installing-design-testing&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/* add a Author Bio Box in a new div at bottom of single post*/
function add_author_bio() {   if (is_single () ) {
?&#38;gt;

&#38;lt;div ID=&#38;quot;author-single&#38;quot;&#38;gt;
&#38;lt;div ID=&#38;quot;author-info&#38;quot;&#38;gt;
&#38;lt;?php echo get_avatar( get_the_author_id() , 80 ); ?&#38;gt;

Author: &#38;lt;a href=&#38;quot;&#38;lt;?php the_author_url(); ?&#38;gt;&#38;quot;&#38;gt;
&#38;lt;?php the_author_nickname(); ?&#38;gt; &#38;lt;/a&#38;gt;
&#38;lt;br /&#38;gt;
&#38;lt;?php the_author_description(); ?&#38;gt;&#38;lt;br /&#38;gt;

&#38;lt;a href=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;); ?&#38;gt;/?author=&#38;lt;?php the_author_ID(); ?&#38;gt;&#38;quot;&#38;gt;
&#38;lt;?php the_author_nickname(); ?&#38;gt; has written
&#38;lt;?php the_author_posts(); ?&#38;gt; articles for us.&#38;lt;/a&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;?php
} }
add_action(&#38;#39;thematic_navigation_below&#38;#39;, &#38;#39;add_author_bio&#38;#39;,1);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jrobben on "Author Bio on Single Post - move to postfooter"</title>
			<link>http://www.cozmoslabs.com/forums/topic/author-bio-on-single-post-move-to-postfooter#post-50</link>
			<pubDate>Thu, 31 Dec 2009 00:11:27 +0000</pubDate>
			<dc:creator>jrobben</dc:creator>
			<guid isPermaLink="false">50@http://www.cozmoslabs.com/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I also have played around with the author bio code. I would like to have it located at the bottom of the post for 2 reasons. One is that if someone is reading several posts by the same author the bio info does not need to be sooo predominate, it is not the most important part of the post and it is not something we want at the top of the post as it will be on every page and would probably impact SEO results negatively.&#60;/p&#62;
&#60;p&#62;I  got close by changing postheader to postfooter&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_filter(&#38;#39;thematic_postfooter&#38;#39;, &#38;#39;postheader_and_author_info&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;caused a few issues - repeated the title at the bottom of the post. got rid of that by removing the title reference. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (is_single()){
		$postheader = $postauthor . $postmeta_issingle;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The only real problem is that on the main post page the entry-utility meta info at the bottom of each post is gone. (the posting category, the comment link etc.. )&#60;/p&#62;
&#60;p&#62;and the title and published by info replaces it. I can delete that information, but do not see how to get the original meta data back.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($post-&#38;gt;post_type == &#38;#39;page&#38;#39; &#124;&#124; is_404()) {
        $postheader = $posttitle;
    } else {
        $postheader =  $postmeta;&#60;/code&#62;&#60;/pre&#62;
 deletes title&#60;/p&#62;
&#60;p&#62;I have not figured that one out yet. Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
