<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>zeo.my</title>
	
	<link>http://zeo.my</link>
	<description>O Hai! I’m Safirul Alredha.</description>
	<lastBuildDate>Tue, 06 Dec 2011 05:30:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19672</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/zeo" /><feedburner:info uri="zeo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WordPress: Remove Default Contact Methods</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/VjM9_skWK8A/</link>
		<comments>http://zeo.my/wordpress-remove-default-contact-methods/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 08:04:39 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=196</guid>
		<description><![CDATA[You can remove the default contact methods (AIM, Yahoo IM, Jabber / Google Talk) in Personal Options. Add the following lines to your Theme&#8217;s template functions.php file or create it as a Plugin by filling the additional Standard Plugin Information: add_filter( 'user_contactmethods', 'custom_user_contactmethods' ); function custom_user_contactmethods( $user ) { $user_contactmethods = array( 'aim', 'yim', 'jabber' [...]]]></description>
			<content:encoded><![CDATA[<p>You can remove the default contact methods (AIM, Yahoo IM, Jabber / Google Talk) in Personal Options. Add the following lines to your Theme&#8217;s template <tt>functions.php</tt> file or create it as a Plugin by filling the additional <a href="http://codex.wordpress.org/Writing_a_Plugin#Standard_Plugin_Information">Standard Plugin Information</a>:</p>
<pre>
add_filter( 'user_contactmethods', 'custom_user_contactmethods' );
function custom_user_contactmethods( $user ) {
        $user_contactmethods = array(
                'aim',
                'yim',
                'jabber'
        );

        foreach ( $user_contactmethods as $user_contactmethod ) {
                unset( $user[$user_contactmethod] );
        }

        return $user;
}
</pre>
<img src="http://feeds.feedburner.com/~r/zeo/~4/VjM9_skWK8A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wordpress-remove-default-contact-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wordpress-remove-default-contact-methods/</feedburner:origLink></item>
		<item>
		<title>WordPress: Better previous and next post links</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/Vicyg86mmMk/</link>
		<comments>http://zeo.my/wordpress-better-previous-next-post-links/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 04:20:24 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=181</guid>
		<description><![CDATA[To be used on single post, the snippet below will not output unnecessary markup if there&#8217;s: only 1 published post. no post that is adjacent (previous or next) to current post. &#60;?php php if ( get_adjacent_post( false, '', false ) &#124;&#124; get_adjacent_post( false, '', true ) ) : ?&#62; &#60;div class="navigation"&#62; &#60;?php previous_post_link( '&#60;div class="nav-previous"&#62;%link&#60;/div&#62;', [...]]]></description>
			<content:encoded><![CDATA[<p>To be used on single post, the snippet below will <strong>not</strong> output unnecessary markup if there&#8217;s:</p>
<ol>
<li>only 1 published post.</li>
<li>no post that is adjacent (previous or next) to current post.</li>
</ol>
<pre>
&lt;?php php if ( get_adjacent_post( false, '', false ) ||  get_adjacent_post( false, '', true ) ) : ?&gt;
  &lt;div class="navigation"&gt;
    &lt;?php previous_post_link( '&lt;div class="nav-previous"&gt;%link&lt;/div&gt;', '&lt;span class="meta-nav"&gt;&amp;larr;&lt;/span&gt; %title' ); ?&gt;
    &lt;?php next_post_link( '&lt;div class="nav-next"&gt;%link&lt;/div&gt;', '%title &lt;span class="meta-nav"&gt;&amp;rarr;&lt;/span&gt;' ); ?&gt;
  &lt;/div&gt;
&lt;?php endif; ?&gt;
</pre>
<img src="http://feeds.feedburner.com/~r/zeo/~4/Vicyg86mmMk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wordpress-better-previous-next-post-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wordpress-better-previous-next-post-links/</feedburner:origLink></item>
		<item>
		<title>Force WordPress network to use sub-directories</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/p3AudHx58S0/</link>
		<comments>http://zeo.my/force-wordpress-network-to-use-sub-directories/#comments</comments>
		<pubDate>Tue, 11 May 2010 06:08:05 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=160</guid>
		<description><![CDATA[In WordPress 3.0, we have the ability to create a network of sites. But if your install is over 1 month old, the sites in your WordPress network must use sub-domains because of permalink problems with &#8220;/blog/&#8221; from the main site. This is how you can force the sites in your WordPress network to use [...]]]></description>
			<content:encoded><![CDATA[<p>In WordPress 3.0, we have the ability to create a network of sites. But if your install is over 1 month old, the sites in your WordPress network must use sub-domains because of permalink problems with &#8220;/blog/&#8221; from the main site. This is how you can force the sites in your WordPress network to use sub-directories during the Network installation process. </p>
<p>Add the following lines to your current activated WordPress Theme&#8217;s template file, preferably your Theme&#8217;s template <tt><a href="http://codex.wordpress.org/Theme_Development#Theme_Functions_File">functions.php</a></tt> file: </p>
<pre>
add_filter( 'allow_subdirectory_install',
	create_function( '', 'return true;' )
	);
</pre>
<p>You can remove the lines above once you done enabling the Network feature.</p>
<p>Creating this into a plugin is not an option, since all plugins are required to be deactivated before enabling the Network feature. Please read on how to <a href="http://codex.wordpress.org/Create_A_Network">Create A Network</a> in the WordPress Codex and ticket <a href="http://core.trac.wordpress.org/ticket/12931">#12931</a> for more information on why it is block by default.</p>
<img src="http://feeds.feedburner.com/~r/zeo/~4/p3AudHx58S0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/force-wordpress-network-to-use-sub-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/force-wordpress-network-to-use-sub-directories/</feedburner:origLink></item>
		<item>
		<title>WordPress: Conditional Tags Test</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/ZHYmUWdFwaU/</link>
		<comments>http://zeo.my/wordpress-conditional-tags-test/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 15:52:14 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=151</guid>
		<description><![CDATA[Having trouble identify or determine what conditions that a page matches? Add the following Conditional Tags test snippet to your WordPress Theme&#8217;s template file, preferably your Theme&#8217;s template sidebar.php file: &#60;?php $conditions = array( 'is_home()', 'is_front_page()', '$wp_query->is_posts_page', 'is_page()', 'is_single()', 'is_singular()', 'is_attachment()', 'is_search()', 'is_archive()', 'is_category()', 'is_tag()', 'is_tax()', 'is_author()', 'is_day()', 'is_month()', 'is_year()', 'is_time()', 'is_date()', 'is_paged()', 'is_comments_popup()', 'is_preview()', [...]]]></description>
			<content:encoded><![CDATA[<p>Having trouble identify or determine what <em>conditions</em> that a page matches?</p>
<p>Add the following <a href="http://codex.wordpress.org/Conditional_Tags">Conditional Tags</a> test snippet to your WordPress Theme&#8217;s template file, preferably your Theme&#8217;s template <tt><a href="http://codex.wordpress.org/Theme_Development#Basic_Templates">sidebar.php</a></tt> file:</p>
<pre>
&lt;?php
$conditions = array(
  'is_home()',
  'is_front_page()',
  '$wp_query->is_posts_page',
  'is_page()',
  'is_single()',
  'is_singular()',
  'is_attachment()',
  'is_search()',
  'is_archive()',
  'is_category()',
  'is_tag()',
  'is_tax()',
  'is_author()',
  'is_day()',
  'is_month()',
  'is_year()',
  'is_time()',
  'is_date()',
  'is_paged()',
  'is_comments_popup()',
  'is_preview()',
  'is_404()',
);

echo '&lt;h2&gt;Conditional Tag&lt;/h2&gt;&lt;ul&gt;';
  $i = 0;
  foreach ( $conditions as $condition ) :
    $condition = str_replace('()', '', $conditions[$i]);

    switch ( $condition ) :
      case 'is_front_page' :
        $query = is_front_page();
        break;
      case '$wp_query->is_posts_page' :
        $query = $wp_query->is_posts_page;
        break;
      default :
        $query = $wp_query-&gt;$condition;
        break;
    endswitch;

    echo '&lt;li&gt;&lt;code&gt;' . $conditions[$i] . '&lt;/code&gt;';
    echo $query ? ': &lt;span style="color:green"&gt;true&lt;/span&gt;' : ': &lt;span style="color:red"&gt;false&lt;/span&gt;';
    echo '&lt;/li&gt;';

    $i++;
   endforeach;
echo '&lt;/ul&gt;';
?&gt;
</pre>
<p>Note: Currently, there&#8217;s no <code>is_posts_page()</code> conditional tag <em>yet</em>.</p>
<img src="http://feeds.feedburner.com/~r/zeo/~4/ZHYmUWdFwaU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wordpress-conditional-tags-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wordpress-conditional-tags-test/</feedburner:origLink></item>
		<item>
		<title>WordPress: Display the contents of static page Posts page</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/xSGgykl6Lts/</link>
		<comments>http://zeo.my/wordpress-display-the-contents-of-static-page-posts-page/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 03:43:34 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=148</guid>
		<description><![CDATA[By default, if you choose a static Page for Posts page to show your latest Posts, the original content of that Page will not be displayed. This is how you can display the content of the Page along with the latest Posts. Add the following lines to your WordPress Theme&#8217;s template index.php file, preferably before [...]]]></description>
			<content:encoded><![CDATA[<p>By default, if you choose a static Page for <a href="http://codex.wordpress.org/Settings_Reading_SubPanel#Reading_Settings">Posts page</a> to show your latest Posts, the original content of that Page will not be displayed.</p>
<p>This is how you can display the content of the Page along with the latest Posts. </p>
<p>Add the following lines to your WordPress Theme&#8217;s template <a href="http://codex.wordpress.org/Theme_Development#Basic_Templates"><tt>index.php</tt></a> file, preferably before <a href="http://codex.wordpress.org/The_Loop_in_Action#Begin_The_Loop">the loop</a>:</p>
<pre>
&lt;?php
if ( 'page' == get_option('show_on_front') &#038;&#038; get_option('page_for_posts') &#038;&#038; is_home() ) : the_post();
	$page_for_posts_id = get_option('page_for_posts');
	setup_postdata(get_page($page_for_posts_id));
?&gt;
	&lt;div id="post-&lt;?php the_ID(); ?&gt;" class="page"&gt;
		&lt;div class="entry-content">
			&lt;?php the_content(); ?&gt;
			&lt;?php edit_post_link('Edit', '', '', $page_for_posts_id); ?&gt;
		&lt;/div>
	&lt;/div>
&lt;?php
	rewind_posts();
endif;
?&gt;
</pre>
<img src="http://feeds.feedburner.com/~r/zeo/~4/xSGgykl6Lts" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wordpress-display-the-contents-of-static-page-posts-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wordpress-display-the-contents-of-static-page-posts-page/</feedburner:origLink></item>
		<item>
		<title>WordPress: Limit posts per page</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/NrOxpwdQHo8/</link>
		<comments>http://zeo.my/wordpress-limit-posts-per-page/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 00:45:38 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=146</guid>
		<description><![CDATA[Choose and add the following lines to your WordPress Theme&#8217;s template functions.php file (For example, functions.php file for a Theme named &#8220;default&#8221; would probably reside in the directory wp-content/themes/default/functions.php): function limit_posts_per_page() { if ( is_category() ) return 2; else return 5; // default: 5 posts per page } add_filter('pre_option_posts_per_page', 'limit_posts_per_page'); function limit_posts_per_archive_page() { if ( [...]]]></description>
			<content:encoded><![CDATA[<p>Choose and add the following lines to your WordPress Theme&#8217;s template <a href="http://codex.wordpress.org/Theme_Development#Theme_Functions_File"><tt>functions.php</tt></a> file (For example, <tt>functions.php</tt> file for a Theme named &#8220;default&#8221; would probably reside in the directory <tt>wp-content/themes/default/functions.php</tt>):</p>
<ul>
<li>
<pre>
function limit_posts_per_page() {
	if ( is_category() )
		return 2;
	else
		return 5; // default: 5 posts per page
}

add_filter('pre_option_posts_per_page', 'limit_posts_per_page');
</pre>
</li>
<li>
<pre>
function limit_posts_per_archive_page() {
	if ( is_category() )
		set_query_var('posts_per_archive_page', 2); // or use variable key: posts_per_page
}

add_filter('pre_get_posts', 'limit_posts_per_archive_page');
</pre>
</li>
</ul>
<p>The code example above is for showing 2 posts per page when any Category archive page is being displayed. Same results in two different way. </p>
<p>For more possible page conditions, please refer to the <a href="http://codex.wordpress.org/Conditional_Tags">Conditional Tags</a> page in the WordPress Codex.</p>
<img src="http://feeds.feedburner.com/~r/zeo/~4/NrOxpwdQHo8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wordpress-limit-posts-per-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wordpress-limit-posts-per-page/</feedburner:origLink></item>
		<item>
		<title>WordPress [gallery]: Force n Number of Columns</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/kZEE6-0o4EM/</link>
		<comments>http://zeo.my/wordpress-gallery-force-n-number-of-columns/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 13:23:54 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=129</guid>
		<description><![CDATA[If you use &#91;gallery&#93; shortcode without setting the columns value, the default is set to 3. Some WordPress theme can either fit 3 or more column per row or less. Below is an example to force WordPress &#91;gallery&#93; columns to 2 to any post or page that uses &#91;gallery&#93; shortcode: function gallery_columns($content){ $columns = 2; [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <code>&#91;gallery&#93;</code> shortcode without setting the columns value, the default is set to 3. Some WordPress theme can either fit 3 or more column per row or less. Below is an example to force <a href="http://codex.wordpress.org/Gallery_Shortcode">WordPress <code>&#91;gallery&#93;</code></a> columns to 2 to any post or page that uses <code>&#91;gallery&#93;</code> shortcode:</p>
<pre>
function gallery_columns($content){
	$columns = 2;
	$pattern = array(
		'#(\&#91;gallery(.*?)columns="(&#91;0-9&#93;)"(.*?)\&#93;)#ie',
		'#(\&#91;gallery\&#93;)#ie',
		'#(\&#91;gallery(.*?)\&#93;)#ie'
	);
	$replace = 'stripslashes(strstr("\1", "columns=\"$columns\"") ? "\1" : "&#91;gallery \2 \4 columns=\"$columns\"&#93;")';

	return preg_replace($pattern, $replace, $content);
}

add_filter('the_content', 'gallery_columns');
</pre>
<p><code>$columns</code> can be set to any numeric value. If <code>&#91;gallery&#93;</code> columns is set to 0, no row breaks will be included. </p>
<p>Plugin download: <a href="http://wordpress.org/extend/plugins/gallery-columns/">Gallery Columns</a></p>
<img src="http://feeds.feedburner.com/~r/zeo/~4/kZEE6-0o4EM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wordpress-gallery-force-n-number-of-columns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wordpress-gallery-force-n-number-of-columns/</feedburner:origLink></item>
		<item>
		<title>Remove WordPress [gallery] embedded CSS</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/9bidht1Wjmo/</link>
		<comments>http://zeo.my/remove-wordpress-gallery-embedded-css/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 08:53:55 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=119</guid>
		<description><![CDATA[Removes WordPress &#91;gallery&#93; embedded CSS and leave &#91;gallery&#93; div element id and class attributes intact. add_filter( 'gallery_style', 'remove_gallery_style' ) function remove_gallery_style( $css ) { preg_replace( "#&#60;style type=\'text/css\'&#62;(.*?)&#60;/style&#62;#s", "", $css ); } or add_filter( 'use_default_gallery_style', '__return_false' );]]></description>
			<content:encoded><![CDATA[<p>Removes WordPress <code>&#91;gallery&#93;</code> embedded CSS and leave <code>&#91;gallery&#93;</code> <code>div</code> element <code>id</code> and <code>class</code> attributes intact.</p>
<pre>
add_filter( 'gallery_style', 'remove_gallery_style' )
	function remove_gallery_style( $css ) {
		preg_replace( "#&lt;style type=\'text/css\'&gt;(.*?)&lt;/style&gt;#s", "", $css );
	}
</pre>
<p>or</p>
<pre>
add_filter( 'use_default_gallery_style', '__return_false' );
</pre>
<img src="http://feeds.feedburner.com/~r/zeo/~4/9bidht1Wjmo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/remove-wordpress-gallery-embedded-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/remove-wordpress-gallery-embedded-css/</feedburner:origLink></item>
		<item>
		<title>WP.me Shortlink on Self-Hosted WordPress</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/H3UW95VbB_s/</link>
		<comments>http://zeo.my/wp-me-shortlink-on-self-hosted-wordpress/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 19:29:29 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=105</guid>
		<description><![CDATA[WordPress.com Stats plugin must be installed and activated in order to work. To display in single post view, add the following line to your WordPress Theme&#8217;s template single.php file within The Loop: &#60;p&#62;Shortlink for this post: &#60;?php echo get_shortlink(get_the_ID()); ?&#62;&#60;/p&#62;]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/stats/">WordPress.com Stats</a> plugin must be installed and activated in order to work.</p>
<p>To display in single post view, add the following line to your WordPress Theme&#8217;s template <tt>single.php</tt> file within <a href="http://codex.wordpress.org/The_Loop">The Loop</a>:</p>
<pre>
&lt;p&gt;Shortlink for this post: &lt;?php echo get_shortlink(get_the_ID()); ?&gt;&lt;/p&gt;
</pre>
<img src="http://feeds.feedburner.com/~r/zeo/~4/H3UW95VbB_s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/wp-me-shortlink-on-self-hosted-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://zeo.my/wp-me-shortlink-on-self-hosted-wordpress/</feedburner:origLink></item>
		<item>
		<title>Returns the URL of Author Archive Page OR Website</title>
		<link>http://feedproxy.google.com/~r/zeo/~3/prbYZOzyPRk/</link>
		<comments>http://zeo.my/returns-the-url-of-author-archive-page-or-website/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 00:16:45 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[Text]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://zeo.my/?p=103</guid>
		<description><![CDATA[Returns the URL of Author Archive page OR Author website (if the Website field is set in the user&#8217;s profile) of the current post. Add the following lines to your WordPress Theme&#8217;s template functions.php file (For example, functions.php file for a Theme named &#8220;default&#8221; would probably reside in the directory wp-content/themes/default/functions.php) or create it as [...]]]></description>
			<content:encoded><![CDATA[<p>Returns the URL of Author Archive page OR Author website (if the Website field is set in the user&#8217;s profile) of the current post.</p>
<p>Add the following lines to your WordPress Theme&#8217;s template <a href="http://codex.wordpress.org/Theme_Development#Theme_Functions_File"><tt>functions.php</tt></a> file (For example, <tt>functions.php</tt> file for a Theme named &#8220;default&#8221; would probably reside in the directory <tt>wp-content/themes/default/functions.php</tt>) or create it as a Plugin by filling the additional <a href="http://codex.wordpress.org/Writing_a_Plugin#Standard_Plugin_Information">Standard Plugin Information</a>:</p>
<pre>
add_filter('author_link', 'author_url');
	function author_url($url) {
		if (get_the_author_meta('user_url'))
			$url = get_the_author_meta('user_url');		

		return $url;
	}
</pre>
<p>Add within <a href="http://codex.wordpress.org/The_Loop">The Loop</a>:</p>
<pre>&lt;span class="author vcard"&gt;
	by &lt;a class="url fn n" href="&lt;?php echo get_author_posts_url(get_the_author_meta('ID')); ?&gt;"&gt;&lt;?php the_author(); ?&gt;&lt;/a&gt;
&lt;/span&gt;
</pre>
<img src="http://feeds.feedburner.com/~r/zeo/~4/prbYZOzyPRk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://zeo.my/returns-the-url-of-author-archive-page-or-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://zeo.my/returns-the-url-of-author-archive-page-or-website/</feedburner:origLink></item>
	</channel>
</rss>

