<?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>Faded Pictures Designs</title>
	<atom:link href="http://fadedpictures.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fadedpictures.com</link>
	<description>a creative agency in Orange County, ca</description>
	<lastBuildDate>Mon, 09 Jan 2012 18:17:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Portfolio Updated&#8230;long time overdue</title>
		<link>http://fadedpictures.com/2011/12/portfolio-updated-long-time-overdue/</link>
		<comments>http://fadedpictures.com/2011/12/portfolio-updated-long-time-overdue/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 04:06:03 +0000</pubDate>
		<dc:creator>Bret</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://fadedpictures.com/?p=212</guid>
		<description><![CDATA[It seems like each December I find myself updating my portfolio and refreshing the site&#8217;s design. I need to stop only doing it once a year, that is horrible. I guess being so busy that you don&#8217;t have time to <a href="http://fadedpictures.com/2011/12/portfolio-updated-long-time-overdue/" class="more-link">Continue <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It seems like each December I find myself updating my portfolio and refreshing the site&#8217;s design. I need to stop only doing it once a year, that is horrible. I guess being so busy that you don&#8217;t have time to update your own portfolio is a good thing? Like a contractor whose house is constantly in a state of disrepair.</p>
<p>Regardless of whether it was busyness or just laziness, I&#8217;ve added a lot of projects that have kept me busy over the last year. I did leave some out due to time but the pieces I consider a good representation of how I spent 2011 are here. Now, if I can manage to update this blog more than twice a year I would be golden.</p>
]]></content:encoded>
			<wfw:commentRss>http://fadedpictures.com/2011/12/portfolio-updated-long-time-overdue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Custom WordPress Quicktags</title>
		<link>http://fadedpictures.com/2011/02/adding-custom-quicktags/</link>
		<comments>http://fadedpictures.com/2011/02/adding-custom-quicktags/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 14:33:45 +0000</pubDate>
		<dc:creator>Bret</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://fadedpictures.com/?p=71</guid>
		<description><![CDATA[When I draft an article I usually write directly in the WordPress editor. Occasionally I&#8217;ll compose in another application like Pages or Google Docs. But most the time I just dive right into the editor. As a hand coder, I&#8217;m <a href="http://fadedpictures.com/2011/02/adding-custom-quicktags/" class="more-link">Continue <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When I draft an article I usually write directly in the WordPress editor. Occasionally I&#8217;ll compose in another application like Pages or Google Docs. But most the time I just dive right into the editor. As a hand coder, I&#8217;m more of a fan of the HTML editor. Most the time I just code what I want. </p>
<p>As I was working on an article the other day, I thought it would be pretty sweet to have a few extra Quicktags up in the editor bar. I remember back in the days of WordPress 1.5 and hacking the quicktags.js file. I shudder at the very thought of doing that now. Hacking a core file is not an option and I don&#8217;t want to install a plugin. Installing a plugin would mean I would have to install it on every site I do and set it up new each time.</p>
<p>So I set out to see if I could find some information on how to add my own Quicktags using a js file in my theme and my functions.php page.<span id="more-71"></span> I didn&#8217;t have to search too hard to discover some information. I came across <a href="http://scribu.net/wordpress/right-way-to-add-custom-quicktags.html" target="_blank">this article on scribu.net</a>. Rather than create a plugin, I tweaked the code to reference the js file from my theme. Here is what my code looks like.</p>
<p>First add this to <em>functions.php</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*
* Setup some custom quicktags in the HTML editor
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> my_quicktags<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	wp_enqueue_script<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'custom_quicktags'</span><span style="color: #339933;">,</span> get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_directory'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/js/custom-quicktags.js'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'quicktags'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_print_scripts'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'my_quicktags'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Then create a file called <em>custom-quicktags.js</em> and place it in your theme directory. I put mine in a subdirectory called &#8220;js&#8221;. Here is what I added to mine.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// preformatted text for including code in a post</span>
edButtons<span style="color: #009900;">&#91;</span>edButtons.<span style="color: #660066;">length</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #003366; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ed_pre'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'pre'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt;pre lang=&quot;css&quot; line=&quot;1&quot;&gt;'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt; /pre &gt;'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">''</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">//definition list</span>
edButtons<span style="color: #009900;">&#91;</span>edButtons.<span style="color: #660066;">length</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #003366; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ed_dl'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'dl'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt;dl&gt;<span style="color: #000099; font-weight: bold;">\n</span>'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt;/dl&gt;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">''</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// definition list - definition term</span>
edButtons<span style="color: #009900;">&#91;</span>edButtons.<span style="color: #660066;">length</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #003366; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ed_dt'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'dt'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\t</span>&lt;dt&gt;'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt;/dt&gt;<span style="color: #000099; font-weight: bold;">\n</span>'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">''</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// definition list - definition description</span>
edButtons<span style="color: #009900;">&#91;</span>edButtons.<span style="color: #660066;">length</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #003366; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ed_dd'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'dd'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\t</span>&lt;dd&gt;'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'&lt;/dd&gt;<span style="color: #000099; font-weight: bold;">\n</span>'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">''</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// tab character</span>
edButtons<span style="color: #009900;">&#91;</span>edButtons.<span style="color: #660066;">length</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span>
<span style="color: #003366; font-weight: bold;">new</span> edButton<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ed_tab'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'tab'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">'<span style="color: #000099; font-weight: bold;">\t</span>'</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">''</span>
<span style="color: #339933;">,</span><span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>
<span style="color: #339933;">-</span><span style="color: #CC0000;">1</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><em>Note the added spaces around the &lt;/pre&gt; tag on line 6, didn&#8217;t want to close out of the highlighter too early.</em></p>
<p>The first couple of lines are copied from the <em>quicktags.dev.js</em> file in the WordPress includes directory, just so I remember what each parameter does. The first tag adds a pre tag so I can quickly include highlighted code syntax with the wp-syntax plugin. The next couple add the elements of a definition list with the appropriate tabs and carriage returns. The finally button adds a tab, that way if I&#8217;m working on a list and I happen to hit the delete key one too many times I can re-insert the tab character back into the editor so my code stays clean.</p>
<p>That&#8217;s all there is to it, upload and open a new Post or Page and you should see the Quicktags.</p>
]]></content:encoded>
			<wfw:commentRss>http://fadedpictures.com/2011/02/adding-custom-quicktags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Design for FadedPictures.com</title>
		<link>http://fadedpictures.com/2011/02/new-design-for-fadedpictures-com/</link>
		<comments>http://fadedpictures.com/2011/02/new-design-for-fadedpictures-com/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 17:00:58 +0000</pubDate>
		<dc:creator>Bret</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://fadedpictures.com/?p=1</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve given any attention to my poor lil&#8217; site here at FadedPictures.com. For many months (maybe longer) the site has been down. Admittedly, I&#8217;ve been too busy working on other sites and projects. A couple <a href="http://fadedpictures.com/2011/02/new-design-for-fadedpictures-com/" class="more-link">Continue <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve given any attention to my poor lil&#8217; site here at FadedPictures.com. For many months (maybe longer) the site has been down. Admittedly, I&#8217;ve been too busy <a href="http://honustudios.com" target="_blank" title="Honu Studios">working</a> on other sites and <a href="http://morethannoise.com" target="_blank" title="MoreThanNoise">projects</a>. A couple months back I finally decided to scrap what was here, design, <abbr title="Content Management System">CMS</abbr>, everything, and just start over again. You can check out the geeky details.<span id="more-1"></span></p>
<p>FadedPictures.com hasn&#8217;t seen a real make-over for some time. In fact, the last time I redesigned the site it was running on Joomla! and using SlideShowPro, a Flash based gallery. Much has happened since then; Flash has been declining, some might even say it has died, mobile devices have grown in popularity and become the norm.</p>
<p>For a brief time I took a departure into Ruby on Rails, it was fun, I built a couple sites with it. But ultimately, outside of a custom web application, it was too much to keep up with for a regular site. It&#8217;s a great framework and Ruby is a beautiful language, but for what I do here and at Honu Studios it&#8217;s a bit much. FadedPictures.com is now powered by <a href="http://wordpress.org" target="_blank" rel="nofollow">WordPress</a>, which has become my default CMS solution these days. I also dabble a bit in Expression Engine from time to time as well.</p>
<p>FadedPictures.com is coded with <a href="http://en.wikipedia.org/wiki/HTML5" target="_blank"><abbr title="Hypertext Markup Language">HTML</abbr>5</a>, <a href="http://www.css3.info/" target="_blank"><abbr title="Cascading Style Sheets">CCS</abbr>3</a>, it utilizes the <a href="http://jquery.com" target="_blank">jQuery</a> Javascript framework, and the <a href="http://cssgrid.net" target="_blank">1140 pixel grid CSS framework</a>.</p>
<p>I&#8217;ve recently started using the 1140 CSS Grid framework designed by <a href="http://www.andytlr.com/" target="_blank">Andy Taylor</a> and have really become a fan of it. I also just redesigned <a href="http://honustudios.com" target="_blank">Honu Studios</a> using it. Previously, (couple weeks ago) I used the <a href="http://blueprintcss.org" target="_blank">BluePrintCSS</a> framework, which is a great framework. In fact, I still utilize the reset code from BluePrint. </p>
<p>The advantage and key difference in the 1140 CSS Grid is that the design is not fixed to 960 pixels or even 1140 pixels. Instead, it&#8217;s fluid and through <a href="http://reference.sitepoint.com/css/mediaqueries" target="_blank">CSS media queries</a> you&#8217;re able to restructure the content of your site on the fly. You can see it in action here simply by resizing your browser or viewing it on your phone or iPad.</p>
]]></content:encoded>
			<wfw:commentRss>http://fadedpictures.com/2011/02/new-design-for-fadedpictures-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

