<?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>WerkPress</title>
	<atom:link href="http://werkpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://werkpress.com</link>
	<description>Your WordPress Customization Experts</description>
	<lastBuildDate>Thu, 23 May 2013 19:01:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Cleaning Up WordPress Admin Menus</title>
		<link>http://werkpress.com/2013/05/06/cleaning-up-wordpress-admin-menus/</link>
		<comments>http://werkpress.com/2013/05/06/cleaning-up-wordpress-admin-menus/#comments</comments>
		<pubDate>Mon, 06 May 2013 14:31:57 +0000</pubDate>
		<dc:creator>Justin Rhodes</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=745</guid>
		<description><![CDATA[<p>As a WordPress developer, I often find myself tasked with building very specific WP themes. So specific in fact, that I end up leaving out a lot of the default functionality. The problem is, I want the client to have a seamless experience while dealing with the back-end of their site. I don’t want them [...]</p><p>The post <a href="http://werkpress.com/2013/05/06/cleaning-up-wordpress-admin-menus/">Cleaning Up WordPress Admin Menus</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>As a WordPress developer, I often find myself tasked with building very specific WP themes. So specific in fact, that I end up leaving out a lot of the default functionality. The problem is, I want the client to have a seamless experience while dealing with the back-end of their site. I don’t want them wondering what the Comments tab does, or why the Posts tab brings them to an empty list, because maybe their site didn’t require those options.</p>
<p>So, what to do? Well, hide them. Hiding unused menu tabs is a quick and easy way to de-clutter the back-end of your WordPress site. WordPress 3.1.0 introduced two new ways of doing this: remove_menu_page and remove_submenu_page.</p>
<p>The example below shows how you would remove the Comments menu item, by pasting this code in your functions.php file:</p>
<pre class="brush: php; title: ; notranslate">
	add_action( 'admin_menu', 'my_remove_menu_pages' );

	function my_remove_menu_pages() {
		// the parameter is the slug of the menu item to be removed
		remove_menu_page(‘edit-comments.php’);
        }
</pre>
<p>But what if you want to remove more than just the comments? That the easy part, just call remove_menu_page() again, inside the function, passing the menu item’s slug as the main parameter.</p>
<p>That works great for top-level menu items, but what if we want to remove sub-menu items? That’s where remove_submenu_page() comes in. The example below shows how you would remove the Editor sub-menu item, by pasting this code in your functions.php file:</p>
<pre class="brush: php; title: ; notranslate">

add_action( 'admin_menu', 'my_remove_sub_menu_pages' );

	function my_ remove_sub _menu_pages() {
		// the first parameter is the slug of the top menu item to be removed
		// the second parameter is the slug of the sub-menu item
		remove_submenu_page( 'themes.php', 'theme-editor.php' );
        }
</pre>
<p>Again, you can call this as many times as you’d like, to remove even more sub-menu items.</p>
<p>The post <a href="http://werkpress.com/2013/05/06/cleaning-up-wordpress-admin-menus/">Cleaning Up WordPress Admin Menus</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/05/06/cleaning-up-wordpress-admin-menus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>It&#8217;s Greek To Me: Learning To Customize Your WordPress Site When PHP And CSS Is Foreign</title>
		<link>http://werkpress.com/2013/05/03/its-greek-to-me-learning-to-customize-your-wordpress-blog-when-php-and-css-is-foreign/</link>
		<comments>http://werkpress.com/2013/05/03/its-greek-to-me-learning-to-customize-your-wordpress-blog-when-php-and-css-is-foreign/#comments</comments>
		<pubDate>Fri, 03 May 2013 15:21:14 +0000</pubDate>
		<dc:creator>Lindsey Guajardo</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=717</guid>
		<description><![CDATA[<p>People are drawn to WordPress as a CMS because it&#8217;s a solution that anyone can implement without a lot of technical knowledge. I set up my first WordPress site in 2009, and since then I&#8217;ve learned a lot about how to start just a basic site with the default theme and no plugins and make [...]</p><p>The post <a href="http://werkpress.com/2013/05/03/its-greek-to-me-learning-to-customize-your-wordpress-blog-when-php-and-css-is-foreign/">It&#8217;s Greek To Me: Learning To Customize Your WordPress Site When PHP And CSS Is Foreign</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>People are drawn to WordPress as a CMS because it&#8217;s a solution that anyone can implement without a lot of technical knowledge. I set up my first WordPress site in 2009, and since then I&#8217;ve learned a lot about how to start just a basic site with the default theme and no plugins and make it a totally unique, customized website &#8211; even if you don&#8217;t know how to write a single line of code.</p>
<p>The easiest way to hone the default look of WordPress into a site that reflects your vision, is to leverage the existing tools that have been built by the amazing WordPress community.</p>
<p>Think about the purpose of your site and head on over to WordPress.org. You can find a theme that pulls the important elements into the spotlight. Searching by subject &#8211; photography, business, portfolio, journal &#8211; is the best place to start. It might be tempting to search by style elements, but it&#8217;s so much easier to change the color of the homepage than the layout!</p>
<p>A good theme can get you nearly all the functions you need to launch your site, but even the best might not have that <i>one</i> tool you really need. That&#8217;s where plugins come in. You can make slick <a href="http://www.gravityforms.com/">contact forms</a>, detailed <a href="http://tri.be/shop/wordpress-events-calendar-pro/">events lists</a>, <a href="https://easydigitaldownloads.com/">sell</a> your band&#8217;s MP3s, support your site through managed <a href="http://www.adrotateplugin.com/adrotate-pro/">ad campaigns</a>, or even reach a whole <a href="http://wpml.org/">new audience</a>.</p>
<p>If you&#8217;re like me, after a bit of tinkering, you start to feel confident and want to check out that little area of your site&#8217;s admin labeled ‘Editor’. If you&#8217;re ready to get your hands dirty you can&#8217;t be afraid to break things. The best way to start is to back up your data. You can use any of the backup plugins available or make a copy of the theme folder (if you know how to use an FTP client or if your hosting provider has an interface for you to browse your files it will be in the wp-content/themes area).</p>
<p>If you&#8217;re feeling especially adventurous, you may want to review <a href="http://codex.wordpress.org/Debugging_in_WordPress">this article</a> on debugging. This will be important information to have if you need to search for help later on.</p>
<p>Now that you have something to roll back to in case your experimenting goes all pear-shaped, start trying things out! Use some of these free <a href="http://www.learnstreet.com/">resources</a> online to help you navigate the <a href="http://www.w3schools.com/php/">PHP</a> and <a href="http://www.w3schools.com/css/">CSS</a> that runs WordPress.</p>
<p>At this point you&#8217;ve either discovered your hidden talents (hopefully) as a front-end web developer, or you&#8217;ve realized you need a hand. The WordPress community is there for you if you experiment yourself into a corner. You can get help online at <a href="http://wordpress.org/support/">WordPress.org</a>, or look for meetups or user groups in your city.</p>
<p>Get in there and get your site online! Even if you don&#8217;t know where the &lt;head&gt; tag goes, you can create your own unique online presence.</p>
<p>The post <a href="http://werkpress.com/2013/05/03/its-greek-to-me-learning-to-customize-your-wordpress-blog-when-php-and-css-is-foreign/">It&#8217;s Greek To Me: Learning To Customize Your WordPress Site When PHP And CSS Is Foreign</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/05/03/its-greek-to-me-learning-to-customize-your-wordpress-blog-when-php-and-css-is-foreign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp Minneapolis</title>
		<link>http://werkpress.com/2013/05/02/wordcamp-minneapolis/</link>
		<comments>http://werkpress.com/2013/05/02/wordcamp-minneapolis/#comments</comments>
		<pubDate>Thu, 02 May 2013 15:25:41 +0000</pubDate>
		<dc:creator>Stephanie Lee</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Culture]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=722</guid>
		<description><![CDATA[<p>Check out our post, WordCamp: How We Went All Out in the WP Daily: This past weekend’s sold-out WordCamp Minneapolis was a blast. We had beautiful spring weather (finally), brilliant speakers, enthusiastic attendees, and amazing volunteers. And to make the very best of it we decided, as a small company, to go all out on it. Read more</p><p>The post <a href="http://werkpress.com/2013/05/02/wordcamp-minneapolis/">WordCamp Minneapolis</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Check out our post, <em>WordCamp: How We Went All Out</em> in the <a href="http://wpdaily.co/">WP Daily</a>:</p>
<blockquote>
<p style="text-align: left;">This past weekend’s sold-out <a href="http://2013.minneapolis.wordcamp.org/" target="_blank">WordCamp Minneapolis</a> was a blast. We had beautiful spring weather (<i>finally</i>), brilliant speakers, enthusiastic attendees, and amazing volunteers.</p>
<p style="text-align: left;">And to make the very best of it we decided, as a small company, to <em>go all out</em> on it.</p>
</blockquote>
<p style="text-align: left;"><a href="http://wpdaily.co/wordcamp-all-out/">Read more</a></p>
<p>The post <a href="http://werkpress.com/2013/05/02/wordcamp-minneapolis/">WordCamp Minneapolis</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/05/02/wordcamp-minneapolis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WerkPress Featured in WP Daily</title>
		<link>http://werkpress.com/2013/04/18/werkpress-featured-in-wp-daily/</link>
		<comments>http://werkpress.com/2013/04/18/werkpress-featured-in-wp-daily/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 15:14:17 +0000</pubDate>
		<dc:creator>Travis Totz</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=500</guid>
		<description><![CDATA[<p>We were lucky enough to be featured in the WP Daily Creative Workspaces! You can check out the entire article, including more photos, at WP Daily</p><p>The post <a href="http://werkpress.com/2013/04/18/werkpress-featured-in-wp-daily/">WerkPress Featured in WP Daily</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>We were lucky enough to be featured in the <a href="http://wpdaily.co/">WP Daily</a> Creative Workspaces! You can check out the entire article, including more photos, at <a href="http://wpdaily.co/cw-werkpress/#more-44065">WP Daily</a></p>
<p><img class="aligncenter size-large wp-image-501" alt="1_ww-entrance" src="http://werkpress.com/wp-content/uploads/2013/04/1_ww-entrance-682x1024.jpg" width="682" height="1024" /></p>
<p><span id="more-500"></span></p>
<p><img class="aligncenter size-large wp-image-502" alt="3_ww-conference-room-entrance" src="http://werkpress.com/wp-content/uploads/2013/04/3_ww-conference-room-entrance-1024x682.jpg" width="1024" height="682" /></p>
<p><img class="aligncenter size-large wp-image-503" alt="5_ww-loft" src="http://werkpress.com/wp-content/uploads/2013/04/5_ww-loft-1024x682.jpg" width="1024" height="682" /></p>
<p><img class="aligncenter size-large wp-image-504" alt="7_ww-games" src="http://werkpress.com/wp-content/uploads/2013/04/7_ww-games-1024x682.jpg" width="1024" height="682" /></p>
<p>The post <a href="http://werkpress.com/2013/04/18/werkpress-featured-in-wp-daily/">WerkPress Featured in WP Daily</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/04/18/werkpress-featured-in-wp-daily/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp Miami Recap</title>
		<link>http://werkpress.com/2013/04/10/wordcamp-miami-recap/</link>
		<comments>http://werkpress.com/2013/04/10/wordcamp-miami-recap/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 14:33:59 +0000</pubDate>
		<dc:creator>Travis Totz</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Culture]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=429</guid>
		<description><![CDATA[<p>This past weekend was WordCamp and BuddyCamp in Miami. The sun, the people, the experience- WordCamp Miami was definitely one to remember. WordCamp is always an enjoyable (and often beneficial) experience, and this time was especially so- it was the first time we were active contributors to the event. We had the dual honor of [...]</p><p>The post <a href="http://werkpress.com/2013/04/10/wordcamp-miami-recap/">WordCamp Miami Recap</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>This past weekend was <a href="http://2013.miami.wordcamp.org/">WordCamp </a> and <a href="http://2013.miami.wordcamp.org/category/buddycamp-miami/">BuddyCamp</a> in Miami. The sun, the people, the experience- WordCamp Miami was definitely one to remember. WordCamp is always an enjoyable (and often <a href="http://werkpress.com/how-wordcamp-jumpstarted-our-business/">beneficial</a>) experience, and this time was especially so- it was the first time we were active contributors to the event. We had the dual honor of being a sponsor of WordCamp and also designing the BuddyCamp t-shirts. Over the weekend, we enjoyed some inspiring talks from industry leaders, including Shane Pearlman of Modern Tribe (<a href="https://twitter.com/justlikeair">@justlikeair</a>), Lisa Sabin-Wilson (<a href="https://twitter.com/@LisaSabinWilson">@LisaSabinWilson</a>), Brad Williams (<a href="https://twitter.com/williamsba">@williamsba</a>), Chris Lema (<a href="https://twitter.com/chrislema">@chrislema</a>), Pippin Williamson (<a href="https://twitter.com/pippinsplugins">@pippinsplugins</a>), and John James Jacoby (<a href="https://twitter.com/@JJJ">@JJJ</a>). We loved Shane’s informative and fun talk on running a WordPress business, freelancing and how to navigate a successful career (with a lot of sleepless nights). His slides were beautifully designed and concise; his energy on stage was infectious-it was a great talk.</p>
<p><span id="more-429"></span></p>
<p>Many WordPress companies are responding to being social and attending these great community events. We have seen our business shift and evolve over the past few years and attending WordCamp events has played a huge role in establishing our business strategy. The exciting thing with WordCamp is how it combines a lot of hungry people who&#8217;ve been working for years on a similar set of problems. At these events, we together can communicate, collaborate and listen — getting a great shot at fully delivering WordPress solutions that respond to the needs of the community and our user base. Strolling off of the University of Miami campus afterwards, I had a moment of realization; we had sponsored an amazing event, met and conversed with some of the top minds in the WordPress industry, and we had a weekend that we would not forget. Our excitement for <a href="http://2013.minneapolis.wordcamp.org/">WordCamp Minneapolis</a> has been heightened.</p>
<p><img class="aligncenter size-large wp-image-436" alt="wordcampmia" src="http://werkpress.com/wp-content/uploads/2013/04/wordcampmia-1024x778.jpg" width="1024" height="778" /><br />
<img class="aligncenter size-large wp-image-431" alt="wodcamp-miami2" src="http://werkpress.com/wp-content/uploads/2013/04/wodcamp-miami2-1024x654.jpg" width="1024" height="654" /><br />
<img class="aligncenter size-large wp-image-487" alt="shirt1" src="http://werkpress.com/wp-content/uploads/2013/04/shirt11-254x300.jpg" width="1024" height="778" /><br />
<img class="aligncenter size-large wp-image-430" alt="wordcamp-miami" src="http://werkpress.com/wp-content/uploads/2013/04/wordcamp-miami-1024x652.jpg" width="1024" height="652" /></p>
<p>The post <a href="http://werkpress.com/2013/04/10/wordcamp-miami-recap/">WordCamp Miami Recap</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/04/10/wordcamp-miami-recap/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Showing a Message in WordPress Admin Panel</title>
		<link>http://werkpress.com/2013/03/15/showing-a-message-in-wordpress-admin-panel/</link>
		<comments>http://werkpress.com/2013/03/15/showing-a-message-in-wordpress-admin-panel/#comments</comments>
		<pubDate>Fri, 15 Mar 2013 18:34:55 +0000</pubDate>
		<dc:creator>Justin Rhodes</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=412</guid>
		<description><![CDATA[<p>Show an urgent message in WordPress admin panel When applying changes to a theme or plugin, you might want to let other WordPress users know about it. This is especially useful if you have a theme or plugin that requires an update, or has a dependency that you’d like to inform users about. The following [...]</p><p>The post <a href="http://werkpress.com/2013/03/15/showing-a-message-in-wordpress-admin-panel/">Showing a Message in WordPress Admin Panel</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Show an urgent message in WordPress admin panel</p>
<p>When applying changes to a theme or plugin, you might want to let other WordPress<br />
users know about it. This is especially useful if you have a theme or plugin that<br />
requires an update, or has a dependency that you’d like to inform users about. The<br />
following code snippet shows you how to add an error or status message to the top of<br />
the WordPress admin panel.</p>
<p>Add this code to your theme’s functions.php file.</p>
<pre class="brush: php; title: ; notranslate">
function showMessage($message, $errormsg = false)
{
  if ($errormsg) {
    echo '&lt;div id=&quot;message&quot;&gt;';
  }
  else {
    echo '&lt;div id=&quot;message&quot;&gt;';
  }
  echo '&lt;p&gt;&lt;strong&gt;' . $message . '&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;';
}

function showAdminMessages()
{
  showMessage(&quot;Working on Theme's function.php, Do not touch it till further notice.&quot;, true);
}
add_action('admin_notices', 'showAdminMessages');

</pre>
<p>The Message is being wrapped in WordPress’s default admin classes, this will apply the generic alert style to your notification.</p>
<p>Just change the string in the showMessage() function to put your desired notification or error message. You can also insert HTML to add links or other styles to your messages, this is especially useful if you want to link to a change log, or maybe a required plugin/update for your theme.</p>
<p>The screenshot below shows how the message will appear in the admin panel.</p>
<p><img class="alignnone size-large wp-image-424" alt="Admin_Message" src="http://werkpress.com/wp-content/uploads/2013/03/Admin_Message-1024x145.png" width="1024" height="145" /></p>
<p>The post <a href="http://werkpress.com/2013/03/15/showing-a-message-in-wordpress-admin-panel/">Showing a Message in WordPress Admin Panel</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/03/15/showing-a-message-in-wordpress-admin-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>!important: Why your custom css isn&#8217;t working.</title>
		<link>http://werkpress.com/2013/02/27/important-why-your-custom-css-isnt-working/</link>
		<comments>http://werkpress.com/2013/02/27/important-why-your-custom-css-isnt-working/#comments</comments>
		<pubDate>Wed, 27 Feb 2013 15:20:25 +0000</pubDate>
		<dc:creator>JR</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=372</guid>
		<description><![CDATA[<p>Recently, I was tasked with completing a WordPress site that was using WooCommerce, Gravity Forms, and a Gravity Form plugin for WooCommerce.  The site was nearly complete when I started working on it; there were just a couple things that needed polishing. When I was handed this project I was told that the previous developer [...]</p><p>The post <a href="http://werkpress.com/2013/02/27/important-why-your-custom-css-isnt-working/">!important: Why your custom css isn&#8217;t working.</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Recently, I was tasked with completing a WordPress site that was using WooCommerce, Gravity Forms, and a Gravity Form plugin for WooCommerce.  The site was nearly complete when I started working on it; there were just a couple things that needed polishing.</p>
<p>When I was handed this project I was told that the previous developer (an outside contractor) had been having a hard time getting all form elements styled consistently across the site.  To be honest, upon hearing this I was&#8217;t convinced the previous developer had been the &#8220;expert&#8221; he claimed to be.  After all, CSS for any seasoned web developer shouldn&#8217;t be rocket surgery.</p>
<p>Opening the style.css stylesheet in Coda 2 (<a href="http://panic.com/coda/">imo the best IDE</a>) it was clear what had happened… like a bad episode of CSI, my screen was spattered with thousands of crimson !important style rules. 1,917 of them to be exact, and seeing this made me feel bad- really bad.</p>
<p>The website was using about a dozen forms that were being generated by 3 different plugins. The previous developer had worked through what must have been countless hours of frustration trying to define style rules that would apply to all form elements only to have some rules take and others be ignored. Refusing to be bested, the developer pulled out the big guns: the infamous and <a href="http://stackoverflow.com/questions/5701149/when-to-use-important-property-in-css">hotly debated</a> !important rule. Unfortunately, this too proved to be ineffective as the forms still looked disheveled and mismatched; like Thom Yorke drew them by hand <a href="http://www.youtube.com/watch?v=3QzFHKPsupo">while dancing</a>.</p>
<p>The previous developer had made the same mistake that I myself have made countless times in the past; they forgot to take into account that some WordPress plugins generate their own CSS.  To make things worse, the order in which a plugin&#8217;s CSS is imported means that resistance is futile (thanks Borg).  Fortunately, this CSS can usually be switched off in the plugin&#8217;s options panel. If for some reason the option doesn&#8217;t exist, you could just locate the source of the offending CSS and comment it out. If you end up doing the latter, keep in mind that any future updates to the plugin will likely undo your commenting out of the code.</p>
<p>This project has reminded me of one !important lesson; you don&#8217;t know what you don&#8217;t know.  It wasn&#8217;t that long ago that I experienced the same situation; in my case it took me two days and a new keyboard before I figured out what was happening.</p>
<p>The post <a href="http://werkpress.com/2013/02/27/important-why-your-custom-css-isnt-working/">!important: Why your custom css isn&#8217;t working.</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/02/27/important-why-your-custom-css-isnt-working/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The CSS3 Box-sizing Property and the Complacency of Assumptions</title>
		<link>http://werkpress.com/2013/02/11/the-css3-box-sizing-property-and-the-complacency-of-assumptions/</link>
		<comments>http://werkpress.com/2013/02/11/the-css3-box-sizing-property-and-the-complacency-of-assumptions/#comments</comments>
		<pubDate>Mon, 11 Feb 2013 15:55:03 +0000</pubDate>
		<dc:creator>Eric Jorgensen</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=341</guid>
		<description><![CDATA[<p>It’s amazing how easy it is to be frustrated repeatedly by a technical issue without realizing there has been a simple solution available for years. In this case, I&#8217;m writing about a common CSS problem, specifically when you would like to add padding or a border to an element but have that element stretch to [...]</p><p>The post <a href="http://werkpress.com/2013/02/11/the-css3-box-sizing-property-and-the-complacency-of-assumptions/">The CSS3 Box-sizing Property and the Complacency of Assumptions</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>It’s amazing how easy it is to be frustrated repeatedly by a technical issue without realizing there has been a simple solution available for years.</p>
<p>In this case, I&#8217;m writing about a common CSS problem, specifically when you would like to add padding or a border to an element but have that element stretch to fill 100% of its container. The traditional box model includes interior padding and a border in an element’s width, so if you added padding to, for example, a <code>textarea</code> element and set the width of that element to 100%, it would stretch outside its containing element. Very frustrating.</p>
<p><img class="aligncenter size-full wp-image-342" alt="illustration" src="http://werkpress.com/wp-content/uploads/2013/02/illustration.png" width="300" height="174" /></p>
<p>Enter the CSS3 spec’s <code>box-sizing</code> property. If you set this property value like so:<br />
<code>{ box-sizing: border-box; }</code></p>
<p>. . . the affected element will fill its containing element without overflowing the parent’s boundaries. Neat.</p>
<p>I’ve dealt with this issue in various projects for years by hacking element widths as necessary, assuming that it would always be a limitation of the box model. Turns out it&#8217;s not, at least not anymore. Technology changes, and the world we live in evolves. This is especially true for those of us who work on the web, where change seems to be happen almost overnight. One would think that the rapid pace of change in our industry would force us to constantly reevaluate the things we think we know, but as the above example shows, it&#8217;s still easy to become complacent and stuck in old, inefficient ways of working.</p>
<p>I&#8217;m finally figuring out that it&#8217;s better to think that I know nothing instead of assuming that I know everything.</p>
<p>My advice to you is this: Don&#8217;t give up on searching for solutions to long-standing problems, especially the really frustrating ones. There will always be new things to learn and discover about whatever it is you do for a living; if you make a habit of questioning and reevaluating your skills, tools, and methods, you&#8217;ll make yourself more valuable as an employee and more well-rounded as a person.</p>
<p>Footnote: For more on the <code>box-sizing</code> property, visit <a href="http://css-tricks.com/box-sizing/">CSS Tricks</a>.</p>
<p>The post <a href="http://werkpress.com/2013/02/11/the-css3-box-sizing-property-and-the-complacency-of-assumptions/">The CSS3 Box-sizing Property and the Complacency of Assumptions</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/02/11/the-css3-box-sizing-property-and-the-complacency-of-assumptions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Your WordPress Theme Future Proof (And Some Common Mistakes)</title>
		<link>http://werkpress.com/2013/02/05/making-your-wordpress-theme-future-proof-and-some-common-mistakes/</link>
		<comments>http://werkpress.com/2013/02/05/making-your-wordpress-theme-future-proof-and-some-common-mistakes/#comments</comments>
		<pubDate>Tue, 05 Feb 2013 15:21:13 +0000</pubDate>
		<dc:creator>Nick Pelton</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=307</guid>
		<description><![CDATA[<p>WordPress Core updates are considered so solid these days that most hosts auto-update WordPress. It’s a different story for themes and plugins, which are often the culprit when a WordPress site starts misbehaving after an update.  At WerkPress we specialize in customizing WordPress themes and plugins, but we also do a fair share of *fixing* [...]</p><p>The post <a href="http://werkpress.com/2013/02/05/making-your-wordpress-theme-future-proof-and-some-common-mistakes/">Making Your WordPress Theme Future Proof (And Some Common Mistakes)</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>WordPress Core updates are considered so solid these days that most hosts auto-update WordPress. It’s a different story for themes and plugins, which are often the culprit when a WordPress site starts misbehaving after an update.  At WerkPress we specialize in customizing WordPress themes and plugins, but we also do a fair share of *fixing* code.  Put simply, there some rather poorly written themes and plugins out there; as WordPress evangelists it&#8217;s our mission to raise the bar.  Here are some best practices (and common mistakes to avoid) that will help build better themes, make clients happier and reduce support requests.</p>
<h3>Enqueueing Scripts, CSS, &amp; Libraries</h3>
<p>Time and again we see HTML references to Javascript and CSS files.  This can cause the same libraries to be loaded over and over, creating errors.  Since version 2.6 WordPress has built-in methods to deal with multiple dependancies on libraries, using <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script"><b>wp_enqueue_script()</b></a><b> </b>and <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_style"><b>wp_enqueue_style()</b></a> can prevent these collisions. I&#8217;ve heard this advice repeated hundreds of times on other blogs, yet many still put them in the HTML.</p>
<h3>Mo Libraries Mo Problems</h3>
<p>More and more libraries of code are being included in themes and plugins, and while they are awesome (jQuery in particular), they can bring problems.  For example, jQuery 1.9.0 was released on January 15,2013 and depreciated the <b>live()</b> function for the newer (and better) <b>on()</b> function. It was common practice to use the<b> live()</b> function to bind click events before <b>on()</b> was available. Unfortunately, many theme and plugin authors have failed to update. We&#8217;ve already received quite a few requests to fix this issue. So how can we deal with external libraries being updated when we don&#8217;t have control of this third party code?</p>
<ol>
<li><b>Link to a fixed, not latest, version on CDNs.</b>  It&#8217;s considered best practice to link to a <a href="https://developers.google.com/speed/libraries/devguide">CDN hosted version of a library</a>. Then, if you&#8217;ve visited another site that uses the same file, it will already be cached in your browser and you&#8217;ll experience faster load times. But often we see authors pointing to the “latest” versions on CDNs. So when this library is updated, the theme will point to the new file and potentially break. If you want to ensure your site won&#8217;t break every time the latest and greatest libraries are released, instead point to a known supported version.</li>
<li><b>Use the bundled libraries in WP Core.</b> While you lose the advantage of a CDN, WordPress bundles many common libraries-like jQuery- right into core. This makes it easy use an updated version while keeping an eye on WordPress release cycles, which can be tested daily using the <a href="http://wordpress.org/extend/plugins/wordpress-beta-tester/">WordPress Beta Tester plugin</a> and give you a heads-up to test your theme when libraries are updated.</li>
</ol>
<h3>WordPress Core</h3>
<p>In every WordPress update some old, replaced, or unnecessary functions are moved to a depreciated file for safekeeping and backwards compatibility. If possible, authors should regularly remove/replace depreciated functions from their themes and plugins. Why? Some argue that this is the beauty of WordPress; it worked in 2008 and it works now. But by using old functions, you’re missing out on performance increases and new usability afforded by these new functions. Also, at some point in the future, these depreciated functions may be removed entirely. Here are a few ways to track down and clean up those pesky depreciated functions:</p>
<ol>
<li><a href="http://codex.wordpress.org/WP_DEBUG"><b>Use WP_DEBUG(true);</b> </a>This is a best practice when developing in WordPress. Used in combination with a few other settings, you can log everything to a file and avoid nasty looking errors in your beautiful themes. Our preferred settings at WerkPress are: define(&#8216;WP_DEBUG&#8217;, true);<br />
define(&#8216;WP_DEBUG_LOG&#8217;, true);<br />
define(&#8216;WP_DEBUG_DISPLAY&#8217;, false); This will log all errors the file /wp-content/debug.log.</li>
<li><b>Use the plugin </b><a href="http://wordpress.org/extend/plugins/log-deprecated-notices/"><b>Log Depreciated Functions.</b></a><b> </b>This neat plugin provides a automated search of your WordPress Themes and Plugins for depreciated functions that should be replaced. It puts them in a nice GUI interface and even suggests the replacement function.</li>
</ol>
<h3>PHP Depreciations</h3>
<p>PHP has been releasing new versions at a good clip. Just like WordPress, the creators of PHP deprecate functions, but in this case they often don’t maintain backwards compatibility. This can be risky, as with most cheap shared hosting companies, you don’t have much choice when it comes to PHP versions. One day a large host could do a collective update and break thousands of sites that use depreciated functions. While probably a rare occurrence, it still good to periodically <a href="http://php.net/manual/en/migration53.deprecated.php">review latest versions of PHP what they are depreciating</a>.</p>
<h3>Child Themes</h3>
<p>If you&#8217;re looking to customize your theme and your author provides regular theme updates, child themes are the way to go.  A child theme will separate all of your hard work from being erased when the original theme gets updated.  It accomplishes this by separating your code from the parent theme in a discrete folder that uses the parent theme as a template.  This allows you to override templates, functions, and styles from the parent theme without ever modifying the parent theme&#8217;s code.</p>
<p>Occasionally, child themes won&#8217;t be enough, and you may need to edit the parent theme when making major changes in functionality or you discover parts of the parent theme that are not “overridable”.  In this case, you’ll want to make note that you are no longer able to update. At Werkpress, if we must edit the parent theme we&#8217;ll usually remove the update capability to prevent an accidental update and loss of code.</p>
<h3>This is the End</h3>
<p>We hope this rundown has been helpful to a fellow WordPresser or two.  Don’t forget, next time you see a mistake like any of the above – speak up!  It’s in the spirit of WordPress to help the community grow by writing the best code possible.  Now let’s raise the bar and build some awesome WordPress stuff.</p>
<p>The post <a href="http://werkpress.com/2013/02/05/making-your-wordpress-theme-future-proof-and-some-common-mistakes/">Making Your WordPress Theme Future Proof (And Some Common Mistakes)</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/02/05/making-your-wordpress-theme-future-proof-and-some-common-mistakes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How WordCamp Jumpstarted Our Business</title>
		<link>http://werkpress.com/2013/01/28/how-wordcamp-jumpstarted-our-business/</link>
		<comments>http://werkpress.com/2013/01/28/how-wordcamp-jumpstarted-our-business/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 16:28:32 +0000</pubDate>
		<dc:creator>Travis Totz</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Culture]]></category>

		<guid isPermaLink="false">http://werkpress.com/?p=293</guid>
		<description><![CDATA[<p>When I was trying to decide on a good topic in hopes of being selected to speak at the upcoming WordCamps in Atlanta and Miami, I considered something along the lines of the title of this post. For the sake of being too obvious, it&#8217;s evident that WordCamp conferences can be beneficial, but I want [...]</p><p>The post <a href="http://werkpress.com/2013/01/28/how-wordcamp-jumpstarted-our-business/">How WordCamp Jumpstarted Our Business</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>When I was trying to decide on a good topic in hopes of being selected to speak at the upcoming WordCamps in Atlanta and Miami, I considered something along the lines of the title of this post. For the sake of being too obvious, it&#8217;s evident that WordCamp conferences can be beneficial, but I want to share just how important the WordCamp San Francisco 2011 was in building WerkPress, so that it might inspire some attendees to really make WordCamp work for them in a big way, right now. Though I submitted my original topic, “A Designer’s Approach to Customizing Themes”, I still wanted to express how thankful I am both personally and professionally to WordCamp, as well as share how absolutely imperative they are for those that work with WordPress.</p>
<p>Attending WordCamp SF in 2011 was a bit of a happy accident. At the office we had discussed the travel expenses, possible opportunities and the connections we may potentially make— needless to say, we made the trip to San Fran for WordCamp that year.</p>
<blockquote><p>My goal for WordCamp was to build some new WerkPress relationships and ideally, even partner up with more theme shops, including the Theme Foundry, who would connect us with an important soon-to-be client.</p></blockquote>
<p>The client was on the hunt for an agency capable of designing and building an enterprise-level custom WordPress theme to replace the over 200 WP installs they were currently managing. They were having difficulty finding an agency that could deliver both design and development, and by chance had talked to the Theme Foundry, who recommended us. We forged a relationship with them, mostly as a resource for them in determining how to best approach their massive project. Fast-forward a few months, and we received a RFP (request for proposal) to design/develop their website. On a (huge) gamble, we flew out to meet with their web staff- and were thankfully awarded the contract. Creating a massive custom WordPress theme set us apart from other agencies who work in WordPress in a meaningful way: by effectively using WordPress to meet the needs of a major University, not just to power newspaper or sports blog. It enabled us to grow significantly that first year, by hiring additional staff, moving into a bigger office and by connecting us with more clients.<br />
The generosity of spirit of WordCamp opened the door for a big opportunity for us, which, mixed with a little rapport-building pro-bono consulting work, resulted in a big win.</p>
<p>The post <a href="http://werkpress.com/2013/01/28/how-wordcamp-jumpstarted-our-business/">How WordCamp Jumpstarted Our Business</a> appeared first on <a href="http://werkpress.com">WerkPress</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://werkpress.com/2013/01/28/how-wordcamp-jumpstarted-our-business/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching using apc
Object Caching 926/1023 objects using apc

 Served from: werkpress.com @ 2013-05-23 21:02:17 by W3 Total Cache -->