<?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>AEXT.NET MAGAZINE &#187; Wordpress Plugin</title>
	<atom:link href="http://aext.net/tag/wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://aext.net</link>
	<description>How to Create a Website</description>
	<lastBuildDate>Wed, 30 May 2012 05:03:57 +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>Use Custom Post Types UI plugin to Manage Your WordPress Custom Post Type</title>
		<link>http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/</link>
		<comments>http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 15:00:28 +0000</pubDate>
		<dc:creator>Lief</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WOW]]></category>
		<category><![CDATA[Custom Post type]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://aext.net/?p=6720</guid>
		<description><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/" height="61" width="51" /></a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/" height="61" width="51" /></a></p><p>Custom Post Types is the most wanted feature by WordPress developers. WordPress Custom Post Types allows us easy to create and handling WordPress content sorting. However, the first time setting up and Custom Post Types customization is quite complex for someone who are not familiar with this feature. I admit that I cannot memorize the code each time I start developing a WordPress project and, off course, I always mess it up. When I scanned and did some researches if there is any WordPress plugin which can help us to control this feature, I found the plugin called <strong>Custom Post Types UI</strong>. Using Custom Post Types UI plugin is a easiest way to create custom post types and taxonomies in WordPress.</p>
<p><span id="more-6720"></span></p>
<p>If you haven&#8217;t heard about this one, you can check it out or download it <a href="http://wordpress.org/extend/plugins/custom-post-type-ui/">here</a>. Right in the front of the plugin page, you can see a video which demonstrates how the Custom Post Types UI(CPTUI) works.</p>
<p>After installing and activating the plugin, you can access the plugin setting page in the left side Admin menu Dashboard.</p>
<div class="bigimage"><img class="aligncenter size-full wp-image-6724" title="CPTUI Sidebar Menu" src="http://aext.net/wp-contents/uploads/2010/08/CPTUI-Sidebar-Menu.png" alt="CPTUI Sidebar Menu" width="184" height="147" /></div>
<p>In the &#8220;Create New&#8221; menu, you will have 2 option panels: one fore creating new <strong>Custom Post Type</strong> and one for creating new <strong>Custom Taxonomy</strong>.</p>
<h3>Custom Post Type</h3>
<div class="bigimage"><img class="aligncenter size-full wp-image-6729" title="Creat new Custom Post Type" src="http://aext.net/wp-contents/uploads/2010/08/Creat-new-Custom-Post-Type.png" alt="Creat new Custom Post Type" width="502" height="486" /></div>
<p>The only field you need to fill out is the <strong>Post Type Name</strong> filed. The other fields will be automatically created by default options. In this case, your new Post Type will be created with the name &#8220;portfolios&#8221; with the slug is &#8220;portfolios&#8221; as the image below:</p>
<div class="bigimage"><a href="http://aext.net/wp-contents/uploads/2010/08/Creating-New-Portfolio-copy.jpg"><img class="aligncenter size-medium wp-image-6732" title="Creating New Portfolio copy" src="http://aext.net/wp-contents/uploads/2010/08/Creating-New-Portfolio-copy-500x404.jpg" alt="" width="500" height="404" /></a></div>
<p>You can also choose another slug name if you don&#8217;t want this default slug as post type name (choose <strong>View Advanced Options</strong>). Furthermore, in this Advanced Options panel, CPT UI allows you to enable/disable some options: Trackbacks, Revisions &#8230; <em>Awesome, because I don&#8217;t want to enable Revisions for portfolio post type.</em></p>
<div class="bigimage"><img class="aligncenter size-full wp-image-6734" title="Built-in Supports" src="http://aext.net/wp-contents/uploads/2010/08/Built-in-Supports.png" alt="" width="500" height="285" /></div>
<p>And with &#8220;View Advanced Label Options&#8221;, you can specific each label for your custom post type. If you don&#8217;t fill out those options, the plugin will automatically create labels based off of your custom post type name.</p>
<h3>Custom Taxonomy</h3>
<p>Like Custom Post Type options, the only filed you need to define is the taxonomy name and the other filed will be automatically created depends on the taxonomy name.</p>
<div class="bigimage"><a href="http://aext.net/wp-contents/uploads/2010/08/Creat-new-Custom-Taxonomy.png"><img class="aligncenter size-medium wp-image-6737" title="Creat new Custom Taxonomy" src="http://aext.net/wp-contents/uploads/2010/08/Creat-new-Custom-Taxonomy-500x655.png" alt="" width="500" height="655" /></a></div>
<p>When creating new taxonomy, you can assign it to your previous custom post type or any default post type like WordPress Posts, Pages. In this case, I will create new custom taxonomy named &#8220;Project Type&#8221; and attach it to &#8220;Portfolio&#8221; post type which I created recently.</p>
<p>In the page of creating new portfolio, I can see the new taxonomy now:</p>
<div class="bigimage"><a href="http://aext.net/wp-contents/uploads/2010/08/New-Portfolio-with-custom-taxonomy.png"><img class="aligncenter size-medium wp-image-6739" title="New Portfolio with custom taxonomy" src="http://aext.net/wp-contents/uploads/2010/08/New-Portfolio-with-custom-taxonomy-500x213.png" alt="New Portfolio with custom taxonomy" width="500" height="213" /></a></div>
<p>Quite easy and fast, right? We can finalize it up by adding the theme template for the custom post type. As we already knew, to make a theme template for a custom post type, we simply name the template <code>single-{post-type-slug}.php</code> and add it to our theme folder. In this case, this would be <code>single-portfolios.php</code>.</p>
<p>That&#8217;s all! Instead of messing with code each time you create new post type project, you can use this plugin to handle this feature. You will 100% work on user interface. Highly recommended for web designers and someone who are new to WordPress 3.</p>
<div class="txtad-cont"></div>
]]></content:encoded>
			<wfw:commentRss>http://aext.net/2010/08/use-custom-post-types-ui-plugin-to-manage-your-wordpress-custom-post-type/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Top 15 WordPress Plugins to Make Your Blog Secure</title>
		<link>http://aext.net/2010/05/wordpress-security-plugins/</link>
		<comments>http://aext.net/2010/05/wordpress-security-plugins/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 00:00:44 +0000</pubDate>
		<dc:creator>Lief</dc:creator>
				<category><![CDATA[Popular]]></category>
		<category><![CDATA[Roundup]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Spam Protection]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://aext.net/?p=5575</guid>
		<description><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2010/05/wordpress-security-plugins/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2010/05/wordpress-security-plugins/" height="61" width="51" /></a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2010/05/wordpress-security-plugins/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2010/05/wordpress-security-plugins/" height="61" width="51" /></a></p><p>You think the more secure blog, the more successful blogging job, don&#8217;t you? You can keep your blog secure by installing a bunch of WordPress security plugins. However, instead of activating too many plugins that have the same features, same purposes&#8230; and even some issues because of the conflicts between them, you should consider using only these top plugins that help you to do the job better.</p>
<p><span id="more-5575"></span></p>
<p>Here is the list of <strong>Top 15 WordPress Security Plugins</strong> that have all the features you need. If you got some other plugins that are better, please help us to complete the list by dropping your thought in comment form.</p>
<h3><a href="http://akismet.com/">Askimet</a> and no more other plugin for spam protection</h3>
<hr />
<div class="bigimage"><a href="http://akismet.com/"><img class="aligncenter size-medium wp-image-5754" title="Askimet" src="http://aext.net/wp-contents/uploads/2010/05/Screen-shot-2010-05-29-at-1.16.52-AM-500x284.png" alt="Askimet Spam Protection" width="500" height="284" /></a></div>
<p>Akismet is a wonderful plugin for spam protection, really! It checks your comments against the Akismet web service to see if they look like spam or not and lets you review the spam it catches under your blog&#8217;s &#8220;Comments&#8221; admin screen.</p>
<p>I personally don&#8217;t use any spam prevention plugin but Askimet. Why do you need to install other plugins since you had Askimet. The spam filter of this service is really cool. I&#8217;m facing with <strong>not more than 1 spam</strong> comment a day!</p>
<h3><a href="http://wordpress.org/extend/plugins/askapache-password-protect/">AskApache Password Protect</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/askapache-password-protect/"><img class="aligncenter size-medium wp-image-5728" title="AskApache Password Plugin" src="http://aext.net/wp-contents/uploads/2010/05/Screen-shot-2010-05-28-at-8.17.02-PM-499x233.png" alt="AskApache Password Plugin" width="499" height="233" /></a></div>
<p>With <strong>AskApache Password Protect</strong>, you can set password for your admin dashboard, also with any files folder in your web host without messing with your database. This plugin is specifically designed and regularly updated specifically to stop automated and unskilled attackers attempts to exploit vulnerabilities on your blog resulting in a hacked site.</p>
<h3><a href="http://wordpress.org/extend/plugins/admin-log/">Admin Log</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/admin-log/"><img class="aligncenter size-medium wp-image-5760" title="admin log plugin" src="http://aext.net/wp-contents/uploads/2010/05/admin-log-plugin-500x219.jpg" alt="admin log plugin" width="500" height="219" /></a></div>
<p>I&#8217;m using this plugin to keep tracking all foot prints of users logged in to the blog admin area. This is updated every time a page in the admin area is accessed. Information displayed includes: admin page accessed, user, and time of access. However, this should be filtered better because it&#8217;s keeping some access pages that are unnecessary at all.</p>
<h3><a href="http://wordpress.org/extend/plugins/secure-wordpress/">Secure WordPress</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/secure-wordpress/"><img class="aligncenter size-full wp-image-5732" title="secure wordpress plugin" src="http://aext.net/wp-contents/uploads/2010/05/screenshot-1.png" alt="secure wordpress plugin" width="450" height="459" /></a></div>
<p>It will help to secure WordPress installation by removing miscellaneous items after the installation process which may aid hackers: Remove Error information on login page; adds index.html to plugin directory; removes the wp-version, except in admin area.</p>
<h3><a href="http://lesterchan.net/wordpress/readme/wp-ban.html">WP-Ban</a></h3>
<hr />
<div class="bigimage"><a href="http://lesterchan.net/wordpress/readme/wp-ban.html"><img class="aligncenter size-medium wp-image-5583" title="admin_ban_options_bottom" src="http://aext.net/wp-contents/uploads/2010/05/admin_ban_options_bottom-500x363.png" alt="admin_ban_options_bottom" width="500" height="363" /></a></div>
<p>Ban users by IP, IP Range, host name, user agent and referer url from visiting your WordPress&#8217;s blog. It will display a custom ban message when the banned IP, IP range, host name, user agent or referer url tries to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recordered on how many times they attemp to visit your blog. It allows wildcard matching too.</p>
<p><strong style="color: red;">WARNING:</strong><strong> When using the WP-Ban plugin, be very careful when banning certain IP addresses, especially your own. If you accidentally ban your IP address, you won’t be getting back into your blog until you acquire a new IP.</strong></p>
<h3><a href="http://wordpress.org/extend/plugins/limit-login-attempts/">Limit Login Attempts</a> &#8211; <a href="http://wordpress.org/extend/plugins/login-lockdown/">Login LockDown</a> &#8211; <a href="http://wordpress.org/extend/plugins/user-locker/">User Locker</a></h3>
<hr />
<div class="bigimage"><img class="aligncenter size-medium wp-image-5737" title="Limit Login Attempts – Login LockDown – User Locker" src="http://aext.net/wp-contents/uploads/2010/05/wordpress-plugin-login-lockdown-locked-out-copy-500x246.jpg" alt="Limit Login Attempts – Login LockDown – User Locker" width="500" height="246" /></div>
<p>These plugins are very useful for protecting WordPress login page if you combine them into a set of 3.</p>
<p><strong>Limit Login Attempts</strong> will shut down anybody who fails X number of logins from a specific IP address (using auth cookies). It keeps tracking all failed IPs, emails you in the event of a lockout, and is the perfect solution for keeping nosy relatives out of your admin area.. <a href="http://wordpress.org/extend/plugins/limit-login-attempts/">Download</a></p>
<p>&#8212;&#8211;</p>
<p><strong>Login Lockdown</strong> is a great security plugin to prevent some people guessing your password to login to your site. It records the IP address and timestamp of every failed login attempt. This helps to prevent brute force password discovery. <a href="http://wordpress.org/extend/plugins/login-lockdown/">Download</a></p>
<p>&#8212;&#8211;</p>
<p><strong>User Locker</strong> plugin is a great solution to limit the number of invalid logins for specific user. Once the plugin has been installed, it is set by default to lock the user’s account after 5 invalid login attempts. Furthermore, you can manually lock any user via plugin setting. This is a really helpful for some blog, magazine that have more than one user. <a href="http://wordpress.org/extend/plugins/user-locker/">Download</a></p>
<h3><a href="http://semperfiwebdesign.com/plugins/wp-security-scan/">WP Security Scan</a></h3>
<hr />
<div class="bigimage"><a href="http://semperfiwebdesign.com/plugins/wp-security-scan/"><img class="aligncenter size-medium wp-image-5730" title="security-scan" src="http://aext.net/wp-contents/uploads/2010/05/security-scan-500x338.png" alt="security-scan" width="500" height="338" /></a></div>
<p>Nice plugin helps you to scan your WordPress installation for security vulnerabilities and suggests corrective actions: passwords, file permissions, database security, version hiding, WordPress admin protection/security&#8230;</p>
<h3><a href="http://wordpress.org/extend/plugins/admin-ssl-secure-admin/">Admin SSL</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/admin-ssl-secure-admin/"><img class="aligncenter size-medium wp-image-5745" title="Admin SSL" src="http://aext.net/wp-contents/uploads/2010/05/screenshot-1-500x295.jpg" alt="Admin SSL" width="500" height="295" /></a></div>
<p>Secure WordPress login and admin pages for that extra bit of security with <strong>Admin SSL</strong>. This plugin forces SSL on all pages where passwords can be entered so that all information transmitted are encrypted. However, you have to own a SSL certificate before you can do it. If you are not willing to shell out the extra money to buy a private SSL certificate, you can ask your Web host about Shared SSL. Most webhosting provide Shared SSL for all their clients and it is easy to configure.</p>
<h3><a href="http://wordpress.org/extend/plugins/stealth-login/">Stealth Login</a></h3>
<hr />
<p>Stealth Login obfuscates your login page by allowing you to define a custom login page rather than the default wp-login.php. In the event that your password is leaked, the hacker will also have a hard time finding the correct login URL. A good use of this is to prevent any malicious bots from accessing your wp-login.php file and attempting to break in.</p>
<h3><a href="http://austinmatzko.com/wordpress-plugins/wp-db-backup/">WordPress Database Backup</a></h3>
<hr />
<div class="bigimage"><a href="http://austinmatzko.com/wordpress-plugins/wp-db-backup/"><img class="aligncenter size-full wp-image-5748" title="backup_screenshot" src="http://aext.net/wp-contents/uploads/2010/05/backup_screenshot.jpg" alt="backup_screenshot" width="400" height="176" /></a></div>
<p>WordPress database backup creates backups of your core WordPress tables as well as other tables of your choice in the same database. It&#8217;s very simple to use! If you need only the backup feature for your blog database, this is your best choice.</p>
<h3><a href="http://wordpress.org/extend/plugins/wp-dbmanager/">WP-DBManager</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/wp-dbmanager/"><img class="aligncenter size-medium wp-image-5750" title="WP_DBmanager" src="http://aext.net/wp-contents/uploads/2010/05/WP_DBmanager-500x328.jpg" alt="WP_DBmanager" width="500" height="328" /></a></div>
<p>One of the widely used and one of the must have plugin for wordpress is <strong>WP-DBManager</strong>. A very popular plugin for database management. This plugin is not only perfect for doing automated backups, it can also do things like database optimization and the admin pages for it allow you to do the occasional query from within WordPress! You can schedule to back up your database and email it to your email. You can also run mysql query in plugin setting page. With WP-DBManager, you won&#8217;t need any other plugin for your wordpress database, you can find all the needed features in this all in one plugin.</p>
<h3><a href="http://wordpress.org/extend/plugins/tac/">TAC (Theme Authenticity Checker)</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/tac/"><img class="aligncenter size-full wp-image-5752" title="tac" src="http://aext.net/wp-contents/uploads/2010/05/tac.jpg" alt="TAC (Theme Authenticity Checker)" width="500" height="430" /></a></div>
<p>TAC helps you to scan your themes for any unwanted or potentially dangerous code. This is a helpful plugin for you to check any theme you download somewhere to make sure the theme is safe for using.</p>
<h3><a href="http://wordpress.org/extend/plugins/wp-sentry/">WP Sentry</a></h3>
<hr />
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/wp-sentry/"><img class="aligncenter size-medium wp-image-5756" title="wp-sentry" src="http://aext.net/wp-contents/uploads/2010/05/Screen-shot-2010-05-29-at-1.30.19-AM-500x350.png" alt="wp-sentry" width="500" height="350" /></a></div>
<p>This is a simple plugin just for privacy reason. WP Sentry restricts access to the post for specific users, groups&#8230;and a little more granular access controls.</p>
<h3>Extended Reading:</h3>
<hr />
<p>There are some helpful articles and tutorials helps you to secure your WordPress better.</p>
<ul>
<li><a href="http://www.noupe.com/how-tos/wordpress-security-tips-and-hacks.html">WordPress Security Tips and Hacks</a></li>
<li><a href="http://www.problogdesign.com/wordpress/11-best-ways-to-improve-wordpress-security/">11 Best Ways To Improve WordPress Security</a></li>
<li><a href="http://codex.wordpress.org/Hardening_WordPress">Hardening WordPress</a></li>
<li><a href="http://sixrevisions.com/wordpress/12-essential-security-tips-and-hacks-for-wordpress/">12 Essential Security Tips and Hacks for WordPress</a></li>
<li><a href="http://www.dailyblogtips.com/5-plugins-to-keep-wordpress-secure/">5 Plugins to Keep WordPress Secure</a></li>
<li><a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/">How to Keep WordPress Secure</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://aext.net/2010/05/wordpress-security-plugins/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
		<item>
		<title>The Right Way To Build WordPress As A Community News</title>
		<link>http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/</link>
		<comments>http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 23:21:20 +0000</pubDate>
		<dc:creator>Lief</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[community news]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[TDO Mini Form]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://aext.net/?p=2484</guid>
		<description><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/" height="61" width="51" /></a></p>WordPress is getting popular now and everyone is switching to use WordPress because we can build anything with WordPress: WordPress as a magazine, WordPress as a bulletin board, Video site ..... Today, I would like to put all my love for WordPress into this tutorial to explain how to build WordPress as a Community News, ... but in a right way. <a href="http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/" height="61" width="51" /></a></p><p>WordPress is getting popular now and everyone is switching to use WordPress because we can build anything with WordPress: WordPress as a magazine, WordPress as a bulletin board, Video site &#8230;.. Today, I would like to put all my love for WordPress into this tutorial to explain how to build WordPress as a Community News, &#8230; but in a right way.</p>
<p><span id="more-2484"></span></p>
<p>In WordPress, the popular plugin for us to build community news submission is <strong><a href="http://wordpress.org/extend/plugins/fv-community-news/">FV Community News</a></strong> which is being used on a lot of blog pages. This plugin is really useful to add related articles from other blogs to your sidebar. Adding them manually takes lots of time we don&#8217;t have. However, <strong>FV Community News</strong> stores submissions in another table in database. That&#8217;s the problem now for someone want to build a community website where everyone can submit their news to. You can check some design community news website such as: <a href="http://www.webdesign-ne.ws/">webdesign-ne.ws</a>, <a href="http://design-newz.com/">design-newz.com</a>, <a href="http://scriptandstyle.com/">scriptandstyle.com</a>&#8230; or check my second website at <a href="http://whofreelance.com">whofreelance.com</a>. They and I are not using FV Community News to handle users submissions. The plugin on these websites is <a href="http://wordpress.org/extend/plugins/tdo-mini-forms/">TDO Mini Forms</a> because TDO Mini Form help users submit their posts as WordPress posts.</p>
<h3>1. Setting up your TDO Mini Form.</h3>
<hr />
<p>First, very simple, download this plugin in zip format and extract the files to a subdirectory, called tdo-mini-forms, of your plugin directory. i.e. <em>/path_to_wordpress/wp-content/plugins/tdo-mini-forms</em>. Then, go to plugin menu in WordPress Admin and active it. Make sure you then configure it via the main TDOMF menu in the WordPress Administration backend.</p>
<p>I would like to forward you a link to <a href="http://thedeadone.net/blog/tutorial-video-for-tdo-mini-forms/">Tutorial Video for TDO Mini Forms! </a>. The video is pretty good too as it shows you how to create a submission form and an edit form.</p>
<p>And after you know how to use the TDO Mini Form, create a submit page with the form as below:</p>
<div class="smallimage"><img class="aligncenter size-full wp-image-2491" title="TDO Form Configuration" src="http://aext.net/wp-contents/uploads/2010/01/TDO-Form-Configuration-e1262497965484.png" alt="" width="500" height="268" /></div>
<p>Create new page item in WordPress Admin and name its title as &#8220;News Submission&#8221;. In my case on <a href="http://whofreelance.com">whofreelance.com</a>, the permalink for this page is <em>http://whofreelance.com/news-submission/</em>. After that, type something about the the copyright or something like the rules for submission. Don&#8217;t forget to implement the form to this page by put this code below:</p>
<pre>[tdomf_form1]</pre>
<p>And this is what you get:</p>
<div class="smallimage"><img class="aligncenter size-full wp-image-2493" title="News Submission WhoFreelance Web Development News" src="http://aext.net/wp-contents/uploads/2010/01/News-Submission-WhoFreelance-Web-Development-News.png" alt="" width="500" height="550" /></div>
<p>Now, at this step, you already done for the community website that publish users&#8217;s news submissions. No more step required for doing like all of the community design news websites I referred at the beginning of this post.</p>
<p>If you have not only one website or blog, and you want to display these submissions on another websites, the best way is fetching rss feed from it. However, the problem is you cannot get the direct urls to original posts because we save the users&#8217;s post urls as post meta tags. B default, post meta tags were not included in the feed. You might have a little confusing because <a href="css-tricks.com">css-tricks.com</a> is fetching the news from scriptandstyle, or you can see I&#8217;m doing the same with <a href="http://aext.net">AEXT.NET</a> which are fetching users&#8217;s submission on <a href="http://whofreelance.com">whofreelance.com</a>. That&#8217;s why you need to go to next step.</p>
<h3>2. Modify the feed of the submissions.</h3>
<hr />
<p>Each post when submitted to your WordPress will appear on your feed, right? Someone will say: <em>&#8220;Hey, it&#8217;s easy, I have the feed here, I can fetch rss and display the submissions on other websites&#8221;</em>. The answer is <em>&#8220;Yes, you can&#8221;</em>. However, you can just only fetch the post title, post url or anything is belong to the article submitted except post meta tags. Refer to the first image above, I highlighted the post_url meta tags because it will be the most important part of community news.</p>
<p>ScriptandStyle published a post explains how to <a href="http://scriptandstyle.com/add-custom-xml-wordpress-rss-feed">Add Custom Values To Your WordPress RSS Feed</a>. That would be a good solution for you to put post meta tags to the feed, right? This hack will work. However, you will realize that everything (your changes) will be lost when you update WordPress.</p>
<p>Here is better solution. In your WordPress Admin, create another page. <em>What&#8217;s the heck this page for?</em> For your feed. Because you will lose your changes when you update WordPress if you hack into feed-atom.php file. So, why don&#8217;t you create your own rss file and put it into your template folder, and create a new page in WordPress Admin with the content is the content of rss file? Everything will be fine if you update WordPress or not.</p>
<p>[smartads]</p>
<p>Simple as I did, in your theme directory, create new file name it &#8220;communty-feed.php&#8221; or something you like (just keep it in secret), then copy all the content of <em>feed-atom.php</em> in wp-includes folder and paste into your new file you have just created.</p>
<p><strong style="color: red;">Important:</strong> Insert these code at the head of this file.</p>
<pre>&lt;?php
  /*
  Template Name: Community Feed
  */

$numposts = 10;
$posts = query_posts('showposts='.$numposts);</pre>
<p>Without query the posts and number of posts to display, the content of your new feed file will be empty and only the title of page will appear in the feed.</p>
<div class="bigimage"><img class="aligncenter size-full wp-image-2498" title="News Submission WhoFreelance Web Development News Feed" src="http://aext.net/wp-contents/uploads/2010/01/News-Submission-WhoFreelance-Web-Development-News-Feed.png" alt="" width="500" height="389" /></div>
<p>Set the Template Name on the head will help WordPress recognise the file, so that you can create new page in WordPress admin with the template is this page. Furthermore, add the direct url to your feed by put these code within the entry tag.</p>
<pre class="html">&lt;entry&gt;
    &lt;author&gt;
        &lt;name&gt;&lt;?php the_author() ?&gt;&lt;/name&gt;
           &lt;?php $author_url = get_the_author_meta('url'); if ( !empty($author_url) ) : ?&gt;
             &lt;uri&gt;&lt;?php the_author_meta('url')?&gt;&lt;/uri&gt;
           &lt;?php endif; ?&gt;
    &lt;/author&gt;

    <em><span style="color: #236e25;">&lt;!-- this is what we add --&gt;</span></em>  
    <span style="color: #881280;">&lt;directurl&gt;</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #881350;">echo</span> <span style="color: #003369;">get_post_meta</span>(<span style="color: #825900;">$post</span>-&gt;ID,<span style="color: #eb7300;">'post_url'</span>,<span style="color: #881350;">true</span>); <span style="color: #dd0000;">?&gt;</span><span style="color: #881280;">&lt;/directurl&gt;</span>

    &lt;title type="&lt;?php html_type_rss(); ?&gt;"&gt;&lt;![CDATA[&lt;?php the_title_rss() ?&gt;]]&gt;&lt;/title&gt;</pre>
<p>To set this page as page template, following this image:</p>
<div class="bigimage"><img class="aligncenter size-full wp-image-2499" title="News Submission WhoFreelance Web Development News Page template" src="http://aext.net/wp-contents/uploads/2010/01/News-Submission-WhoFreelance-Web-Development-News-Page-template.png" alt="" width="501" height="413" /></div>
<p>And now, you are fine with the feed, you will not see the post meta tags in any feed readers, but the feed still work like original feed.</p>
<h3>Fetching feed on other websites</h3>
<hr />
<p>All the feed have the same basic structure. Each feed has its children tags, and in this case, our feed is:</p>
<div class="smallimage"><img class="aligncenter size-full wp-image-2503" title="News Submission WhoFreelance Web Development News Feed Elements" src="http://aext.net/wp-contents/uploads/2010/01/News-Submission-WhoFreelance-Web-Development-News-Feed-Elements-e1262506882462.png" alt="" width="500" height="203" /></div>
<p>We will fetch only the title, published date, and the link to original post of each item. In your <em>functions.php</em> file, create new function to fetch all the feed items. Remember that the total number of items will be fetched is 10 because we have limited the number of post displayed in our feed is 10 as above. Refer to the image right above, using <em>simplexml_load_file</em>, your function will look like:</p>
<pre>function getFeed($feed_url) {
 Â Â Â $xml = simplexml_load_file($feed_url);
 Â Â Â echo "&lt;ul&gt;";

  Â  foreach($xml-&gt;entry as $entry) {
  Â Â Â Â Â Â Â echo "&lt;li&gt;";
  Â Â Â Â Â Â Â echo "&lt;span class='post-date'&gt;Posted: ".date(  "F j, Y", strtotime($entry-&gt;published) )."&lt;/span&gt;";
  Â Â Â Â Â Â Â echo "&lt;h3&gt;&lt;a title='Permanent Link to ".$entry-&gt;title."' rel='nofollow' href='".$entry-&gt;directurl."'&gt;".$entry-&gt;title."&lt;/a&gt;&lt;/h3&gt;";
  Â Â Â Â Â Â Â echo "&lt;/li&gt;";
Â Â Â   }

  Â Â Â echo "&lt;/ul&gt;";

}</pre>
<p>In your sidebar, use this code to display the feed.</p>
<pre>&lt;?php getFeed("http://link-to-your-feed/"); ?&gt;</pre>
<p>Your result:</p>
<div class="bigimage"><img class="aligncenter size-full wp-image-2506" title="News Submission WhoFreelance Web Development News Display Feed" src="http://aext.net/wp-contents/uploads/2010/01/News-Submission-WhoFreelance-Web-Development-News-Display-Feed.png" alt="" width="500" height="241" /></div>
<p>The feed can be display by different codes, this code is just an simple code I would like to put it into this tutorial.</p>
<p>Some code you will be interesting to take a look for example:</p>
<ul>
<li><a href="http://simplepie.org/wiki/plugins/wordpress/simplepie_core">SimplePie Core for WordPress</a></li>
<li><a href="http://net.tutsplus.com/videos/screencasts/how-to-read-an-rss-feed-with-php-screencast/#comment-125119">How to Read an RSS Feed With PHP â€“ screencast</a></li>
<li><a href="http://codex.wordpress.org/Function_Reference/fetch_feed">Function Reference/fetch feed</a></li>
<li><a href="http://net.tutsplus.com/videos/screencasts/how-to-read-an-rss-feed-with-php-screencast/#comment-125119">How to: Display any rss feed on your WordPress blog</a></li>
</ul>
<h3>Conclusion</h3>
<hr />
<p>You see? we can build anything from WordPress. The only problem is the better way to transform it and do it in a right way. I hope this tutorial will help you build a better web community news for news submission. I would appreciate all the comment the help the tut more completed.</p>
<div class="txtad-cont"></div>
]]></content:encoded>
			<wfw:commentRss>http://aext.net/2010/01/the-right-way-to-build-wordpress-as-a-community-news/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</item>
		<item>
		<title>The Nice Way To Mention Your Recent Articles in WordPress SideBar</title>
		<link>http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/</link>
		<comments>http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 20:53:42 +0000</pubDate>
		<dc:creator>Lief</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Sidebar]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://aext.net/?p=2301</guid>
		<description><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/" height="61" width="51" /></a></p>People asked me how I mention my recent articles in WordPress sidebar by display post thumbnails and titles with a well-styled. Today, I would like to response their request. This way is being used in some blogs. I'm not sure if they are using the same method as mine, but at least we will get the same result. <a href="http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/" height="61" width="51" /></a></p><p>People asked me how I mention my recent articles in WordPress sidebar by display post thumbnails and titles with a well-styled. Today, I would like to response their request. This way is being used in some blogs. I&#8217;m not sure if they are using the same method as mine, but at least we will get the same result.</p>
<p><span id="more-2301"></span></p>
<p>When design blog theme in WordPress, I always look for non-using plugins solution. People asked me which plugin I&#8217;m using for this sidebar. No, the answer is NO.</p>
<p>There are a lot of WordPress plugins to display your recent articles, popular articles to mention your posts in the sidebar widget. However, you forgot that you can do the same with a simple posts query using <em><a href="http://codex.wordpress.org/Function_Reference/WP_Query">WP_Query();</a></em> function.</p>
<p>To begin, create new posts object that you will call by will <strong>have_posts()</strong> and display your posts within the loop</p>
<p>Example:</p>
<pre>$wp_query-&gt;have_posts();</pre>
<p>This function is called to see if there are any posts to show. Using the while loop, and we can use have_post() as the condition. This will iterate around as long as there are posts to show.</p>
<p>In my case, I&#8217;m using iterations, the_post(), within the while loop to iterate around as long as there are posts to show.</p>
<pre class="php"><span style="color: #881280;">&lt;ul&gt;</span>

  <span style="color: #dd0000;">&lt;?php</span> <span style="color: #825900;">$recent</span> = <span style="color: #881350;">new</span> <span style="color: #003369;">WP_Query</span>(<span style="color: #eb7300;">"showposts=35"</span>); <span style="color: #881350;">while</span>(<span style="color: #825900;">$recent</span>-&gt;<span style="color: #003369;">have_posts</span>()) : <span style="color: #825900;">$recent</span>-&gt;<span style="color: #003369;">the_post</span>();<span style="color: #dd0000;">?&gt;</span>

    <span style="color: #881280;">&lt;li&gt;</span>
      <span style="color: #881280;">&lt;a </span><span style="color: #994500;">title</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"Permanent Link to </span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">the_title</span>(); <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">"</span><span style="color: #994500;">rel</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"nofollow"</span><span style="color: #994500;">href</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">the_permalink</span>() <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">"</span><span style="color: #881280;">&gt;</span>

        <span style="color: #dd0000;">&lt;?php</span> <span style="color: #881350;">if</span>(<span style="color: #003369;">get_post_meta</span>(<span style="color: #825900;">$post</span>-&gt;ID, <span style="color: #eb7300;">"image"</span>, <span style="color: #881350;">true</span>)): <span style="color: #dd0000;">?&gt;</span>
            <span style="color: #881280;">&lt;img </span><span style="color: #994500;">src</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">bloginfo</span>(<span style="color: #eb7300;">'template_url'</span>); <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">/scripts/thumb.php?src=</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #881350;">echo</span> <span style="color: #003369;">get_post_meta</span>(<span style="color: #825900;">$post</span>-&gt;ID, <span style="color: #eb7300;">"image"</span>, <span style="color: #881350;">true</span>); <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">&amp;w=25&amp;h=25&amp;zc=1"</span><span style="color: #994500;">alt</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">the_title</span>(); <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">"</span><span style="color: #881280;"> /&gt;</span>
        <span style="color: #dd0000;">&lt;?php</span> <span style="color: #881350;">else</span>: <span style="color: #dd0000;">?&gt;</span>
            <span style="color: #881280;">&lt;img </span><span style="color: #994500;">src</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">bloginfo</span>(<span style="color: #eb7300;">'template_url'</span>); <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">/images/thumbnail.png"</span><span style="color: #994500;">width</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"25"</span><span style="color: #994500;">height</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"25"</span><span style="color: #994500;">alt</span><span style="color: #881280;">=</span><span style="color: #1a1aa6;">"</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">the_title</span>(); <span style="color: #dd0000;">?&gt;</span><span style="color: #1a1aa6;">"</span><span style="color: #881280;"> /&gt;</span>    
        <span style="color: #dd0000;">&lt;?php</span> <span style="color: #881350;">endif</span>; <span style="color: #dd0000;">?&gt;</span>

      <span style="color: #881280;">&lt;span&gt;</span><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">the_title</span>(); <span style="color: #dd0000;">?&gt;</span><span style="color: #881280;">&lt;/span&gt;&lt;/a&gt;</span>
    <span style="color: #881280;">&lt;/li&gt;</span>

  <span style="color: #dd0000;">&lt;?php</span> <span style="color: #881350;">endwhile</span>; <span style="color: #dd0000;">?&gt;</span>

<span style="color: #881280;">&lt;/ul&gt;</span></pre>
<p>This code above will check if you have post meta name is <strong>image</strong>, it will display the thumbnail using <a href="http://code.google.com/p/timthumb/">timthumb</a> script. Timthumb is a small php script for cropping, zooming and resizing web images (jpg, png, gif). Perfect for use on blogs and other applications.</p>
<p>[smartads]</p>
<p>You can change the number of post will be displayed and set the condition to display number of posts in single page larger than other page because the post page is always longer than others, right?</p>
<p>CSS Bonus:</p>
<pre class="css">.widget ul {
    <span style="color: #88134f;">list-style-type</span>:<span style="color: #9b4400;">none</span>;
    <span style="color: #88134f;">margin</span>:<span style="color: #0000ff;">5px</span> <span style="color: #9b4400;">auto</span> <span style="color: #0000ff;">8px</span>;
    <span style="color: #88134f;">padding</span>:<span style="color: #0000ff;">0 0 2px</span>;
    <span style="color: #88134f;">width</span>:<span style="color: #9b4400;">auto</span>;
}

.widget ul li {
    <span style="color: #88134f;">clear</span>:<span style="color: #9b4400;">both</span>;
    <span style="color: #88134f;">letter-spacing</span>:<span style="color: #0000ff;">0</span>;
    <span style="color: #88134f;">margin</span>:<span style="color: #0000ff;">0</span>;
    <span style="color: #88134f;">padding</span>:<span style="color: #0000ff;">5px</span> <span style="color: #0000ff;">0 0</span>;
}

.widget ul li a {
    <span style="color: #88134f;">border-bottom</span>:<span style="color: #0000ff;">0 </span><span style="color: #9b4400;">dotted</span> <span style="color: #760f15;">#DDDDDD</span>;
    <span style="color: #88134f;">color</span>:<span style="color: #760f15;">#333333</span>;
    <span style="color: #88134f;">font-family</span>:Georgia,<span style="color: #760f15;">"Nimbus Roman No9 L"</span>,<span style="color: #9b4400;">serif</span>;
    <span style="color: #88134f;">font-size</span>:<span style="color: #0000ff;">11px</span>;
    <span style="color: #88134f;">font-weight</span>:<span style="color: #9b4400;">normal</span>;
    <span style="color: #88134f;">margin</span>:<span style="color: #0000ff;">0</span>;
    <span style="color: #88134f;">padding</span>:<span style="color: #0000ff;">0</span>;
    <span style="color: #88134f;">text-decoration</span>:<span style="color: #9b4400;">none</span>;
}

.widget ul li img {
    <span style="color: #88134f;">border</span>:<span style="color: #0000ff;">3px</span> <span style="color: #9b4400;">solid</span> <span style="color: #760f15;">#DFDFDF</span>;
    <span style="color: #88134f;">float</span>:<span style="color: #9b4400;">left</span>;
    <span style="color: #88134f;">margin-bottom</span>:<span style="color: #0000ff;">10px</span>;
    <span style="color: #88134f;">margin-right</span>:<span style="color: #0000ff;">10px</span>;
    <span style="color: #88134f;">padding</span>:<span style="color: #0000ff;">1px</span>;
}

.widget ul li span {
    <span style="color: #88134f;">display</span>:<span style="color: #9b4400;">block</span>;
    <span style="color: #88134f;">padding</span>:<span style="color: #0000ff;">0</span>;
}</pre>
<h3>Conclusion</h3>
<hr />
<p>We don&#8217;t need to use any plugin for display not only such a simple list of post like that but also other simple things in WordPress. WordPress provide us <a href="http://codex.wordpress.org/">WordPress Codex</a>which contains a thousand of Function References. If you want to build your own WordPress theme with unique style, the first thing you need is check out how WordPress function works. Good luck, hope see more beautiful WordPress themes from the web community.</p>
]]></content:encoded>
			<wfw:commentRss>http://aext.net/2009/12/the-nice-way-to-mention-your-recent-articles-in-wordpress-sidebar/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>10 Useful Code Snippets And Plugins To Spice Up WordPress Avatar</title>
		<link>http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/</link>
		<comments>http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 06:30:49 +0000</pubDate>
		<dc:creator>Lief</dc:creator>
				<category><![CDATA[Roundup]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Theme Design]]></category>
		<category><![CDATA[Wordpress Avatar]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://aext.net/?p=1767</guid>
		<description><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/" height="61" width="51" /></a></p>How well are you using avatar in your wordpress blog? Let see how people spice up avatar section in their wordpress. This entry provides us 10 most useful code snippets and wordpress plugin that help you control, customize your avatar in wordpress better. <a href="http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://aext.net/theme/platinoom" title="Platinoom - Premium WordPress Themes"><img src="http://aext.net/wp-content/uploads/2011/04/platinoom_wordpress_theme.png" alt="ThemeKiss" /></a></p><p style="float: right;"><a href="http://api.tweetmeme.com/share?url=http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/&service=su.pr&service_api=b57727e991c454bd2b2c62ff71462c79"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/" height="61" width="51" /></a></p><p>How well are you using avatar in your wordpress blog? Let see how people spice up avatar section in their wordpress. This entry provides us 10 most useful code snippets and wordpress plugins that help us control, customize our avatar in wordpress better.</p>
<p><span id="more-1767"></span></p>
<h3>Change the Default Gravatar in WordPress</h3>
<div class="bigimage"><a href="http://buildinternet.com/2009/02/how-to-change-the-default-gravatar-in-wordpress/"><img class="aligncenter size-full wp-image-1768" title="mystery-man-icon-intro" src="http://aext.net/wp-contents/uploads/2009/11/mystery-man-icon-intro.jpg" alt="mystery-man-icon-intro" width="500" height="166" /></a></div>
<pre class="php"><span style="color: #003369;">add_filter</span>( <span style="color: #eb7300;">'avatar_defaults'</span>, <span style="color: #eb7300;">'newgravatar'</span> );

<span style="color: #881350;">function</span> <span style="color: #003369;">newgravatar </span>(<span style="color: #825900;">$avatar_defaults</span>) {
    <span style="color: #825900;">$myavatar</span> = <span style="color: #003369;">get_bloginfo</span>(<span style="color: #eb7300;">'template_directory'</span>) . <span style="color: #eb7300;">'/images/buildinternet-gravatar.jpg'</span>;
    <span style="color: #825900;">$avatar_defaults</span>[<span style="color: #825900;">$myavatar</span>] = <span style="color: #eb7300;">"Build Internet"</span>;
    <span style="color: #881350;">return</span> <span style="color: #825900;">$avatar_defaults</span>;
}</pre>
<p>By default, if users don&#8217;t have gravatar with their email, wordpress gives you an option that can be change the default avatar in Setting&gt;Discussion. However, you can replace or add one more option that default avatar can be replace by your own image.<br />
<a class="more" href="http://buildinternet.com/2009/02/how-to-change-the-default-gravatar-in-wordpress/">Source: Build Internet</a></p>
<h3>Using Twitter avatars in comments without plug-ins</h3>
<p>First, grab the functions file <a href="http://www.smashingmagazine.com/2009/01/08/twitter-avatars-in-comments-wordpress-plugin/">here</a>.</p>
<p>Then, copy all the content of <em>twittar.php</em> and paste it to your functions.php file</p>
<p>Finally, copy and paste code line below to your comments.php file within the comment loop.</p>
<pre class="php"><span style="color: #dd0000;">&lt;?php</span> <span style="color: #003369;">twittar</span>(<span style="color: #eb7300;">'45'</span>, <span style="color: #eb7300;">'default.png'</span>, <span style="color: #eb7300;">'#e9e9e9'</span>, <span style="color: #eb7300;">'twitavatars'</span>, <span style="color: #0000ff;">1</span>, <span style="color: #eb7300;">'G'</span>); <span style="color: #dd0000;">?&gt;</span></pre>
<p><a class="more" href="http://www.wprecipes.com/ho-to-use-twitter-avatars-in-comments">Source: WP Recipes</a></p>
<h3>Automatically insert author bio on each post</h3>
<div class="bigimage"><a href="http://aext.net/2009/10/wordpress-hack-anything-can-be-added-anywhere-in-the-post-content/"><img class="aligncenter size-full wp-image-1774" title="Automatically insert author bio on each post" src="http://aext.net/wp-contents/uploads/2009/11/Automatically-insert-author-bio-on-each-post.jpg" alt="Automatically insert author bio on each post" width="500" height="219" /></a></div>
<p>Using WordPress hooks, it can be very easy to modify WordPress variables to fit your needs. In this recipe, Iâ€™m going to show you how to use hooks to automatically insert the author bio after each post.</p>
<p>Open your functions.php file and paste the following code. After insert these code, you can customize the css for the author bio box easily.</p>
<pre class="php"><span style="color: #881350;">function</span> <span style="color: #003369;">get_author_bio </span>(<span style="color: #825900;">$content</span>=<span style="color: #eb7300;">''</span>){<span style="color: #881350;"> </span><span style="color: #825900;"> </span>

    <span style="color: #881350;">if</span>(!<span style="color: #003369;">in_category</span>(<span style="color: #eb7300;">"Community News"</span>)) {

    <span style="color: #825900;">$post_author_name</span>=<span style="color: #003369;">get_the_author_meta</span>(<span style="color: #eb7300;">"display_name"</span>);
    <span style="color: #825900;">$post_author_description</span>=<span style="color: #003369;">get_the_author_meta</span>(<span style="color: #eb7300;">"description"</span>);      

    <span style="color: #825900;">$html</span>=<span style="color: #eb7300;">"&lt;div class='clearfix' id='about_author'&gt;\n"</span>;

    <span style="color: #825900;">$html</span>.=<span style="color: #eb7300;">"&lt;img width='80' height='80' class='avatar' src='http://www.gravatar.com/avatar.php?gravatar_id="</span>.<span style="color: #661aa9;">md5</span>(<span style="color: #003369;">get_the_author_email</span>()). <span style="color: #eb7300;">"&amp;default="</span>.<span style="color: #661aa9;">urlencode</span>(<span style="color: #825900;">$GLOBALS</span>[<span style="color: #eb7300;">'defaultgravatar'</span>]).<span style="color: #eb7300;">"&amp;size=80&amp;r=PG' alt='PG'/&gt;\n"</span>;

    <span style="color: #825900;">$html</span>.=<span style="color: #eb7300;">"&lt;div class='author_text'&gt;\n"</span>;
    <span style="color: #825900;">$html</span>.=<span style="color: #eb7300;">"&lt;h4&gt;Author: &lt;span&gt;"</span>.<span style="color: #825900;">$post_author_name</span>.<span style="color: #eb7300;">"&lt;/span&gt;&lt;/h4&gt;\n"</span>;

    <span style="color: #825900;">$html</span>.= <span style="color: #825900;">$post_author_description</span>.<span style="color: #eb7300;">"\n"</span>;
    <span style="color: #825900;">$html</span>.=<span style="color: #eb7300;">"&lt;/div&gt;\n"</span>;
    <span style="color: #825900;">$html</span>.=<span style="color: #eb7300;">"&lt;div class='clear'&gt;&lt;/div&gt;\n"</span>;

    <span style="color: #825900;">$html</span>.=<span style="color: #eb7300;">"&lt;/div&gt;"</span>;
    <span style="color: #825900;">$content</span> .= <span style="color: #825900;">$html</span>;

    }

    <span style="color: #881350;">return</span> <span style="color: #825900;">$content</span>;

}</pre>
<p><a class="more" href="http://aext.net/2009/10/wordpress-hack-anything-can-be-added-anywhere-in-the-post-content/">Source: AEXT.NET</a></p>
<h3>Checking for the Existence of a Gravatar</h3>
<p>If you request a Gravatar image and the email you request doesn&#8217;t have an account in the Gravatar system it returns a default image to you. In some cases this might not be what you want, instead, you might want to know whether you will get back a real gravatar or if it will just be the default. Sometime, you don&#8217;t want to display avatar element instead of default avatar if users don&#8217;t have gravatar exists in your email.</p>
<p>WordPress Codex shows you a trick that check the header response. Return false if code response is not match with 202. Thus, you can use the Boolean value to decide display or not.</p>
<pre class="php"><span style="color: #dd0000;">&lt;?php</span>

<span style="color: #881350;">function</span> <span style="color: #003369;">validate_gravatar</span>(<span style="color: #825900;">$email</span>) {
    <em><span style="color: #236e25;">// Craft a potential url and test its headers </span></em>    <span style="color: #825900;">$hash</span> = <span style="color: #661aa9;">md5</span>(<span style="color: #825900;">$email</span>);
    <span style="color: #825900;">$uri</span> = <span style="color: #eb7300;">'http://www.gravatar.com/avatar/'</span> . <span style="color: #825900;">$hash</span> . <span style="color: #eb7300;">'?d=404'</span>;
    <span style="color: #825900;">$headers</span> = <span style="color: #661aa9;">@get_headers</span>(<span style="color: #825900;">$uri</span>);
    <span style="color: #881350;">if</span>(!<span style="color: #661aa9;">preg_match</span>(<span style="color: #eb7300;">"|200|"</span>, <span style="color: #825900;">$headers</span>[<span style="color: #0000ff;">0</span>])) {
        <span style="color: #825900;">$has_valid_avatar</span> = <span style="color: #881350;">FALSE</span>;
    } <span style="color: #881350;">else</span> {
        <span style="color: #825900;">$has_valid_avatar</span> = <span style="color: #881350;">TRUE</span>;
    }
    <span style="color: #881350;">return</span> <span style="color: #825900;">$has_valid_avatar</span>;
}

<span style="color: #dd0000;">?&gt;</span></pre>
<p><a class="more" href="http://codex.wordpress.org/Using_Gravatars#Checking_for_the_Existence_of_a_Gravatar">Source: WordPress Codex</a></p>
<h3>User Avatar Photos in WordPress</h3>
<div class="bigimage"><a href="http://www.darcynorman.net/2008/09/02/user-avatar-photos-in-wordpress/"><img class="aligncenter size-full wp-image-1778" title="userphoto_wordpress_plugin" src="http://aext.net/wp-contents/uploads/2009/11/userphoto_wordpress_plugin.png" alt="userphoto_wordpress_plugin" width="500" height="200" /></a></div>
<p>WordPress has supported Gravatars for awhile, which is great, but in some cases, you want to display users avatar as their uploaded photos.</p>
<p>First, download and install <a href="http://wordpress.org/extend/plugins/user-photo/">User Photo plugin</a>, then use code below to display their photo:</p>
<pre class="php">    <span style="color: #881350;">if</span>(<span style="color: #661aa9;">function_exists</span>(<span style="color: #eb7300;">'userphoto_the_author_thumbnail'</span>)) {  

        <span style="color: #003369;">userphoto_the_author_thumbnail</span>();

    }</pre>
<p><a class="more" href="http://www.darcynorman.net/2008/09/02/user-avatar-photos-in-wordpress/">Source: D&#8217;Arcy Norman dot net</a></p>
<h3>Avatar Display for Logged In Users</h3>
<div class="bigimage"><img class="aligncenter size-full wp-image-1784" title="Avatar Display for Logged In Users" src="http://aext.net/wp-contents/uploads/2009/11/Avatar-Display-for-Logged-In-Users.jpg" alt="Avatar Display for Logged In Users" width="500" height="190" /></div>
<p>This simple code help to display the avatar of current logged user.</p>
<pre class="php"> <span style="color: #dd0000;">&lt;?php</span>
    <span style="color: #881350;">global</span> <span style="color: #825900;">$current_user</span>;

        <span style="color: #003369;">get_currentuserinfo</span>();

        <span style="color: #881350;">echo</span> <span style="color: #003369;">get_avatar</span>( <span style="color: #825900;">$current_user</span>-&gt;ID, <span style="color: #0000ff;">128</span> );
 <span style="color: #dd0000;">?&gt;</span></pre>
<h3>Add Local Avatar</h3>
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/add-local-avatar/"><img class="aligncenter size-full wp-image-1781" title="screenshot-3" src="http://aext.net/wp-contents/uploads/2009/11/screenshot-3.jpg" alt="screenshot-3" width="500" height="152" /></a></div>
<p>Adds local (private) avatars for your users. Maybe your users don&#8217;t want a global avatar, aren&#8217;t IT savvy enough to set a Gravatar up, simply want a private avatar for your blog, or any other reason too&#8230;</p>
<p><a class="more" href="http://wordpress.org/extend/plugins/add-local-avatar/">Download: Add Local Avatar</a></p>
<h3>WP-Gravatar Plugin</h3>
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/wp-gravatar/"><img class="aligncenter size-full wp-image-1787" title="screenshot-2" src="http://aext.net/wp-contents/uploads/2009/11/screenshot-2.png" alt="screenshot-2" width="500" height="164" /></a></div>
<p>This plugin lets you use Gravatar, MyBlogLog, OpenAvatar, Wavatar, Identicon, monsterID or Favico.ico files with your comments. But thats not all, this plugin provides you many features: gives you a Widget with your profile info and your gravatar, gives you the option to show an about the author box with posts shown on single page, let&#8217;s you show the Gravatar, OpenAvatar, Wavatar, Identicon, monsterID avatars in the Edit Comment section of your admin pages&#8230;<br />
<a class="more" href="http://wordpress.org/extend/plugins/wp-gravatar/">Download: WP-Gravatar</a></p>
<h3>WP-SnapAvatar</h3>
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/wp-snapavatar/"><img class="aligncenter size-full wp-image-1790" title="screenshot-4" src="http://aext.net/wp-contents/uploads/2009/12/screenshot-4.jpg" alt="screenshot-4" width="500" height="180" /></a></div>
<p>When people comment in your blog but they don&#8217;t have avatar, such as gravatar&#8230; this plugin will allows us to take a snapshot of their website for the replacement.<br />
<a class="more" href="http://wordpress.org/extend/plugins/wp-snapavatar/">Download: WP-SnapAvatar</a></p>
<h3>jQuery Comment Preview</h3>
<div class="bigimage"><a href="http://wordpress.org/extend/plugins/jquery-comment-preview/"><img class="aligncenter size-full wp-image-1792" title="screenshot-1" src="http://aext.net/wp-contents/uploads/2009/12/screenshot-1.png" alt="screenshot-1" width="500" height="245" /></a></div>
<p>Live comment preview without page reboot. Works on jQuery.</p>
<p><a class="more" href="http://wordpress.org/extend/plugins/jquery-comment-preview/">Download: jQuery Comment Preview</a></p>
<div class="txtad-cont"></div>
]]></content:encoded>
			<wfw:commentRss>http://aext.net/2009/12/10-useful-code-snippets-and-plugins-to-spice-up-wordpress-avatar/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
	</channel>
</rss>

