<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Thematic Author Box</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Fri, 24 May 2013 22:59:23 +0000</pubDate>

<item>
<title>bogh on "Thematic Author Box"</title>
<link>http://themeshaper.com/forums/topic/thematic-author-box#post-26817</link>
<pubDate>Fri, 04 May 2012 19:45:35 +0000</pubDate>
<dc:creator>bogh</dc:creator>
<guid isPermaLink="false">26817@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Good idea on adding/ removing some contactmethods, I'll use that.&#60;/p&#62;
&#60;p&#62;I am 25 and I barely know what AIM is/was :)) , but looking at it's name problably was an instant messenger like yahoo messenger/ skype. But I have to say that I like their website a lot, that is a nice presentation :D&#60;/p&#62;
&#60;p&#62;Thanks for your tips.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Thematic Author Box"</title>
<link>http://themeshaper.com/forums/topic/thematic-author-box#post-26816</link>
<pubDate>Fri, 04 May 2012 18:35:04 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26816@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i remember when everybody was on AIM.  :)
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "Thematic Author Box"</title>
<link>http://themeshaper.com/forums/topic/thematic-author-box#post-26815</link>
<pubDate>Fri, 04 May 2012 17:46:53 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">26815@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Just a different version of your Author Box (although no CSS styles). I tinkered around with the structure (going for less divs). Also removed aim, jabber/google talk and yim since I don't know anyone who uses them, replaced them with twitter and facebook. Figured this also might help others and it was something I have been meaning to do and you inspired me.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// modify user profile contact info in wordpress admin
// &#60;a href=&#34;http://wp-snippets.com/addremove-contact-info-fields/&#34; rel=&#34;nofollow&#34;&#62;http://wp-snippets.com/addremove-contact-info-fields/&#60;/a&#62;
function childtheme_contactmethods( $contactmethods ) {
    $contactmethods[&#38;#39;twitter&#38;#39;] = &#38;#39;Twitter Username&#38;#39;; // add twitter
    $contactmethods[&#38;#39;facebook&#38;#39;] = &#38;#39;Facebook Link &#38;lt;span class=&#38;quot;description&#38;quot;&#38;gt;(http:// required)&#38;lt;/span&#38;gt;&#38;#39;; // add facebook

    unset($contactmethods[&#38;#39;yim&#38;#39;]); // remove yahoo instant messenger
    unset($contactmethods[&#38;#39;aim&#38;#39;]); // remove aol instant messenger
    unset($contactmethods[&#38;#39;jabber&#38;#39;]); // remove google talk / jabber services

    return $contactmethods;
}
add_filter(&#38;#39;user_contactmethods&#38;#39;,&#38;#39;childtheme_contactmethods&#38;#39;,10,1);

// add a author box for thematic above the comment section
// &#60;a href=&#34;http://themeshaper.com/forums/topic/thematic-author-box&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/thematic-author-box&#60;/a&#62;
function childtheme_authorbox() { ?&#38;gt;
&#38;lt;div class=&#38;quot;authorbox&#38;quot;&#38;gt;
    &#38;lt;div class=&#38;quot;authorbox-image&#38;quot;&#38;gt;&#38;lt;?php echo get_avatar( get_the_author_meta(&#38;#39;email&#38;#39;), &#38;#39;80&#38;#39; ); ?&#38;gt;&#38;lt;/div&#38;gt;
    &#38;lt;div class=&#38;quot;authorbox-info&#38;quot;&#38;gt;
        &#38;lt;h4&#38;gt;&#38;lt;span&#38;gt;About&#38;lt;/span&#38;gt; &#38;lt;?php the_author_meta(&#38;#39;nickname&#38;#39;); ?&#38;gt;&#38;lt;/h4&#38;gt;
        &#38;lt;?php if ( get_the_author_meta(&#38;#39;description&#38;#39;)) { ?&#38;gt;
        &#38;lt;p&#38;gt;&#38;lt;?php the_author_meta(&#38;#39;description&#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;
        &#38;lt;?php } ?&#38;gt;
        &#38;lt;ul&#38;gt;
            &#38;lt;?php if ( get_the_author_meta(&#38;#39;twitter&#38;#39;)) { ?&#38;gt;
            &#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;http://twitter.com/&#38;lt;?php the_author_meta(&#38;#39;twitter&#38;#39;); ?&#38;gt;&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;@&#38;lt;?php the_author_meta(&#38;#39;twitter&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
            &#38;lt;?php }
            if ( get_the_author_meta(&#38;#39;facebook&#38;#39;)) { ?&#38;gt;
            &#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_author_meta(&#38;#39;facebook&#38;#39;); ?&#38;gt;&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;Facebook&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
            &#38;lt;?php }
            if ( get_the_author_meta(&#38;#39;url&#38;#39;)) { ?&#38;gt;
            &#38;lt;li&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_author_meta(&#38;#39;url&#38;#39;); ?&#38;gt;&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;lt;?php the_author_meta(&#38;#39;url&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
            &#38;lt;?php } ?&#38;gt;
        &#38;lt;/ul&#38;gt;
    &#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;?php }
add_action(&#38;#39;thematic_abovecomments&#38;#39;,&#38;#39;childtheme_authorbox&#38;#39;,0);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Technically I could get rid of 2 more divs, but might as well leave those for style if someone decides to go all out that should be enough hooks still. :)
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Thematic Author Box"</title>
<link>http://themeshaper.com/forums/topic/thematic-author-box#post-26813</link>
<pubDate>Fri, 04 May 2012 13:07:43 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26813@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;nice.  i think i will snag that at some point.
&#60;/p&#62;</description>
</item>
<item>
<title>bogh on "Thematic Author Box"</title>
<link>http://themeshaper.com/forums/topic/thematic-author-box#post-26811</link>
<pubDate>Fri, 04 May 2012 08:29:15 +0000</pubDate>
<dc:creator>bogh</dc:creator>
<guid isPermaLink="false">26811@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;For those who need and Author box for their Thematic Child Theme, here is the code:&#60;/p&#62;
&#60;p&#62;Add this to functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//Thematic Author Box
function authorBox_above_comments() {
?&#38;gt;
&#38;lt;div class=&#38;quot;authorbox&#38;quot;&#38;gt;
  &#38;lt;div class=&#38;quot;left&#38;quot;&#38;gt;
      &#38;lt;?php echo  get_avatar( get_the_author_meta(&#38;#39;email&#38;#39;), &#38;#39;80&#38;#39; ); ?&#38;gt;
  &#38;lt;/div&#38;gt;

  &#38;lt;div  class=&#38;quot;right&#38;quot;&#38;gt;
      &#38;lt;div class=&#38;quot;author_box_author&#38;quot;&#38;gt;&#38;lt;?php _e(&#38;#39;by&#38;#39;, &#38;#39;thematic&#38;#39;) ?&#38;gt; &#38;lt;?php  the_author_posts_link(); ?&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;?php if ( get_the_author_meta(&#38;#39;description&#38;#39;) !=&#38;#39;&#38;#39;) { ?&#38;gt;
        &#38;lt;div class=&#38;quot;author_box_description&#38;quot;&#38;gt;&#38;lt;?php the_author_meta(&#38;#39;description&#38;#39;); ?&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;?php } ?&#38;gt;
      &#38;lt;div class=&#38;quot;author_box_meta&#38;quot;&#38;gt;
      &#38;lt;?php if ( get_the_author_meta(&#38;#39;aim&#38;#39;) !=&#38;#39;&#38;#39;) { ?&#38;gt;
        &#38;lt;div&#38;gt;&#38;lt;a href=&#38;quot;https://twitter.com/&#38;lt;?php the_author_meta(&#38;#39;aim&#38;#39;); ?&#38;gt;&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;@&#38;lt;?php the_author_meta(&#38;#39;aim&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;?php } ?&#38;gt;
      &#38;lt;?php if ( get_the_author_meta(&#38;#39;yim&#38;#39;) !=&#38;#39;&#38;#39;) { ?&#38;gt;
        &#38;lt;div&#38;gt;&#38;lt;span&#38;gt;Y!M: &#38;lt;?php the_author_meta(&#38;#39;yim&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;?php } ?&#38;gt;
      &#38;lt;?php if ( get_the_author_meta(&#38;#39;url&#38;#39;) !=&#38;#39;http://&#38;#39;) { ?&#38;gt;
        &#38;lt;div&#38;gt;&#38;lt;?php _e(&#38;#39;Website&#38;#39;, &#38;#39;thematic&#38;#39;) ?&#38;gt;: &#38;lt;a href=&#38;quot;&#38;lt;?php the_author_meta(&#38;#39;url&#38;#39;); ?&#38;gt;&#38;quot; target=&#38;quot;_blank&#38;quot;&#38;gt;&#38;lt;?php the_author_meta(&#38;#39;url&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;?php } ?&#38;gt;
      &#38;lt;/div&#38;gt;
  &#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;?php }
add_action(&#38;#39;thematic_abovecomments&#38;#39;,&#38;#39;authorBox_above_comments&#38;#39;,0);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Add this to style.css:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;/* Author Informations Box */
.authorbox {
	overflow: hidden;
	font-size: 13px;
	background: #F5F5F5;
	border: 1px solid #CCC;
	color: #777;
	text-shadow: 1px 1px 0px #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.authorbox a {
	color: #777;
	text-decoration: none;
}
.authorbox .left {
	float: left;
	width: 90px;
	height: 90px;
	margin: 25px;
}
.authorbox .left img {
	padding: 3px;
	background: #FFF;
	border: 1px solid #CCC;
	border-bottom: 2px solid #BBB;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.authorbox .right {
	float: left;
	margin-top: 25px;
	width: 425px;
}
.authorbox .author_box_author {
	font-weight: bold;
	font-size: 16px;
	color: #AAA;
}
.authorbox .author_box_author a {
	color: #777;
	text-decoration: none;
}
.authorbox .author_box_meta &#38;gt; div {
	float: left;
	margin: 0px 10px 10px 0px;
	color: #555;
}
.authorbox .author_box_meta &#38;gt; div a {
	color: #555;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Enjoy :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
