<?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>hongkiat.com &#187; Wordpress Plugin</title>
	<atom:link href="http://www.hongkiat.com/blog/category/wordpress/wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hongkiat.com/blog</link>
	<description>Online Tips For Tech Users, Bloggers and Designers</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Add Twitter Updates To Blog Sidebar &#8211; TwiBadge</title>
		<link>http://www.hongkiat.com/blog/add-twitter-updates-to-blog-sidebar-twibadge/</link>
		<comments>http://www.hongkiat.com/blog/add-twitter-updates-to-blog-sidebar-twibadge/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 10:21:15 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/?p=3698</guid>
		<description><![CDATA[TwiBadge is a WordPress plugin, in a widget format that resides on your WordPress blog [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://media02.hongkiat.com/twitter/twibadge.jpg" alt="twibadge Add Twitter Updates To Blog Sidebar   TwiBadge"  title="Add Twitter Updates To Blog Sidebar   TwiBadge" /></p>
<p><a href="http://www.bloghighlight.com/wordpress-plugins/twibadge/"><strong>TwiBadge</strong></a> is a WordPress plugin, in a widget format that resides on your WordPress blog sidebar. It <strong>displays all your Tweets and replies</strong>, basically what you see on <em>twitter.com/home</em>. <strong>TwiBadge</strong> also comes with a follow button that allow any interested visitors to easily add themselves as followers. </p>
<p><span id="more-3698"></span></p>
<p>The plugin currently supports <strong>WordPress 2.7</strong>, running on <strong>PHP5</strong> only. I sure hope the developer will start catering for the lower versions as not everyone is running 2.7 yet, as far as I know. Looking at how Twitter, the mini-blogging web service has been strongly influencing the social network and blogosphere, any tools and services that can potentially help increase Twitter followers is definitely worth knowing and checking out. </p>
<p>TwiBadge is available for download <a href="http://wordpress.org/extend/plugins/twibadge/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/add-twitter-updates-to-blog-sidebar-twibadge/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>35 Tips Tricks To Manage and Handle Multi-Author Blogs</title>
		<link>http://www.hongkiat.com/blog/35-tips-tricks-to-manage-and-handle-multi-author-blogs/</link>
		<comments>http://www.hongkiat.com/blog/35-tips-tricks-to-manage-and-handle-multi-author-blogs/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 10:07:10 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Tips Tricks]]></category>
		<category><![CDATA[access control]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[multi-authors]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[writers]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/?p=3078</guid>
		<description><![CDATA[Inviting other bloggers and writers to become co-authors is one great way to expand one&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/multi-author-blogging-wordpress.jpg" alt="multi author blogging wordpress 35 Tips Tricks To Manage and Handle Multi Author Blogs"  title="35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<p>Inviting other bloggers and writers to become co-authors is  one great way to expand one&#8217;s blog. Assuming the recruiting of writers part is being taken care of, the next big problem you could be facing is <em><strong> management</strong></em>. Managing multiple authors for a blog is never an easy task. It&#8217;s often a challenge to keep co-authors in control, getting them to write quality content on schedule, making sure they did not miss anything before hitting the <em>publish</em> button, etc. Also sometimes you might also want to give different authors different level of accessibility and controls, depending on their performances.</p>
<p>Luckily there are lots of WordPress plugins and resources out there to help owners and administrators to manage co-authors. If you are planning to turn your blog into a multi-author blog, here&#8217;s <strong>35 Tips Tricks To Manage and Handle Multi-Author Blogs</strong> you might want to check out.</p>
<p><strong>More WordPress related blog post:</strong></p>
<ul>
<li><a href="http://www.hongkiat.com/blog/40-most-wanted-wordpress-tricks-and-hacks/">Most Wanted WordPress Tips, Tricks and Hacks &#8211; Part I</a></li>
<li><a href="http://www.hongkiat.com/blog/30-more-most-wanted-wordpress-tips-tricks-and-hacks/">Most Wanted WordPress Tips, Tricks and Hacks &#8211; Part II</a></li>
<li><a href="http://www.hongkiat.com/blog/category/wordpress/">more..</a></li>
</ul>
<p>Full list after jump.</p>
<p><span id="more-3078"></span></p>
<h3>Managing Blog Posts</h3>
<p>If you have more than 5 authors on a particular blog, managing the daily published entries can be tedious especially when rules and checklists are not properly laid out. Even if they are, they might not be followed at the times. Dealing with situations like this, some plugins could be your life-savers, or at least making blog postings more efficient.</p>
<ul>
<li><strong><a href="http://anthologyoi.com/wordpress/plugins/future-posts-calendar-plugin.html">Future Posts Calendar</a></strong>
<p>Adds a simple month-by-month calendar that shows all the months you have future posts for (and the current month no matter what), it highlights the days you have posts for, and as an added bonus if you click a day the Post Timestamp boxes change to that day, month and year. Pretty handy to organize and plan blog post for a multi authors blog. Also comes in form of widget.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/wordpress-plugin-calendar.png" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="wordpress plugin calendar 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<p class="via"><a href="http://blog.econsultant.com/top-wordpress-calendars-plugins">Image Credit</a>.</p>
</li>
<li><strong><a href="http://ericulous.com/2007/03/19/wp-plugin-genki-pre-publish-reminder/">Pre-Publish Reminder</a></strong>
<p>A friendly checklist for you and your co-authors before they hit the publish button to place any blog article live on the main page.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/pre-publis-reminder.png" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="pre publis reminder 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<p><strong>Similar plugins</strong>: <a href="http://wordpress.org/extend/plugins/pre-publish-reminders/">Pre-Publish Reminders</a> by Nick Ohrn, <a href="http://cosaspoposas.com/plugins/">Category Remindr</a> for those who forget inserting categories.</p>
</li>
<li><strong><a href="http://www.dagondesign.com/articles/draft-notification-plugin-for-wordpress/">Draft Notification</a></strong>
<p>This WordPress plugin automatically emails the admin when a new draft is saved. The email contains the post’s title, the author, and a link. There is no options page currently, because there is really nothing to configure. The plugin now supports the new ‘pending’ status.</p>
<p><strong>Similar Plugins</strong>: <a href="http://wordpress.org/extend/plugins/draft-notifier/">Draft Notifier</a></p>
</li>
<li><strong><a href="http://wordpress.org/extend/plugins/co-authors/">Co-Authors</a></strong>
<p>Allows multiple authors to be associated with a post. Co-authored posts appear on a co-author&#8217;s posts page and feed. Additionally, co-authors may edit the posts they are associated with, and co-authors who are contributors may only edit posts if they have not been published (as is usual).</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/co-author.png" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="co author 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<p><strong>Similar Plugins</strong>: <a href="http://txfx.net/code/wordpress/multiple-authors/">Multi Authors</a></p>
</li>
<li><strong><a href="http://urbangiraffe.com/plugins/audit-trail/">Audit Trail Plugin</a></strong>
<p>Audit Trail is a plugin to keep track of what is going on inside your blog. It does this by recording certain actions (such as who logged in and when) and storing this information in the form of a log. Not only that but it records the full contents of posts (and pages) and allows you to restore a post to a previous version at any time.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/audit-trail-plugin.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="audit trail plugin 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
<li><strong><a href="http://wunder-ful.com/wordpress-plugins">Report Posts</a></strong>
<p>This allows your user to report any post they find not appropriate. Think of it as seeking users help on quality control. Reported posts then appear in the manage section of the admin console.</p>
</li>
<li><strong><a href="http://dhost.info/mrniceash/?p=74">Gravatar plugin For Multiple Authors</a></strong>
<p>WordPress plugin that provides multi users to show their respective gravatars on their authored posts.</p>
</li>
</ul>
<h3>Managing Multi Authors</h3>
<p>Sometimes you might want to give some authors a higher access over the others. By that we mean giving them the access to publish content without your moderation or perhaps access to sensitive areas you won&#8217;t share with the rest. These following plugins allow you to administrate your fellow authors the way you prefer.</p>
<ul>
<li><strong><a href="http://www.im-web-gefunden.de/wordpress-plugins/role-manager/">Role Manager</a></strong>
<p>Reworked from the previous version of Role Manager Plugin is written by David House and Owen Winkler. This plugin allows you to control roles and access for different authors on your blog.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/role-management.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="role management 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<p><strong>Similar plugins</strong>: <a href="http://agapetry.net/news/introducing-role-scoper/">Role Scoper</a></p>
</li>
<li><strong><a href="http://www.kenvillines.com/archives/000071.html">Draft Control</a></strong>
<p>The WordPress Plugin &quot;Draft Control&quot; allows users above level 5 to view drafts in a nice row paging system. </p>
</li>
<li><strong><a href="http://www.deepwave.net/articles/hide_dashboard/">Hide Dashboard</a></strong>
<p>A pretty self-explanatory plugin. The reason why you would need this is when you have multiple authors on your blog and you want to hide (or customize) the dashboards.</p>
</li>
<li><strong><a href="http://code.google.com/p/wp-group-restriction/">WP-Group Restriction</a></strong>
<p>Wp-group-restriction is a WordPress plugin that enhances the current user role feature, by allowing administrators to manage access to content (i.e., pages).</p>
</li>
<li><strong><a href="http://wordpress.org/extend/plugins/adminimize/">Adminimize</a></strong>
<p>The plugin changes the administration backend and gives you the power to assign rights on certain parts. Admins can activate/deactivate every part of the menu and even parts of the submenu.</p>
</li>
</ul>
<h3>Authors Profiles</h3>
<p>When co-authors write for your blog, the least you can do (if there&#8217;s no revenue sharing involved) is to publish a decent author&#8217;s profile as token of appreciation. Proper credits on authors are important, it shows how much you appreciate their work. Here are some plugins to place a decent <em>Author&#8217;s Profile</em> on blog post, or anywhere in the blog.</p>
<ul>
<li><strong><a href="http://garinungkadol.com/downloads/post-avatar/">Post Avatar</a></strong>
<p>Simplifies the process of including a picture when writing posts. Authors simply choose from a predefined list of images in the Write Post page to display an image in a post. A template tag displays the image with <code><a href="http://codex.wordpress.org/The_Loop">The Loop</a></code>.</p>
</li>
<li><strong><a href="http://wordpress.org/extend/plugins/user-photo/">User Photo</a></strong>
<p>Allows you to associate authors&#8217; profile <a href="http://www.hongkiat.com/blog/more/photography-mani.html" style="" target="_blank" rel="nofollow" onmouseover="self.status='http://www.hongkiat.com/blog/more/photography-mani.html';return true;" onmouseout="self.status=''">photos</a> with their account under Your Profile , or any other pages with the use of tags like <code>userphoto_the_author_photo()</code>, <code>userphoto_the_author_thumbnail()</code> etc.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/userphoto.png" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="userphoto 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
<li><strong><a href="http://www.dagondesign.com/articles/posts-by-author-plugin-for-wordpress/">Posts by Author Plugin</a></strong>
<p>This plugin will show the last X posts by the current author either at the bottom of every post, or where you manually specify in each post. Using the built-in options page, you can choose the number of posts to show, set the header text, choose to show the post dates, select the format of the date, and choose whether or not to include the current post in the list.</p>
</li>
<li><strong><a href="http://guff.szub.net/2005/01/31/get-author-profile/">Get Author Profile</a></strong>
<p>Allows you to access an author&#8217;s profile manually outside <code><a href="http://codex.wordpress.org/The_Loop">The Loop</a></code>, such as for a sidebar intro of the blog owner or to list contributors to your blog.</p>
</li>
<li><strong><a href="http://plugins.trac.wordpress.org/wiki/Userextra">Userextra</a></strong>
<p>This plugin basically does two things. It adds the ability to associate extra information to users, and supports category access control where users are being control on which category they are allow to access and post article to.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/userextra.png" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="userextra 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<li><strong><a href="http://colorlightstudio.com/2008/03/14/wordpress-plugin-author-exposed/">Author Exposed</a></strong>
<p>Simple WordPress plugin that allows your visitors easy and elegant way to see more details about the post author.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/author-exposed.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="author exposed 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
</li>
<li><strong><a href="http://www.mikesmullin.com/2006/06/21/list-authors-widget-10">List Author Widget</a></strong>
<p>Display a list of authors in your WordPress Sidebar Widgets linking to the authors.php page.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/list-authors.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="list authors 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
<li><strong><a href="http://www.leveltendesign.com/blog/tom/level10-blog-matrix-wordpress-plugin">Blog Matrix WordPress Plugin</a></strong>
<p>This plugin provides a suite of extended WordPress sidebar, navigation and blog info template tags that <em>can be filtered by author and category</em>.</p>
</li>
<li><strong><a href="http://blog.ninedays.org/2007/10/16/author-comment-wordpress-plugin/">Author Comments</a></strong>
<p>Highlights author&#8217;s comments with customizable styles. Requires author to login.</p>
</li>
</ul>
<h3>Communication</h3>
<p>Communication is perhaps the utmost important factor in any successful multi-author blogs. Not only it promotes sharing of ideas, getting each other mutually inspired, it also help prevent having 2 authors clasing on writing the same (or similar) blog topics.</p>
<ul>
<li><strong><a href="http://www.zirona.com/blog/software/quick-notes-on-the-wp-dashboard/">Share Notes on Dashboard</a></strong>
<p>If you blog with multiple persons, you can leave a message for the others. In the plugin file, you can determine, what capabilities a user must have to read the notes, and what capabilities he must have to write/modify them. By default, Authors and higher can write, and every registered user can read.</p>
</li>
<li><strong><a href="http://wordpress.byexamples.com/2007/01/29/our-todo-list-plugin/">Our Todo List</a></strong>
<p>A plugin allowing authors to get together to share ideas and tasks with a managable section in WordPress administration section.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/todo-list.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="todo list 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
<li><strong><a href="http://www.catalinionescu.com/wordpress-send-private-email-plugin.html">Send Private Email</a></strong>
<p>Allowing blog owners to send private emails to authors and users.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/send-private-emails.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="send private emails 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
<p><strong>Similar plugins</strong>: <a href="http://wordpress.org/extend/plugins/email-users/">Email Users</a></p>
</li>
<li>
    <a href="http://wordpress.org/extend/plugins/multi-author-comment-notification/"><strong>Multi Author Comment Notification</strong></a></p>
<p>Plugin that sends comment notification to not only the specific author of the post, but to other authors of the blog as well. Customisable via admin panel.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/multi-comment-notifications.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="multi comment notifications 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
</ul>
<h3>Revenue Sharing</h3>
<p>Last but not least &#8211; the <em>moolah</em> factor, the thing that drives and motivates (most) co-authors. Here are some plugins to make revenue sharing fair and square, or at least automated.</p>
<ul>
<li><strong><a href="http://wordpress.org/extend/plugins/author-advertising-plugin/">Author Advertising</a></strong>
<p>This plugin allows blog admins to create a revenue sharing program utilising one of the many advertising programs out there i.e Yahoo, Google Adsense, Amazon, Allposters etc. It can also be used as a banner manager, author <a href="http://www.hongkiat.com/blog/more/photography-mani.html?=qrcgu&#038;" style="" target="_blank" rel="nofollow" onmouseover="self.status='http://www.hongkiat.com/blog/more/photography-mani.html?=qrcgu&#038;';return true;" onmouseout="self.status=''">photo</a>/website widgets.</p>
<p><strong>Similar plugins</strong>: <a href="http://wordpress.org/extend/plugins/adsense-revenue-sharing/">AdSense Revenue Sharing</a></p>
</li>
</ul>
<h3>Further Readings</h3>
<ul>
<li><strong><a href="http://codex.wordpress.org/Roles_and_Capabilities">WordPress: Roles and Capabilities</a></strong>
<p>Indepth explanation on how blog owner can control the ability of assigning <a href="http://codex.wordpress.org/Roles_and_Capabilities#Roles">roles</a> to a user.</p>
</li>
<li><strong><a href="http://codex.wordpress.org/Author_Templates">WordPress: Author Templates</a></strong>
<p>This article explains how to change what happens when the blog viewer is visiting one of your site&#8217;s author pages.</p>
</li>
<li><strong><a href="http://wpcandy.com/articles/tutorials/got-multiple-authors-no-problem-create-an-about-this-author.html">Creating an &quot;About this Author&quot; for Multiple Authors</a></strong>
<p>How to insert About this Author at the end of every blog post.</p>
<p><img src="http://media02.hongkiat.com/multiple_authors_blogging/multiple-author-example.jpg" title="35 Tips Tricks To Manage and Handle Multi Author Blogs" alt="multiple author example 35 Tips Tricks To Manage and Handle Multi Author Blogs" /></p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/35-tips-tricks-to-manage-and-handle-multi-author-blogs/feed/</wfw:commentRss>
		<slash:comments>359</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin &#8211; Create SEO Friendly Search URL</title>
		<link>http://www.hongkiat.com/blog/wordpress-plugin-create-seo-friendly-search-url/</link>
		<comments>http://www.hongkiat.com/blog/wordpress-plugin-create-seo-friendly-search-url/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 08:59:50 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Tips Tricks]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[seo friendly]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/wordpress-plugin-create-seo-friendly-search-url/</guid>
		<description><![CDATA[Here&#8217;s an extremtly nice pluign I found mentioned in AdesBlog. This WordPress plugin turns your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/wordpress.jpg" alt="wordpress Wordpress Plugin   Create SEO Friendly Search URL"  title="Wordpress Plugin   Create SEO Friendly Search URL" /></p>
<p>Here&#8217;s an extremtly nice pluign I found mentioned in <a href="http://www.adesblog.com/2008/01/13/wp-plugin-nice-search/" target="_blank">AdesBlog</a>. This WordPress plugin turns your normal search string from:</p>
<blockquote>
<p>http://www.domain.com/<strong>?s=search-term</strong></p>
</blockquote>
<p>into</p>
<blockquote>
<p>http://www.domain.com/<strong>search/search-term</strong></p>
</blockquote>
<p>This plugin removes the unnecessary &quot;<em>?</em>&quot; and converts spaces <em>(%20)</em> into plus sign &quot;<em>+</em>&quot;, making your wordpress search string more readable, and looks good for search engine optimization. </p>
<p><span id="more-965"></span></p>
<p><a href="http://txfx.net/code/wordpress/nice-search/" target="_blank">Click here to download this plugin. </a></p>
<p class="via">via <a href="http://www.adesblog.com/2008/01/13/wp-plugin-nice-search/" target="_blank">AdesBlog</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/wordpress-plugin-create-seo-friendly-search-url/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>How to Perform Mass Search and Replace in WordPress</title>
		<link>http://www.hongkiat.com/blog/how-to-search-and-replace-wordpress-in-blog-post/</link>
		<comments>http://www.hongkiat.com/blog/how-to-search-and-replace-wordpress-in-blog-post/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 08:43:09 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Tips Tricks]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[search replace]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/how-to-search-and-replace-wordpress-in-blog-post/</guid>
		<description><![CDATA[Situations like these following leave you no choice but to undergo a mass find and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/wordpress.jpg" alt="wordpress How to Perform Mass Search and Replace in Wordpress"  title="How to Perform Mass Search and Replace in Wordpress" /> </p>
<p>Situations like these following leave you no choice but to undergo a <strong>mass find and replace</strong> to get the problem fixed.</p>
<ul>
<li><strong>Weird characters in blog entries after upgrade</strong>. After performing a wordpress upgrade, some characters will appear as &quot;&acirc;&euro;&quot;, &quot;&acirc;&euro;&trade;&quot;, &quot;??&quot; </li>
<li><strong>Rename keyword1 to keyword2</strong>. You want to rename <em>keyword1</em> in your entire database to <em>keyword2</em>, but opening the 100Mb database file with your text editor is not the smartest idea. After all, you&#8217;ll need to download a file as big as100Mb down before you can start changing, upload it  before you can preview.</li>
<li><strong>You discovered a typo</strong>. You been using this phrase all the while and just realized it was wrongly spelled and want to search and replace all blog contents containing this typo.</li>
<li>and so on&#8230;</li>
</ul>
<p>Here are few methods I&#8217;ve come to know that allows one to  mass find and replace in WordPress blog entries. And as always, <strong>please do a full database backup to avoid any data lost</strong>.</p>
<p><span id="more-942"></span></p>
<h3>1. Search and Replace with WordPress Plugin</h3>
<p><img class="desc" src="http://www.hongkiat.com/blog/wp-content/uploads/wp-findreplace.jpg" alt="wp findreplace How to Perform Mass Search and Replace in Wordpress"  title="How to Perform Mass Search and Replace in Wordpress" /></p>
<p>This plugin provides you with an interface in WP-Admin to search and replace text across all blog post. All you need to do is download, install the plugin and you are ready to go.</p>
<p><a href="http://thedeadone.net/wp-content/sw/Wordpress/searchandreplace.zip">Download <strong>Search and Replace</strong></a>. </p>
<h3>2. MySQL Search and Replace via PhpMyAdmin</h3>
<p>This requires you to have access to your PhpMyAdmin. If you are using this method, I&#8217;m assuming you are pretty familiar with how PhpMyAdmin works; if you are not DO NOT USE THIS METHOD. <strong>Backup your database before proceed. </strong></p>
<ol>
<li>Open up your database in PhpMyAdmin.</li>
<li>Most of the time, you&#8217;ll want to change the contents so we&#8217;ll use &quot;<em><strong>wp_post</strong></em>&quot; table and &quot;<em><strong>post_content</strong></em>&quot; field as an example here. Click on the <strong>SQL tab</strong>. 
<p><img class="desc" src="http://www.hongkiat.com/blog/wp-content/uploads/sqltab.jpg" alt="sqltab How to Perform Mass Search and Replace in Wordpress"  title="How to Perform Mass Search and Replace in Wordpress" /></p>
</li>
<li>Here&#8217;s the quote you should paste into the textarea.
<pre name="code" class="php">
UPDATE wp_posts SET post_content = REPLACE (
post_content,
'Item to replace here',
'Replacement text here');
	  </pre>
<p>Make sure all text are in between the <em>quotes</em> <strong>&#8221;</strong>. Double check before you hit the <strong>GO</strong> button. </p>
</li>
</ol>
<p>So when you hit the <strong>GO</strong> button, it will go through <em><strong>post_content</strong></em> field under <em><strong>wp_post</strong></em> table, looking for all/any &#8216;<em>Item to replace here</em>&#8216; and replace them with &#8216;<em>Replacement text here</em>&#8216;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/how-to-search-and-replace-wordpress-in-blog-post/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Protect WordPress Blog against Image Theft /Hotlinking</title>
		<link>http://www.hongkiat.com/blog/protect-wordpress-blog-against-image-theft-hotlinking/</link>
		<comments>http://www.hongkiat.com/blog/protect-wordpress-blog-against-image-theft-hotlinking/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 12:21:04 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Tips Tricks]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/protect-wordpress-blog-against-image-theft-hotlinking/</guid>
		<description><![CDATA[I guess no bloggers like to see their images being hotlink in other spam blogs, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/imagehotlink.png" alt="imagehotlink Protect Wordpress Blog against Image Theft /Hotlinking" title="prevent image hotlink" /> </p>
<p>I guess no bloggers like to see their images being hotlink in other spam blogs, forums, etc without their authorization. To fight against these image hotlinking, we can set rules in .htaccess but the drawback here is, it would also block images to appear in feeds. Although its solvable, but writing htaccess codes can look complex for any novice users.</p>
<p><span id="more-794"></span></p>
<p><a href="http://www.bahn-spass.de/2007/05/05/hotlink-protection/" target="_blank" rel="nofollow">Lim Dul</a> of Bahn-spass wrote a plugin for WordPress that helps prevent image hotlinking as easy as installing and activating. It blocks image hotlinking by displaying this following image by default.</p>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/nohotlink.png" alt="nohotlink Protect Wordpress Blog against Image Theft /Hotlinking" title="prevent image hotlink" /> </p>
<p><a href="http://www.bahn-spass.de/wp-content/uploads/hotlink-protection.zip" target="_blank" rel="nofollow">Download Hotlink Protection Plugin for WordPress</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/protect-wordpress-blog-against-image-theft-hotlinking/feed/</wfw:commentRss>
		<slash:comments>156</slash:comments>
		</item>
		<item>
		<title>Keeping Private Notes In WordPress Dashboard</title>
		<link>http://www.hongkiat.com/blog/keeping-private-notes-in-wordpress-dashboard/</link>
		<comments>http://www.hongkiat.com/blog/keeping-private-notes-in-wordpress-dashboard/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 10:30:55 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/keeping-private-notes-in-wordpress-dashboard/</guid>
		<description><![CDATA[Maxpower came out with a WordPress plug-in that allows you to keep notes inside the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="desc" src="http://www.hongkiat.com/blog/wp-content/uploads/dashboard-note.jpg" alt="dashboard note Keeping Private Notes In Wordpress Dashboard" title="Wordpress Dashboard Note" /></p>
<p><a href="http://www.maxpower.ca/wordpress-plugin-dash-note/2006/05/02/" target="_blank" rel="nofollow">Maxpower</a> came out with a WordPress plug-in that allows you to <strong>keep  notes inside the wp-admin dashboard</strong>. Located at the bottom right, it is only visible to the authorized ones. This is particularly useful for bloggers that like to keep note or reminder of what to write in their future post, or even keeping data for a compilation entry. </p>
<p><span id="more-790"></span></p>
<p><a href="http://www.maxpower.ca/?dl=dash-note-RC1.zip" target="_blank" rel="nofollow">Download Dash-Note for WordPress</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/keeping-private-notes-in-wordpress-dashboard/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Adding Nice WordPress Pagination</title>
		<link>http://www.hongkiat.com/blog/adding-nice-wordpress-pagination/</link>
		<comments>http://www.hongkiat.com/blog/adding-nice-wordpress-pagination/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 11:27:07 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress Tips Tricks]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/adding-nice-wordpress-pagination/</guid>
		<description><![CDATA[Take a look at the bottom of your wordpress blog, you should see 2 hyperlink [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/pagination/title.png" width="450" height="152" title="Adding Nice Wordpress Pagination" alt="title Adding Nice Wordpress Pagination" /></p>
<p>Take a look at the bottom of your wordpress blog, you should see 2 hyperlink respectively &#8220;<strong>previous</strong>&#8221; and &#8220;<strong>next</strong>&#8220;.  This 2 hyperlinks keep your neighboring content connected, thus making it easier for readers to navigate through your older entries. </P></p>
<p>It also helps bots crawl your content better, therefore the more comprehensive these links are they better.</p>
<p><span id="more-760"></span></p>
<h4>Default WordPress Pagination</h4>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/pagination/pagination-default.png" width="350" height="48" title="Adding Nice Wordpress Pagination" alt="pagination default Adding Nice Wordpress Pagination" /></p>
<p><P>Many are not satisfied with just using default &#8220;previous&#8221; &#8220;next&#8221;, we want better <strong>pagination</strong> (page navigation) for our blog. Here&#8217;s a good pagination plugin &#8211; <strong><a href="http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP-PageNavi</a></strong>, created by <strong>Lester Chan</strong>.</p>
<h4>WP-PageNavi WordPress Pagination</h4>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/pagination/pagination-lester.png" width="350" height="41" title="Adding Nice Wordpress Pagination" alt="pagination lester Adding Nice Wordpress Pagination" /></p>
<h4>Examples of Content Pagination</h4>
<p>New content comes in and old content will be kept in archives. If you have a lot of articles and you want to maximize the chances for exposure, this is definitely one good way. Here are few sites that are using similar pagination concept.</p>
<p><strong>Digg.com</strong></p>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/pagination/pagination-digg.png" width="420" height="53" title="Adding Nice Wordpress Pagination" alt="pagination digg Adding Nice Wordpress Pagination" /></p>
<p><strong>CSSRemix</strong></p>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/pagination/pagination-cssremix.png" width="420" height="40" title="Adding Nice Wordpress Pagination" alt="pagination cssremix Adding Nice Wordpress Pagination" /></p>
<p><strong>Themes.Wordpress</strong></p>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/pagination/pagination-themeswp.png" width="420" height="49" title="Adding Nice Wordpress Pagination" alt="pagination themeswp Adding Nice Wordpress Pagination" /></p>
<h4>Installing and Using WP-PageNavi Plugin</h4>
<ol>
<li>Download <a href="http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP-PageNavi</a></li>
<li>Upload folder &#8220;<em>pagenavi</em>&#8221; under <em>wp-contents/plugins</em></li>
<li>Activate the plugin</li>
<li>Add the following code into your current theme&#8217;s php file.
<pre name="code" class="html">&lt;?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?&gt;</pre>
</li>
<li>Configure the settings under <em>WP-Admin</em> -> <em>Options</em> -> <em>PageNavi</em></li>
<li>Click &#8220;<em>Update Options</em>&#8221; and you are done.</li>
</ol>
<p>Most will prefer putting pagination at the bottom of the page (footer.php) but I&#8217;ve also seen some putting them on the top of the page (header.php), right before the entry title.</p>
<h4>Editing Pagination Style and Design</h4>
<p>To tweak and play with the pagination style, you edit this file:</p>
<pre name="code" class="html">/wp-content/plugins/pagenavi/pagenavi-css.css </pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/adding-nice-wordpress-pagination/feed/</wfw:commentRss>
		<slash:comments>77</slash:comments>
		</item>
		<item>
		<title>NuffNang WordPress Plugin</title>
		<link>http://www.hongkiat.com/blog/nuffnang-wordpress-plugin/</link>
		<comments>http://www.hongkiat.com/blog/nuffnang-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 27 Apr 2007 15:30:23 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Make Money Online]]></category>
		<category><![CDATA[NuffNang]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/nuffnang-wordpress-plugin/</guid>
		<description><![CDATA[If you are are publisher of Nuffnang Ads, here&#8217;s a nice WordPress Plugin created by [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/logo/450-nuffnang.png" alt="450 nuffnang NuffNang Wordpress Plugin" title="Nuffnang" /> </p>
<p>If you are are publisher of <a href="http://www.nuffnang.com.my" target="_blank">Nuffnang</a> Ads, here&#8217;s a nice WordPress Plugin created by <a href="http://zeo.unic.net.my/notes/nuffnang-wordpress-plugin/" target="_blank">Zeo</a> for your Nuffnang ad unit. </p>
<p><span id="more-593"></span></p>
<h4>How Nuffnang plugin works?</h4>
<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/nuffnang/dragnn.png" alt="dragnn NuffNang Wordpress Plugin" title="Nuffnang" /> </p>
<p><a href="http://zeo.unic.net.my/downloads/nuffnang.zip">This plugin</a> basically helps you to insert the Nuffnang ads on the fly without the need to login into Nuffnang.com.my. It is drag-drop ready for widget sidebars, also helps to conveniently configure your Nuffnang rectangular ads after a content post. </p>
<p><a href="http://zeo.unic.net.my/downloads/nuffnang.zip" target="_blank">Download Nuffnang WordPress Plugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/nuffnang-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Increase traffic with Landing Sites</title>
		<link>http://www.hongkiat.com/blog/increase-traffic-with-landing-sites/</link>
		<comments>http://www.hongkiat.com/blog/increase-traffic-with-landing-sites/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 02:37:08 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/increase-traffic-with-landing-sites/</guid>
		<description><![CDATA[Landing sites are the immediate page you see after clicking in from a SERP (Search [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/landing01.png" title="Increase traffic with Landing Sites" alt="landing01 Increase traffic with Landing Sites" /> </p>
<p>Landing sites are the immediate page you see after clicking in from a <a href="http://en.wikipedia.org/wiki/Search_engine_results_page" target="_blank">SERP</a> (Search Engine Result Page). Here&#8217;s a better definition of Landing Sites. </p>
<p><span id="more-501"></span></p>
<p><em>Landing sites are well known from the eCommerce world &#8211; ever experience you searched google for &quot;cheap colgate toothpaste&quot; and found an online reseller, and the site you landed on from google was exactly about colgate toothpaste? What if we grabbed the google search string from the visitor, and made the front page listing a mix of related posts to what he searched for and the newest posts?</em></p>
<p>Whenever you do a query in any major search engines and you happened to clicked-in to a site with landing sites, you will be greeted with:</p>
<ul>
<li>Welcome messages </li>
<li>Which search engines you&#8217;ve come from </li>
<li>The keyword(s) you&#8217;ve searched</li>
<li>More content related to keyword(s) you&#8217;ve searched</li>
</ul>
<h4>Why is landing sites necessary?</h4>
<p>Imagine if a Google surfer queried; got it your site and saw an informative landing site that provides he/she more related content, you might just got yourself a regular reader. Landing sites can also prolong the duration a reader stay at your site, thus leading to more impressions and hits. Who knows, it could help some ads CTR too.</p>
<h4>Installation</h4>
<p>Installing landing sites plugin for WordPress is easy, but you might end up spending some tedious time customizing it to perfectly suit your blog design. </p>
<p><a href="http://theundersigned.net/mint/pepper/orderedlist/downloads/download.php?file=http%3A//theundersigned.net/wp-content/landingsites13.zip" target="_blank">Download landing sites plugin for WordPress</a> (theundersigned.net) | <a href="http://theundersigned.net/2006/06/landing-sites-11/" target="_blank">Read installation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/increase-traffic-with-landing-sites/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Change WordPress Permalinks without affecting Google Index</title>
		<link>http://www.hongkiat.com/blog/change-wordpress-permalinks-without-affecting-search-index/</link>
		<comments>http://www.hongkiat.com/blog/change-wordpress-permalinks-without-affecting-search-index/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 19:49:28 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/change-wordpress-permalinks-without-affecting-search-index/</guid>
		<description><![CDATA[You want to remove particular prefix (Dates, for example) in the URL on all your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/permalinks.jpg" title="Change Wordpress Permalinks without affecting Google Index" alt="permalinks Change Wordpress Permalinks without affecting Google Index" /></p>
<p>You want to remove particular <strong>prefix</strong> (Dates, for example) in the URL on all your permalinks but you can&#8217;t bear the cost as your entries are either indexed by Google, hyperlink-ed by bloggers or bookmarked by other websites.</p>
<ul>
<li>(a) http://www.domain.com/blog/2007/01/11/name-of-your-entry/ (long url)</li>
<li>(b) http://www.domain.com/blog/name-of-your-entry/ (short url)</li>
</ul>
<p><span id="more-424"></span></p>
<h3>Solution</h3>
<p><a href="http://www.deanlee.cn/wordpress/permalinks-migration-plugin/" target="_blank">Deanlee</a> provides a WordPress Plugin replace your (a) with (b) and will not have any side effects, no losing of visitors.</p>
<p>There is a way to tell the search engines (and browsers) that the page has permenantly moved, and that the old address should be replaced by the new one . It&#8217;s called a â€œ301 Redirectâ€, also known as a Permanent Redirect.When you do this, Search engines will update their indexes quickly and you won&#8217;t lose your pagerank.you will continue to receive traffic as though nothing had changed. This works for search engines, bookmarks, and links from other sites.</p>
<h3>Implementation</h3>
<ol>
<li>Download the <a href="http://www.deanlee.cn/downloads/deans_permalinks_migration_v1.0.zip" target="_blank" rel="nofollow">Permalinks Migration plugin</a></li>
<li>Upload to /wp-content/plugins/</li>
<li>(Admin Panel) Activate the plugin</li>
<li>(Admin Panel) Go <strong>Options</strong> -> <strong>PermalinksMigration</strong>. Set your <i>old</i> permalinks structure</li>
<li>(Admin Panel) Go <strong>Options</strong> -> <strong>Permalinks</strong>. Set your <i>new</i> permalinks structure</li>
<li>(Admin Panel) Go <strong>Options</strong> -> <strong>Permalinks</strong>. Click <strong>Update Permalinks Structure</strong></li>
<li>Done!</li>
</ol>
<h3>
<h3>Verifying</h3>
<ol>
<li>Go Google.com, type site:yourdomain.com. This list all your <a href="http://www.hongkiat.com/blog/what-google-sees-in-your-website/" target="_blank">blog entries indexed by Google</a></li>
<li>Find a result that used one of the old permalinks.</li>
<li>Click it and you should be brought to the new URL with the same content.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/change-wordpress-permalinks-without-affecting-search-index/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>How to Widgetize non-widget WordPress theme</title>
		<link>http://www.hongkiat.com/blog/how-to-widgetize-non-widget-wordpress-theme/</link>
		<comments>http://www.hongkiat.com/blog/how-to-widgetize-non-widget-wordpress-theme/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 14:27:08 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/2007/02/19/how-to-widgetize-non-widget-wordpress-theme/</guid>
		<description><![CDATA[Consider this &#8211; If you found a WordPress theme that you like so much but [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/widgetize.gif" alt="widgetize How to Widgetize non widget Wordpress theme"  title="How to Widgetize non widget Wordpress theme" /><br />
Consider this &#8211; If you found a <a href="http://www.hongkiat.com/blog/out/elegant" style="" target="_blank" rel="nofollow" onmouseover="self.status='http://www.hongkiat.com/blog/out/elegant';return true;" onmouseout="self.status=''">WordPress theme</a> that you like so much but it is not widget-supported, don&#8217;t give up just yet. Methods below helps you to widgetize non-widget theme to a drag-drop widget theme. Download <a href="http://automattic.com/code/widgets/" target="_blank" rel="nofollow">Widget plugin</a> from Automattic, upload them accordingly and follow the 2 steps below.<br />
<span id="more-343"></span></p>
<p class="subtitle01">Step 1</p>
<p>Look for <strong>functions.php</strong> (Create one if you don&#8217;t have). Insert the following code into it, save and close. We are done with <strong>functions.php</strong>. Basically what this codes does is &#8211; it register the sidebar as dynamic.</p>
<blockquote class="code"><p>
&lt;?php<br />
if ( function_exists(&#8216;register_sidebar&#8217;) )<br />
register_sidebar();<br />
?&gt;
</p></blockquote>
<p class="subtitle01">Step 2</p>
<p>Here&#8217;s how a typical <strong>sidebar.php</strong> will look like.</p>
<blockquote class="code"><p>
&lt;div id=&quot;sidebar&quot;&gt;<br />
&lt;h2&gt;Search this site&lt;/h2&gt;<br />
&lt;div id=&quot;searchdiv&quot;&gt;<br />
&lt;form id=&quot;searchform&quot; method=&quot;get&quot; action=&quot;&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;&quot;&gt;<br />
&lt;input type=&quot;text&quot; name=&quot;s&quot; id=&quot;s&quot; size=&quot;20&quot;/&gt;<br />
&lt;input name=&quot;sbutt&quot; type=&quot;submit&quot; value=&quot;Go&quot; alt=&quot;Submit&quot;  /&gt;<br />
&lt;/form&gt;<br />
&lt;/div&gt;<br />
&lt;h2&gt;&lt;?php _e(&#8216;Archives&#8217;); ?&gt;&lt;/h2&gt;<br />
&lt;ul&gt;&lt;?php wp_get_archives(&#8216;type=monthly&#8217;); ?&gt;&lt;/ul&gt;<br />
&lt;h2&gt;&lt;?php _e(&#8216;Categories&#8217;); ?&gt;&lt;/h2&gt;<br />
&lt;ul&gt;&lt;?php list_cats() ?&gt;&lt;/ul&gt;<br />
&lt;h2&gt;&lt;?php _e(&#8216;Meta&#8217;); ?&gt;&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_register(); ?&gt;<br />
&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#8216;rss2_url&#8217;); ?&gt;&quot;&gt;RSS&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;?php wp_meta(); ?&gt;<br />
&lt;/div&gt;</p>
</blockquote>
<p>What you need to do here is to enclose an <em>an-if</em> statement into <strong>sidebar.php</strong>. The addition of codes are in bold.</p>
<blockquote class="code">
<p>&lt;div id=&quot;sidebar&quot;&gt;<br />
  &lt;h2&gt;Search this site&lt;/h2&gt;<br />
  &lt;div id=&quot;searchdiv&quot;&gt;<br />
  &lt;form id=&quot;searchform&quot; method=&quot;get&quot; action=&quot;&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;&quot;&gt;<br />
  &lt;input type=&quot;text&quot; name=&quot;s&quot; id=&quot;s&quot; size=&quot;20&quot;/&gt;<br />
  &lt;input name=&quot;sbutt&quot; type=&quot;submit&quot; value=&quot;Go&quot; alt=&quot;Submit&quot;  /&gt;<br />
  &lt;/form&gt;<br />
  &lt;/div&gt;<br />
  //<br />
  <strong>&lt;?php if ( !function_exists(&#8216;dynamic_sidebar&#8217;)<br />
  || !dynamic_sidebar() ) : ?&gt; // added</strong><br />
  //<br />
  &lt;h2&gt;&lt;?php _e(&#8216;Archives&#8217;); ?&gt;&lt;/h2&gt;<br />
  &lt;ul&gt;&lt;?php wp_get_archives(&#8216;type=monthly&#8217;); ?&gt;&lt;/ul&gt;<br />
  &lt;h2&gt;&lt;?php _e(&#8216;Categories&#8217;); ?&gt;&lt;/h2&gt;<br />
  &lt;ul&gt;&lt;?php list_cats() ?&gt;&lt;/ul&gt;<br />
  &lt;h2&gt;&lt;?php _e(&#8216;Meta&#8217;); ?&gt;&lt;/h2&gt;<br />
  &lt;ul&gt;<br />
  &lt;?php wp_register(); ?&gt;<br />
  &lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#8216;rss2_url&#8217;); ?&gt;&quot;&gt;RSS&lt;/a&gt;&lt;/li&gt;<br />
  &lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;/li&gt;<br />
  &lt;/ul&gt;<br />
  &lt;?php wp_meta(); ?&gt;<br />
  //<br />
  <strong>&lt;?php endif; ?&gt; // added</strong><br />
  //<br />
  &lt;/div&gt;</p>
</blockquote>
<p>That&#8217;s it. The theme now is now widgetized. You can now do the drag-drops like the widget themes. Here&#8217;s  a good<a href="http://codex.wordpress.org/Plugins/WordPress_Widgets" target="_blank" rel="nofollow">WordPress widget resource</a>. Thank you to <a href="http://www.danielfranklingomez.com" target="_blank">Daniel</a> who tipped me on this, I&#8217;ll share this on your behalf since you are not writing a tech blog :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/how-to-widgetize-non-widget-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Execute PHP in WordPress post, page and Widget Sidebar</title>
		<link>http://www.hongkiat.com/blog/execute-php-in-wordpress-post-page-and-widget-sidebar/</link>
		<comments>http://www.hongkiat.com/blog/execute-php-in-wordpress-post-page-and-widget-sidebar/#comments</comments>
		<pubDate>Sun, 18 Feb 2007 14:32:55 +0000</pubDate>
		<dc:creator>hongkiat</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[execute]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.hongkiat.com/blog/2007/02/18/execute-php-in-wordpress-post-page-and-widget-sidebar/</guid>
		<description><![CDATA[If you are still struggling on how to insert PHP Codes inside particular blog post, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hongkiat.com/blog/wp-content/uploads/phpwidget.gif" title="Execute PHP in Wordpress post, page and Widget Sidebar" alt="phpwidget Execute PHP in Wordpress post, page and Widget Sidebar" /></p>
<p>If you are still struggling on how to insert PHP Codes inside particular blog post, page or a widget sidebar for execution; the following tutorial is for you.</p>
<p><span id="more-397"></span></p>
<h3><strong>Executing PHP codes in WordPress Page/Post</strong></h3>
<h4><strong>Installation</strong></h4>
<ol>
<li> Download <a title="execute php codes in wordpress" href="http://priyadi.net/wp-content/plugins/phpexec.txt">phpexec.txt</a> </li>
<li> Rename <em>phpexec.txt</em> to <em>phpexec.php</em> </li>
<li> Upload to /wp-content/plugins/ directory </li>
<li> Activate the plug-in from WordPress administration menu </li>
</ol>
<h4><strong>Usage</strong></h4>
<p>Anywhere in your post/pages where you want to execute a PHP Codes, insert <em>&lt;phpcode&gt;</em> before your php codes and <em>&lt;/phpcode&gt;</em> your php codes.</p>
<pre name="code" class="php">
&lt;phpcode&gt;
	&lt;?php
		echo "Current date and time: ";
		echo date("l dS of F Y h:i:s A");
	?&gt;
&lt;/phpcode&gt;
</pre>
<h4><strong>Security</strong></h4>
<p>If you are running a blog with multiple users, you need to determine who can run this plug-in. Alter the settings in your Administration Menu. <em>Options -> PHPExec</em></p>
<h3><strong>Executing PHP codes in WordPress widget sidebar</strong></h3>
<h4><strong>Installation</strong></h4>
<ol>
<li><strong><a href="http://downloads.wordpress.org/plugin/php-code-widget.2.1.zip">Download</a></strong> the plugin.<a href="http://hongkiat.com/blog/wp-content/uploads/execphp.txt"></a></li>
<li>Rename execphp.txt to execphp.php</li>
<li> Upload to /wp-content/plugins/ directory </li>
<li> Activate the plug-in from WordPress administration menu </li>
</ol>
<h4><strong>Usage</strong></h4>
<p>This plug-in work like a normal text widget except that it allows execution of PHP Codes. You can create up to 9 instances of this widget. <img src="http://www.hongkiat.com/blog/wp-content/uploads/phpwidget.jpg" title="Execute PHP in Wordpress post, page and Widget Sidebar" alt="phpwidget Execute PHP in Wordpress post, page and Widget Sidebar" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hongkiat.com/blog/execute-php-in-wordpress-post-page-and-widget-sidebar/feed/</wfw:commentRss>
		<slash:comments>256</slash:comments>
		</item>
	</channel>
</rss>

