<?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>bavotasan.com &#187; editor</title>
	<atom:link href="http://bavotasan.com/tag/editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://bavotasan.com</link>
	<description>by c.bavota</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:42:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Magazine Basic v2.6 WordPress Theme</title>
		<link>http://bavotasan.com/2010/magazine-basic-free-wordpress-theme/</link>
		<comments>http://bavotasan.com/2010/magazine-basic-free-wordpress-theme/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 13:05:03 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[engine v2]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[menu system]]></category>
		<category><![CDATA[New Features]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1488</guid>
		<description><![CDATA[Since I have been doing all this talking about WordPress 3.0, I thought it only fitting to start incorporating some if its features into my themes. The first theme to get the upgrade is Magazine Basic. Version 2.6 also has the Arturo Theme Engine v2.0 installed to give a smoother experience while configuring the theme [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/magabasi.png" alt="magabasi" title="magabasi" width="300" height="225" class="alignright size-full wp-image-1489" />Since I have been doing all this talking about WordPress 3.0, I thought it only fitting to start incorporating some if its features into my themes. The first theme to get the upgrade is <a href="http://themes.bavotasan.com/our-themes/basic-themes/magazine-basic">Magazine Basic</a>. Version 2.6 also has the Arturo Theme Engine v2.0 installed to give a smoother experience while configuring the theme options. The new MB is currently available for download off of <a href="http://wordpress.org/extend/themes/magazine-basic">WordPress.org</a>.<span id="more-1488"></span> </p>
<p>Here are a few of the new features:</p>
<ul>
<li>WordPress 3.0 menu system</li>
<li>WordPress 3.0 background editor</li>
<li>Arturo Theme Engine v2.0</li>
<li>Ajax save function</li>
<li>Cleaner code</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/magazine-basic-free-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>114</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0: Activating the Background Editor</title>
		<link>http://bavotasan.com/2010/wordpress-3-activating-background-editor/</link>
		<comments>http://bavotasan.com/2010/wordpress-3-activating-background-editor/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 21:31:39 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[admin user]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Placing]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[someone]]></category>
		<category><![CDATA[Wp]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=2193</guid>
		<description><![CDATA[Adding a color or image to your Web site&#8217;s background is not a very complicated thing to do if you are familiar with CSS. Luckily for those out there who know nothing about CSS, WordPress 3.0 introduces a simple admin user-interface that makes it extremely simple to select a color or image for your background. [...]]]></description>
			<content:encoded><![CDATA[<p>Adding a color or image to your Web site&#8217;s background is not a very complicated thing to do if you are familiar with CSS. Luckily for those out there who know nothing about CSS, WordPress 3.0 introduces a simple admin user-interface that makes it extremely simple to select a color or image for your background. There are even controls for image position, repeating and attachment.<br />
<span id="more-2193"></span><br />
<div id="attachment_2194" class="wp-caption aligncenter" style="width: 570px"><img src="http://bavotasan.com/wp-content/uploads/2010/06/background.jpg" alt="" title="Background Editor" width="560" height="420" class="size-full wp-image-2194" /><p class="wp-caption-text">The new background editor in WordPress 3.0</p></div></p>
<p>Activating the background editor only requires that you add one line of code to your theme&#8217;s <code>functions.php</code> file.</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'add_custom_background'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> add_custom_background<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></td></tr></table></div>

<p>This will add the &#8220;Background&#8221; link to your Appearance panel in the wp-admin. Placing it inside the <code>function_exists()</code> function makes it backwards compatible in case someone uses your theme with WordPress 2.9.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/wordpress-3-activating-background-editor/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>New Video Demonstrations in the Support Forum</title>
		<link>http://bavotasan.com/2010/new-video-demonstrations-in-the-support-forum/</link>
		<comments>http://bavotasan.com/2010/new-video-demonstrations-in-the-support-forum/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 22:22:31 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css editor]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[custom css]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[engine]]></category>
		<category><![CDATA[engine v2]]></category>
		<category><![CDATA[Forum]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[New Features]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[Support Forum]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1682</guid>
		<description><![CDATA[I put together some video demonstrations in the Support Forum to get people ready for the release of Magazine Premium. If all goes as planned, MP will be out tomorrow (fingers crossed). I&#8217;m going to do my best to release new video demos as often as possible to help users adapt to the new features [...]]]></description>
			<content:encoded><![CDATA[<p>I put together some video demonstrations in the <a href="http://support.bavotasan.com">Support Forum</a> to get people ready for the release of Magazine Premium. If all goes as planned, MP will be out tomorrow (fingers crossed). I&#8217;m going to do my best to release new video demos as often as possible to help users adapt to the new features available in MP.<br />
<span id="more-1682"></span><br />
After all the kinks are ironed out of the new UI I will update every theme developed by <a href="http://themes.bavotasan.com">Themes by bavotasan.com</a> to include the <a href="http://themes.bavotasan.com/features">Arturo Theme Engine v2.0</a> admin interface.</p>
<p>Here are the latest video demos:</p>
<ul>
<li><a href="http://support.bavotasan.com/topic/setting-up-the-custom-css-editor">Setting Up the Custom CSS Editor</a></li>
<li><a href="http://support.bavotasan.com/topic/adding-a-logo-to-the-header">Adding a Logo to the Header</a></li>
<li><a href="http://support.bavotasan.com/topic/how-to-add-categories-pages-and-links-to-the-nav-menu">How to add Categories, Pages and Links to the Nav Menu</a></li>
<p></uL></p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2010/new-video-demonstrations-in-the-support-forum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.9 is Out!</title>
		<link>http://bavotasan.com/2009/wordpress-2-9-is-out/</link>
		<comments>http://bavotasan.com/2009/wordpress-2-9-is-out/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 16:32:49 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[bunch]]></category>
		<category><![CDATA[chance]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[New Features]]></category>
		<category><![CDATA[org]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1597</guid>
		<description><![CDATA[I haven&#8217;t had a chance to go through WordPress 2.9 and figure out all the improvements just yet, but I am excited to do so. A few items they have been boasting about are a global undo/”trash” feature, a built-in image editor, a batch plugin update/compatibility checking and easier video embeds. Here is a little [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t had a chance to go through WordPress 2.9 and figure out all the improvements just yet, but I am excited to do so. A few items they have been boasting about are a global undo/”trash” feature, a built-in image editor, a batch plugin update/compatibility checking and easier video embeds.<br />
<span id="more-1597"></span><br />
Here is a little video from WordPress.org that goes through a bunch of the new features in 2.9.</p>
<p><embed src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.11" type="application/x-shockwave-flash" width="580" height="326" allowscriptaccess="always" allowfullscreen="true" flashvars="guid=NBZ853Xn&amp;width=580&amp;height=326" title="Introducing WordPress 2.9 Carmen"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/wordpress-2-9-is-out/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>10 Great Free Mac Apps for Web Developers</title>
		<link>http://bavotasan.com/2009/10-great-free-mac-apps-for-web-developers/</link>
		<comments>http://bavotasan.com/2009/10-great-free-mac-apps-for-web-developers/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 21:06:15 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[everything]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[mac man]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[purpose]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web developers]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=1504</guid>
		<description><![CDATA[I have been a Mac man for almost ten years now, and though many Web developers swear to working on a PC, I find my Mac has everything I need to develop, design and program Web sites. Luckily there are tons of great free apps available to help any developer work more efficiently on their [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a Mac man for almost ten years now, and though many Web developers swear to working on a PC, I find my Mac has everything I need to develop, design and program Web sites. Luckily there are tons of great free apps available to help any developer work more efficiently on their Mac.<br />
<span id="more-1504"></span><br />
Here is a list of 10 great free Mac apps for Web developers that I use:</p>
<div class="lists">
<div class="sections">
<h2>TextWrangler</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/textwrangler.jpg" alt="textwrangler" title="textwrangler" width="560" height="163" class="alignleft size-full wp-image-1505" /><br />
TextWrangler is the powerful general purpose text editor with some great features. Whether you are working with HTML, CSS, PHP or any other Web programming language, TextWrangler has everything you need to easily edit your code.<br />
<a href="http://www.barebones.com/products/textwrangler/index.html">http://www.barebones.com/products/textwrangler/index.html</a>
</div>
<div class="sections">
<h2>MAMP</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/mamp.jpg" alt="mamp" title="mamp" width="560" height="163" class="alignleft size-full wp-image-1506" /><br />
MAMP installs Apache, Mysql and PHP on your Mac to create a fully functioning Web environment which will allow you to test all aspects of your Web site locally. It&#8217;s smart to have an environment to test and work with offline before making your changed on your live site.<br />
<a href="http://www.mamp.info/en/mamp/index.html">http://www.mamp.info/en/mamp/index.html</a>
</div>
<div class="sections">
<h2>Paparazzi!</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/paprazzi.jpg" alt="paprazzi" title="paprazzi" width="560" height="163" class="alignleft size-full wp-image-1507" /><br />
Paparazzi! is a small utility for Mac OS X that takes screen shots of Web pages. This is helpful for creating your portfolio or sending screen shots to clients.<br />
<a href="http://derailer.org/paparazzi/">http://derailer.org/paparazzi/</a>
</div>
<div class="sections">
<h2>YemuZip</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/yemuzip.jpg" alt="yemuzip" title="yemuzip" width="560" height="163" class="alignleft size-full wp-image-1509" /><br />
YemuZip is an easy-to-use application for making zip files. Just drag, drop, name your zip file and you&#8217;re done. The native Mac file compressor utility adds Mac-specific info to zip files that, when extracted on a PC, looks like garbage.<br />
<a href="http://www.yellowmug.com/yemuzip/">http://www.yellowmug.com/yemuzip/</a>
</div>
<div class="sections">
<h2>VirtualBox</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/virtualbox.jpg" alt="virtualbox" title="virtualbox" width="560" height="163" class="alignleft size-full wp-image-1510" /><br />
VirtualBox is a general-purpose full virtualizer for x86 hardware that allows Mac user to load Windows software on their desktop. <a href="http://bavotasan.com/tutorials/creating-an-internet-explorer-testing-environment-on-a-mac/">Creating an IE testing environment on your Mac</a> is pretty simple using VirtualBox.<br />
<a href="http://www.virtualbox.org/">http://www.virtualbox.org/</a>
</div>
<div class="sections">
<h2>Skype</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/skype.jpg" alt="skype" title="skype" width="560" height="163" class="alignleft size-full wp-image-1511" /><br />
Everyone probably already uses this, and if you don&#8217;t, you should. Skype is great to communicate with clients from around the globe. Skype to Skype is free for instant messaging and calls.<br />
<a href="http://www.skype.com/">http://www.skype.com/</a>
</div>
<div class="sections">
<h2>GIMP</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/gimp.jpg" alt="gimp" title="gimp" width="560" height="163" class="alignleft size-full wp-image-1512" /><br />
GIMP is an open source versatile graphics manipulation package similar to Adobe&#8217;s Photoshop, but it won&#8217;t put you in the poor house. It may not be as robust but GIMP has some amazing features and who can beat the price.<br />
<a href="http://www.gimp.org/">http://www.gimp.org/</a>
</div>
<div class="sections">
<h2>Cyberduck</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/cyberduck.jpg" alt="cyberduck" title="cyberduck" width="560" height="163" class="alignleft size-full wp-image-1513" /><br />
Cyberduck is an open source FTP, SFTP, WebDAV, Cloud Files and Amazon S3 browser for the Mac. It features an easy to use interface with quickly accessible bookmarks.<br />
<a href="http://cyberduck.ch/">http://cyberduck.ch/</a>
</div>
<div class="sections">
<h2>SvnX</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/svnx.jpg" alt="svnx" title="svnx" width="560" height="163" class="alignleft size-full wp-image-1515" /><br />
SvnX is an open source GUI for most features of the svn client binary. It allows you to browse your working copies, spot changes and operate on them but also to browse logs and revisions of your repositories.<br />
<a href="http://www.lachoseinteractive.net/en/community/subversion/svnx/features/">http://www.lachoseinteractive.net/en/community/subversion/svnx/features/</a>
</div>
<div class="sections">
<h2>Sequel Pro</h2>
<p><img src="http://bavotasan.com/wp-content/uploads/2009/11/sequelpro.jpg" alt="sequelpro" title="sequelpro" width="560" height="163" class="alignleft size-full wp-image-1521" /><br />
Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases.<br />
<a href="http://www.sequelpro.com/">http://www.sequelpro.com/</a>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/10-great-free-mac-apps-for-web-developers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A New Comment Editor</title>
		<link>http://bavotasan.com/2009/a-new-comment-editor/</link>
		<comments>http://bavotasan.com/2009/a-new-comment-editor/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 21:46:01 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Colors]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[none]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[use]]></category>
		<category><![CDATA[way]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=547</guid>
		<description><![CDATA[I have had some requests to figure out a way that visitors of bavotasan.com could leave code and simple styling in their comments. I searched and searched and tried many different things but none seemed to work that great. I knew I needed a WYSIWYG editor of some sort but the few I came across [...]]]></description>
			<content:encoded><![CDATA[<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/04/commentpreview.jpg"><img src="http://bavotasan.com/wp-content/uploads/2009/04/commentpreview-200x174.jpg" alt="commentpreview" title="commentpreview" width="200" height="174" class="alignright size-thumbnail wp-image-552" /></a>I have had some requests to figure out a way that visitors of bavotasan.com could leave code and simple styling in their comments. I searched and searched and tried many different things but none seemed to work that great. I knew I needed a WYSIWYG editor of some sort but the few I came across didn&#8217;t really do what I wanted. I was going to try to create one myself but I have been a bit too busy lately to take that on.<br />
<span id="more-547"></span><br />
Luckily I stumbled upon the <a href="http://wmd-editor.com/">WMD editor</a> and the <a href="http://c.hadcoleman.com/wordpress-plugins/wmd-editor-wordpress-plugin/">WordPress plugin created by Chad Coleman</a>. Though, WMD claims not to be a WYSIWYG editor but a WYSIWYM editor, it pretty much does the same thing. </p>
<p>According to the website, WYSIWYM means What You See Is What You Mean. </p>
<p>&#8220;WMD produces clean semantic HTML, leaving presentation details like fonts and colors up to style sheets. But you&#8217;re not left in the dark about cosmetics; as you type, WMD&#8217;s live preview shows you exactly what your text will look like after the current styles have been applied.&#8221;</p>
<p>So far, I like the way it works, and the live preview it great. </p>
<p>NOTE: I no longer use this comment editor plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/a-new-comment-editor/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Magazine Columns Free WordPress Plugin</title>
		<link>http://bavotasan.com/2009/magazine-columns-wordpress-plugin/</link>
		<comments>http://bavotasan.com/2009/magazine-columns-wordpress-plugin/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 20:05:38 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[Columns]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[html editor]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[quicktag]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress plugin]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=523</guid>
		<description><![CDATA[I have been spending a lot of time developing my Magazine Basic theme so I guess I have magazines on the brain. While speaking with a colleague, I got the idea to create a plugin that would create columns in posts or pages, similar to a magazine article. Thus, Magazine Columns was created. All you [...]]]></description>
			<content:encoded><![CDATA[<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/03/screenshot-1.jpg"><img src="http://bavotasan.com/wp-content/uploads/2009/03/screenshot-1-178x200.jpg" alt="screenshot-1" title="screenshot-1" width="178" height="200" class="alignright size-thumbnail wp-image-526" /></a>I have been spending a lot of time developing my <a href="http://bavotasan.com/downloads/magazine-basic-free-wordpress-theme/">Magazine Basic theme</a> so I guess I have magazines on the brain. While speaking with a colleague, I got the idea to create a plugin that would create columns in posts or pages, similar to a magazine article. Thus, Magazine Columns was created.<br />
<span id="more-523"></span><br />
All you need to do is download the plugin and add the <code>&lt;!--column--&gt;</code> tag to your post or page with the column quicktag in the HTML editor or manually. You can create up to five columns.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/magazine-columns-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
		<item>
		<title>A Few Things to Keep In Mind When Using the More Tag in WordPress</title>
		<link>http://bavotasan.com/2009/a-few-things-to-keep-in-mind-when-using-the-more-tag-in-wordpress/</link>
		<comments>http://bavotasan.com/2009/a-few-things-to-keep-in-mind-when-using-the-more-tag-in-wordpress/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 21:36:29 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Break]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[everything]]></category>
		<category><![CDATA[Front Page]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[someone]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[while]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=319</guid>
		<description><![CDATA[I just had someone ask me why everything on their front page became bolded when they placed &#60;?php the_content('(more')); ?&#62; in their code to use in conjunction with the more tag in their posts. It took me a while to figure it out but the solution is pretty simple. The more tag looks like this [...]]]></description>
			<content:encoded><![CDATA[<p>I just had someone ask me why everything on their front page became bolded when they placed <code>&lt;?php the_content('(more')); ?&gt;</code> in their code to use in conjunction with the more tag in their posts. It took me a while to figure it out but the solution is pretty simple.<br />
<span id="more-319"></span><br />
The more tag looks like this in the Visual editor:<br />
<img class="aligncenter size-full wp-image-320" title="moretag" src="http://bavotasan.com/wp-content/uploads/2009/02/moretag.png" alt="moretag" width="26" height="24" /> </p>
<p>You use it to place a break in your post, so that only everything above will be displayed on the page where you placed <code>&lt;?php the_content('(more')); ?&gt;</code>.</p>
<p>If you accidentally place a more tag before some of your other tags are closed though, you can really mess things up. </p>
<p>What do I mean exactly? </p>
<p>If you wanted everything to be bolded or italicized, the opening tags would be at the beginning of you post and the closing tags would be at the end. But your more tag in the middle cuts your post down and the other tags never get closed. So on your front page, you have some opening tags but no closing tags. Hence everything be bolded or italicized.</p>
<p>The only solution I have been able to find is to use this pieces of code instead of the usual <code>&lt;?php the_content('(more')); ?&gt;</code>.</p>

<div class="wp_syntax"><table border='0' cellpadding='0' cellspacing='0'><tr><td><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$remove</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;em&gt;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;/em&gt;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;strong&gt;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;&lt;/strong&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;p&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$remove</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> get_the_content<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'(more)'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;/p&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/a-few-things-to-keep-in-mind-when-using-the-more-tag-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Simple Quicktag to the HTML Editor in WordPress</title>
		<link>http://bavotasan.com/2009/adding-a-simple-quicktag-to-the-html-editor-in-wordpress/</link>
		<comments>http://bavotasan.com/2009/adding-a-simple-quicktag-to-the-html-editor-in-wordpress/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 16:01:19 +0000</pubDate>
		<dc:creator>c.bavota</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Functionality]]></category>
		<category><![CDATA[html editor]]></category>
		<category><![CDATA[img]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[Location]]></category>
		<category><![CDATA[quicktag]]></category>
		<category><![CDATA[span]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[var]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bavotasan.com/?p=158</guid>
		<description><![CDATA[When you are editing a post or writing a new post in WordPress, you might have noticed those buttons above the editing box. They add WYSIWYG type functionality to the WordPress editor for common functions such as bolding, italics and linking. WordPress refers to these buttons as Quicktags. They should look something like this if [...]]]></description>
			<content:encoded><![CDATA[<p>When you are editing a post or writing a new post in WordPress, you might have noticed those buttons above the editing box. They add WYSIWYG type functionality to the WordPress editor for common functions such as bolding, italics and linking. WordPress refers to these buttons as Quicktags.<br />
<span id="more-158"></span><br />
They should look something like this if you use the HTML editor.</p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/01/quicktags.jpg"><img class="aligncenter size-medium wp-image-159" title="quicktags" src="http://bavotasan.com/wp-content/uploads/2009/01/quicktags-580x32.jpg" alt="quicktags" width="580" height="32" /></a></p>
<p>If you use the Visual editor they should look something like this.</p>
<p><a class="highslide" href="http://bavotasan.com/wp-content/uploads/2009/01/quicktags2.jpg"><img class="aligncenter size-full wp-image-160" title="quicktags2" src="http://bavotasan.com/wp-content/uploads/2009/01/quicktags2.jpg" alt="quicktags2" width="459" height="33" /></a></p>
<p>If you have a function that you use often it is very simple to add it to the Quicktag bar. For this example, I am going to add a button that creates a span tag and asks for a class to the HTML editor Quicktag bar.</p>
<p>The file we need to work with is under <code>wp-includes/js/quicktags.js</code>.</p>
<p>First we need to create the button, so go to around line 36 and enter the following.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>36
37
38
39
40
41
42
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">edButtons<span style="color: #009900;">&#91;</span>edButtons<span style="color: #339933;">.</span>length<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #000000; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ed_class'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'span'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">''</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;/span&gt;'</span>
<span style="color: #339933;">,</span><span style="color: #0000ff;">'p'</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// special case</span></pre></td></tr></table></div>

<p>Then we need to add the part that actually makes it call the function that asks the user to enter a class name. Find this part around line 166.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>166
167
168
169
170
171
172
173
174
175
176
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> edShowButton<span style="color: #009900;">&#40;</span>button<span style="color: #339933;">,</span> i<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>button<span style="color: #339933;">.</span>id <span style="color: #339933;">==</span> <span style="color: #0000ff;">'ed_img'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertImage(edCanvas);&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>button<span style="color: #339933;">.</span>id <span style="color: #339933;">==</span> <span style="color: #0000ff;">'ed_link'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertLink(edCanvas, '</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #0000ff;">');&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertTag(edCanvas, '</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #0000ff;">');&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot;  /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>And make it this.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>166
167
168
169
170
171
172
173
174
175
176
177
178
179
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> edShowButton<span style="color: #009900;">&#40;</span>button<span style="color: #339933;">,</span> i<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>button<span style="color: #339933;">.</span>id <span style="color: #339933;">==</span> <span style="color: #0000ff;">'ed_img'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertImage(edCanvas);&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>button<span style="color: #339933;">.</span>id <span style="color: #339933;">==</span> <span style="color: #0000ff;">'ed_link'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertLink(edCanvas, '</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #0000ff;">');&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>button<span style="color: #339933;">.</span>id <span style="color: #339933;">==</span> <span style="color: #0000ff;">'ed_class'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertClass(edCanvas, '</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #0000ff;">');&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
document<span style="color: #339933;">.</span>write<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;input type=&quot;button&quot; id=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>id <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; accesskey=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>access <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot; class=&quot;ed_button&quot; onclick=&quot;edInsertTag(edCanvas, '</span> <span style="color: #339933;">+</span> i <span style="color: #339933;">+</span> <span style="color: #0000ff;">');&quot; value=&quot;'</span> <span style="color: #339933;">+</span> button<span style="color: #339933;">.</span>display <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot;  /&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>And it needs one last part, the actual function, to work properly, so go to the end of the file and add this.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>403
404
405
406
407
408
409
410
411
412
413
414
415
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> edInsertClass<span style="color: #009900;">&#40;</span>myField<span style="color: #339933;">,</span> i<span style="color: #339933;">,</span> defaultValue<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>defaultValue<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
defaultValue <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>edCheckOpenTags<span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000000; font-weight: bold;">CLASS</span> <span style="color: #339933;">=</span> prompt<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Enter the Image location'</span> <span style="color: #339933;">,</span>defaultValue<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">CLASS</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
edButtons<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span>tagStart <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;span class=&quot;'</span> <span style="color: #339933;">+</span> <span style="color: #000000; font-weight: bold;">CLASS</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span> edInsertTag<span style="color: #009900;">&#40;</span>myField<span style="color: #339933;">,</span> i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
edInsertTag<span style="color: #009900;">&#40;</span>myField<span style="color: #339933;">,</span> i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>v <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>When it comes down to it, this might actually be a little bit more complicated of a  Quicktag to create but there you go.</p>
]]></content:encoded>
			<wfw:commentRss>http://bavotasan.com/2009/adding-a-simple-quicktag-to-the-html-editor-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

