<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>New2WP</title>
	
	<link>http://new2wp.com</link>
	<description>Wordpress Tips for Noobs, Rookies and Pros</description>
	<lastBuildDate>Sun, 23 Sep 2012 16:45:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/New2WP" /><feedburner:info uri="new2wp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:emailServiceId>New2WP</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Hackathon In Boston? And Hi Again…</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/PBIxALxxGO8/</link>
		<comments>http://new2wp.com/rookie/isobar-create48/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 13:00:35 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Rookie]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Boston]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Hackathon]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://new2wp.com/?p=2991</guid>
		<description><![CDATA[Back again with some really cool news and a little update about how this year has been going since my last post. There this cool new event called Isobar Create 48 coming up that I wanted to share, and some of what I've been up to for the past 8 months.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/best-wordpress-hosting-service/" rel="bookmark" class="crp_title">Reliable WordPress Hosting You Never Knew You Wanted</a></li><li><a href="http://new2wp.com/news/new-canvas-added-for-drawing-right-on-new2wp/" rel="bookmark" class="crp_title">New Canvas Added For Drawing Right On New2WP</a></li><li><a href="http://new2wp.com/news/new2you-drawing-canvas-with-11-brushes-and-color-picker/" rel="bookmark" class="crp_title">New2You: Drawing Canvas With 11 Brushes And Color Picker</a></li><li><a href="http://new2wp.com/noob/textmate-coda-plugins-wordpress-development/" rel="bookmark" class="crp_title">New Textmate and Coda Starter Plugins For WordPress&hellip;</a></li><li><a href="http://new2wp.com/roundups/7-ma7-marketplaces-buy-sell-designs-appsrketplaces-buy-sell-designs-apps/" rel="bookmark" class="crp_title">7 Marketplaces To Buy And Sell Designs And Applications</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p>So wow, hi again. It's been quite some time since there was a recent post on this site huh? I know I know, sorry about that. It's been quite a year let me say. I have decided to share some updates and some cool news that you may be interested in!</p>
<h2>Isobar Create 48. Invent Something. Change Everything.</h2>
<p>Isobar is hosting a 3 day non-stop event starting September 13th called <a href="http://na.isobar.com/2011/isobarcreate48/" target="_blank">Isobar Create 48</a>. This is the first DevCon of its kind to explore the NFC chip inside the Google Nexus S. Essentially, it's going to be a 48 hour hackathon that everyone is invited to and encouraged to bring anyone they like with them.</p>
<p>Near Field Communication (NFC) technology will let us make transactions, exchange digital content, and connect electronic devices like never before. Your phone will be your credit card, boarding pass, hotel room key, coupons at the supermarket. You’ll buy only the 3 minutes you need on the parking meter.</p>
<p>If you're interested in checking this out, <a href="http://na.isobar.com/2011/isobarcreate48/" target="_blank">you can get all the details here</a>. Don't worry if you don't have a team, you will be able to jump in with any team, or <a href="http://na.isobar.com/2011/isobarcreate48_teams/">go here to organize with others who need a team</a> too.</p>
<p>This is sure to be an event you don't want to miss!</p>
<h2>Now For An Update</h2>
<p>This year started out with a bang really, at least for me. It was kinda not so great the first couple weeks of the year but, then I started a job working as a Front-end Developer at <a href="http://us.isobar.com">Isobar</a>, which to say the least, has been really great. My first day I was working on <a href="http://adidas.com/">adidas.com</a>, which after my third week there, was suddenly the main front-end developer working on that project. It was crazy intense and a very quick learning experience, but a really awesome one for sure.</p>
<p>The sites I've worked on for adidas are under the Sports Performance part of their site. Some of these I worked on more than others, and some <em>way</em> more than others.</p>
<ul>
<li><a href="http://adidas.com/basketball/us" target="_blank">Basketball</a></li>
<li><a href="http://adidas.com/soccer/us" target="_blank">Football/Soccer</a></li>
<li><a href="http://adidas.com/running/com" target="_blank">Running</a></li>
<li><a href="http://adidas.com/tennis/com" target="_blank">Tennis</a></li>
<li><a href="http://adidas.com/training/us" target="_blank">Men's Training</a></li>
<li><a href="http://adidas.com/women/us" target="_blank">Women's Training</a></li>
<li><a href="http://adidas.com/outdoor/com" target="_blank">Outdoors</a></li>
</ul>
<p>I've been extremely busy working for some really high-profile clients and doing a ton of really cool stuff on the front-end. Also, I helped re-develop and design the <a href="http://na.isobar.com/standards" target="_blank">Isobar Front-end Code Standards &amp; Best Practices</a> page making it HTML5, I wrote the <a href="http://na.isobar.com/standards/#_web_typography">web typography section</a> as a new addition as well as some various other minor edits and additions to the page content too, and I also added in some really cool easter eggs that change the logo to a canvas animation I made and make <strong>#plaidirish</strong> all over the place which is pretty baller. :)</p>
<p>We put the <a href="https://github.com/isobar-idev/code-standards/" target="_blank">doc up on Github</a> and welcome everyone to come give their feedback, open issues for any edits or additions you'd like to see added, and of course, <strong>fork us</strong>!!</p>
<p>I've also been doing some really cool stuff with <a href="http://anti-code.com">HTML5 and Canvas on Anti-code</a>, one of my new sites, so check that out. Plus some even cooler stuff for Samsung's Olympic Genome Project using HTML5 and Canvas too. It's going to be a Facebook app that will be released in the somewhat near future, so be on the lookout for that it's going to be amazing.</p>
<h3>You like ovals?</h3>
<p>As you can see I haven't been doing all that much with my time. But really I have barely had the time to sleep let alone write a new post here. Apologies for disappearing like that. Maybe leaving you with this little snippet will make up for it?</p>
<pre class="brush: php; title: ; notranslate">
// here's a helper function for drawing ovals with bezier curves in canvas
function ovalMaker(centerX, centerY, width, height) {
	con.beginPath();
	con.moveTo(centerX, centerY - height / 2);
	
	con.bezierCurveTo(
		centerX + width / 2, centerY - height / 2,
		centerX + width / 2, centerY + height / 2,
		centerX, centerY + height / 2
	);
	con.bezierCurveTo(
		centerX - width / 2, centerY + height / 2,
		centerX - width / 2, centerY - height / 2,
		centerX, centerY - height / 2
	);
	
	con.fill();
	con.closePath();
}
</pre>
<p>This function is useful in Canvas to draw oval shapes, or circles that aren't perfectly round....ovals. How do you use it? Simple.</p>
<pre class="brush: php; title: ; notranslate">
// USAGE

// vertical skinnier oval
bezierCurve(x + 60, y + 75, 80, 130);

// vertical fatter oval
bezierCurve(x + 150, y + 75, 100, 120);

// small oval
bezierCurve(x + 125, y + 175, 20, 30);

// horizontal oval
bezierCurve(x + 105, y + 225, 200, 50);
</pre>
<p>Well, that's all I have time for today. I have to get back to working on work work, work. I work on work when not at work, until I leave for work to work on work work. </p>
<p>That^ pretty much sums up these past months for me right there. All I gotta say is <strong>love what you do, it's awesome</strong>.</p>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/best-wordpress-hosting-service/" rel="bookmark" class="crp_title">Reliable WordPress Hosting You Never Knew You Wanted</a></li><li><a href="http://new2wp.com/news/new-canvas-added-for-drawing-right-on-new2wp/" rel="bookmark" class="crp_title">New Canvas Added For Drawing Right On New2WP</a></li><li><a href="http://new2wp.com/news/new2you-drawing-canvas-with-11-brushes-and-color-picker/" rel="bookmark" class="crp_title">New2You: Drawing Canvas With 11 Brushes And Color Picker</a></li><li><a href="http://new2wp.com/noob/textmate-coda-plugins-wordpress-development/" rel="bookmark" class="crp_title">New Textmate and Coda Starter Plugins For WordPress&hellip;</a></li><li><a href="http://new2wp.com/roundups/7-ma7-marketplaces-buy-sell-designs-appsrketplaces-buy-sell-designs-apps/" rel="bookmark" class="crp_title">7 Marketplaces To Buy And Sell Designs And Applications</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/PBIxALxxGO8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/rookie/isobar-create48/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://new2wp.com/rookie/isobar-create48/</feedburner:origLink></item>
		<item>
		<title>CSS3 Checkered Background Pattern With MotherEffing HSL</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/_qZsq8O5iRo/</link>
		<comments>http://new2wp.com/snippet/css3-checkere-background-pattern-with-mothereffing-hsl/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 13:25:31 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2983</guid>
		<description><![CDATA[This post is half-hacked to be displaying an ugly-half-hacked demo of this code, so don't mind the broken areas of the layout I did this in 20 minutes before work this morning. It's much <a href="http://jsfiddle.net/jaredwilli/hVgXg/" target="_blank">better looking here</a>. If you've seen or used <a href="http://mothereffinghsl.com" target="_blank">MotherEffingHSL</a> you know what's up and why it's the isht. This background is based on the black version of it on Paul's site, I just figured out how and what I needed to change to make colorful hues of it rather than just black and white. It's quite simple, it's just a little confusing while trying to change the colors with all the properties for covering browser supports.

<small>ps: if you go to Paul's site, look at the source code at what the fallback is for if your browser doesn't support canvas. It should be good for a chuckle, I was cracking up lol.</small><div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/news/wordpress-3-0-available-download/" rel="bookmark" class="crp_title">WordPress 3.0 Now Officially Available For Download</a></li><li><a href="http://new2wp.com/pro/jquery-drop-down-menu-wordpress-3-menu/" rel="bookmark" class="crp_title">Create A WordPress 3.0 jQuery Drop Down Nav Menu</a></li><li><a href="http://new2wp.com/noob/how-to-make-css3-buttons/" rel="bookmark" class="crp_title">How To Make Two Tone CSS 3 Inset Buttons</a></li><li><a href="http://new2wp.com/news/new2you-drawing-canvas-with-11-brushes-and-color-picker/" rel="bookmark" class="crp_title">New2You: Drawing Canvas With 11 Brushes And Color Picker</a></li><li><a href="http://new2wp.com/pro/wordpress-dashboard-themes/" rel="bookmark" class="crp_title">How To Create WordPress Dashboard Themes And Styles</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<style type="text/css">
html, body { min-height: 100%; }
.post a, a:visited { color:#fff!important; }
.post a:hover { color: #91E01B!important; }
.post {
    padding:5px 0;
    background: hsl(200, 100%, 28%);
    background-image:
        -webkit-gradient(linear, 0 50%, 0 100%,
            from(transparent),
            to(hsla(200, 100%, 0%, 0.8))),
        -webkit-gradient(linear, 0 100%, 100% 0,
            color-stop(.25, hsla(200, 100%, 100%, 0.08)),
            color-stop(.25, transparent),
            color-stop(0.5, transparent),
            color-stop(0.5, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, transparent), to(transparent)),
        -webkit-gradient(linear, 0 0, 100% 100%,
            color-stop(.25, hsla(200, 100%, 100%, 0.08)),
            color-stop(.25, transparent),
            color-stop(0.5, transparent),
            color-stop(0.5, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, transparent), to(transparent));
    background-image:
        -moz-linear-gradient(transparent,
            hsla(200, 100%, 100%, 0.8)),
        -moz-linear-gradient(45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent),
        -moz-linear-gradient(-45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent);
    background-image:
        -o-linear-gradient(transparent,
            hsla(200, 100%, 0%, 0.8)),
        -o-linear-gradient(45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent),
        -o-linear-gradient(-45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent);
    background-image:
        linear-gradient(transparent,
            hsla(200, 100%, 0%, 0.8)),
        linear-gradient(45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent),
        linear-gradient(-45deg,
        hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent)
}
</style>
<pre class="brush: php; title: ; notranslate">
html, body { min-height: 100%; }
html {
    background: hsl(200, 100%, 28%);
    background-image:
        -webkit-gradient(linear, 0 50%, 0 100%,
            from(transparent),
            to(hsla(200, 100%, 0%, 0.8))),
        -webkit-gradient(linear, 0 100%, 100% 0,
            color-stop(.25, hsla(200, 100%, 100%, 0.08)),
            color-stop(.25, transparent),
            color-stop(0.5, transparent),
            color-stop(0.5, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, transparent), to(transparent)),
        -webkit-gradient(linear, 0 0, 100% 100%,
            color-stop(.25, hsla(200, 100%, 100%, 0.08)),
            color-stop(.25, transparent),
            color-stop(0.5, transparent),
            color-stop(0.5, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, hsla(200, 100%, 100%, 0.08)),
            color-stop(.75, transparent), to(transparent));
    background-image:
        -moz-linear-gradient(transparent,
            hsla(200, 100%, 100%, 0.8)),
        -moz-linear-gradient(45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent),
        -moz-linear-gradient(-45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent);
    background-image:
        -o-linear-gradient(transparent,
            hsla(200, 100%, 0%, 0.8)),
        -o-linear-gradient(45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent),
        -o-linear-gradient(-45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent);
    background-image:
        linear-gradient(transparent,
            hsla(200, 100%, 0%, 0.8)),
        linear-gradient(45deg,
            hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent),
        linear-gradient(-45deg,
        hsla(200, 100%, 0%, 0.08) 25%, transparent 25%, transparent 50%,
            hsla(200, 100%, 0%, 0.08) 50%,
            hsla(200, 100%, 0%, 0.08) 75%, transparent 75%, transparent)
}
</pre>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/news/wordpress-3-0-available-download/" rel="bookmark" class="crp_title">WordPress 3.0 Now Officially Available For Download</a></li><li><a href="http://new2wp.com/pro/jquery-drop-down-menu-wordpress-3-menu/" rel="bookmark" class="crp_title">Create A WordPress 3.0 jQuery Drop Down Nav Menu</a></li><li><a href="http://new2wp.com/noob/how-to-make-css3-buttons/" rel="bookmark" class="crp_title">How To Make Two Tone CSS 3 Inset Buttons</a></li><li><a href="http://new2wp.com/news/new2you-drawing-canvas-with-11-brushes-and-color-picker/" rel="bookmark" class="crp_title">New2You: Drawing Canvas With 11 Brushes And Color Picker</a></li><li><a href="http://new2wp.com/pro/wordpress-dashboard-themes/" rel="bookmark" class="crp_title">How To Create WordPress Dashboard Themes And Styles</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/_qZsq8O5iRo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/css3-checkere-background-pattern-with-mothereffing-hsl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/css3-checkere-background-pattern-with-mothereffing-hsl/</feedburner:origLink></item>
		<item>
		<title>Cool CSS3 Text Effects With Multi-Layered Text-Shadows</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/ZO6_eC5PnB8/</link>
		<comments>http://new2wp.com/snippet/cool-css3-text-shadows-effects/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 12:30:29 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2982</guid>
		<description><![CDATA[I made this for one of Antonio's many un-released web apps which he has made and felt that since it was a pretty cool thing that's worth sharing, not too hard to create (not counting cross-browser, I know this currently is not). 

The background, text, and text-shadow colors, and shadow offsets are the only really required things that need setting up properly. Getting the color values, shades, and transparencies to work harmoniously takes an eye for design, but that's about it.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/how-to-make-css3-buttons/" rel="bookmark" class="crp_title">How To Make Two Tone CSS 3 Inset Buttons</a></li><li><a href="http://new2wp.com/pro/wordpress-dashboard-themes/" rel="bookmark" class="crp_title">How To Create WordPress Dashboard Themes And Styles</a></li><li><a href="http://new2wp.com/pro/jquery-drop-down-menu-wordpress-3-menu/" rel="bookmark" class="crp_title">Create A WordPress 3.0 jQuery Drop Down Nav Menu</a></li><li><a href="http://new2wp.com/noob/rss-subscribe-boxafter-wordpress-posts/" rel="bookmark" class="crp_title">Easily Add A Subscribe To Feed Reminder To The Bottom Of&hellip;</a></li><li><a href="http://new2wp.com/noob/highlighting-onclick-shortlink-wordpress3/" rel="bookmark" class="crp_title">New2Tip: Adding A Click Highlighting Shortlink Input To&hellip;</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<style type="text/css">
.textdemo { background:#620A26; padding:10px; }
header h1 {
    text-shadow: -1px  1px 1px #16B88C, -2px -1px 1px #2E0E04, 1px 1px 0 #16B88C, 2px 3px 1px  #2E0E04, 3px 3px 1px #2E0E04, 4px 4px 1px #0C634C, 5px 5px 0 #2E0E04,  6px 6px 0 #2E0E04, 7px 7px 0 #2E0E04;
    width: 500px;
    font-size:10em;
    color: #00523C;
    text-align:center;
}
</style>
<div class="textdemo">
<header>
<h1>Sweet!</h1>
</header>
</div>
<pre class="brush: php; title: ; notranslate">
header h1 {
    text-shadow: -1px  1px 1px #16B88C, 
		-2px -1px 1px #2E0E04, 
		 1px 1px 0 #16B88C, 
		 2px 3px 1px #2E0E04, 
		 3px 3px 1px #2E0E04, 
		 4px 4px 1px #0C634C, 
		 5px 5px 0 #2E0E04, 
		 6px 6px 0 #2E0E04, 
		 7px 7px 0 #2E0E04;
    color: #00523C;
    width: 500px;
    font-size:10em;
}
</pre>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/how-to-make-css3-buttons/" rel="bookmark" class="crp_title">How To Make Two Tone CSS 3 Inset Buttons</a></li><li><a href="http://new2wp.com/pro/wordpress-dashboard-themes/" rel="bookmark" class="crp_title">How To Create WordPress Dashboard Themes And Styles</a></li><li><a href="http://new2wp.com/pro/jquery-drop-down-menu-wordpress-3-menu/" rel="bookmark" class="crp_title">Create A WordPress 3.0 jQuery Drop Down Nav Menu</a></li><li><a href="http://new2wp.com/noob/rss-subscribe-boxafter-wordpress-posts/" rel="bookmark" class="crp_title">Easily Add A Subscribe To Feed Reminder To The Bottom Of&hellip;</a></li><li><a href="http://new2wp.com/noob/highlighting-onclick-shortlink-wordpress3/" rel="bookmark" class="crp_title">New2Tip: Adding A Click Highlighting Shortlink Input To&hellip;</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/ZO6_eC5PnB8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/cool-css3-text-shadows-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/cool-css3-text-shadows-effects/</feedburner:origLink></item>
		<item>
		<title>Bookmarklet For Making An Entire Site ContentEditable</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/4KIFy_-wlmA/</link>
		<comments>http://new2wp.com/snippet/simplecontent-editable-bookmarklet/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 07:34:00 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2979</guid>
		<description><![CDATA[Just a simple thing that you can paste into the address bar on any site to make the content of the entire page editable. Or you can <a href="javascript:document.body.setAttribute("contenteditable", "true");"><strong>drag this link</strong></a> to your bookmarks and save it as a bookmarklet.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/new2tip-allow-visitors-to-search-by-category/" rel="bookmark" class="crp_title">New2Tip: Allow Visitors To Search By Category</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series3/" rel="bookmark" class="crp_title">OOPost Types: Objects Part 3 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/always-spell-wordpress-correctly/" rel="bookmark" class="crp_title">Always Spell WordPress Correctly</a></li><li><a href="http://new2wp.com/rookie/create-social-bookmark-buttons/" rel="bookmark" class="crp_title">Create Your Own Social Bookmark Button Links</a></li><li><a href="http://new2wp.com/noob/create-metabox-custom-post-types/" rel="bookmark" class="crp_title">Create A Simple Metabox For Custom Post Types</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
javascript:document.body.setAttribute(&quot;contenteditable&quot;, &quot;true&quot;);
</pre>
<p>Copy and paste that in the address bar and try it out on this page right now. Once you run it, try editing content in any part of the page. You could even do select All and delete everything entirely of the page. Try it!</p>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/new2tip-allow-visitors-to-search-by-category/" rel="bookmark" class="crp_title">New2Tip: Allow Visitors To Search By Category</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series3/" rel="bookmark" class="crp_title">OOPost Types: Objects Part 3 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/always-spell-wordpress-correctly/" rel="bookmark" class="crp_title">Always Spell WordPress Correctly</a></li><li><a href="http://new2wp.com/rookie/create-social-bookmark-buttons/" rel="bookmark" class="crp_title">Create Your Own Social Bookmark Button Links</a></li><li><a href="http://new2wp.com/noob/create-metabox-custom-post-types/" rel="bookmark" class="crp_title">Create A Simple Metabox For Custom Post Types</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/4KIFy_-wlmA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/simplecontent-editable-bookmarklet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/simplecontent-editable-bookmarklet/</feedburner:origLink></item>
		<item>
		<title>[Review] GD Press Tools Plugin For WordPress</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/d2mRI_W0ftw/</link>
		<comments>http://new2wp.com/rookie/press-tools-wordpress-plugin-review/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 12:00:49 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Rookie]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://new2wp.com/?p=2917</guid>
		<description><![CDATA[If you haven't used or heard of the Press Tools plugin you should come learn about what it has to offer. I believe everyone using WordPress should know about it, and the features it includes and my overall experience while testing it out on New2WP<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/textmate-coda-plugins-wordpress-development/" rel="bookmark" class="crp_title">New Textmate and Coda Starter Plugins For WordPress&hellip;</a></li><li><a href="http://new2wp.com/pro/basic-theme-framework-wordpress3-custom-post-type/" rel="bookmark" class="crp_title">3.0 Basics WordPress Theme Framework</a></li><li><a href="http://new2wp.com/pro/latest-custom-post-type-posts-sidebar-widget/" rel="bookmark" class="crp_title">New2WP Latest Posts For Custom Types Sidebar Widget&hellip;</a></li><li><a href="http://new2wp.com/noob/rss-subscribe-boxafter-wordpress-posts/" rel="bookmark" class="crp_title">Easily Add A Subscribe To Feed Reminder To The Bottom Of&hellip;</a></li><li><a href="http://new2wp.com/downloads/" rel="bookmark" class="crp_title">Free Downloads</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<h2>Possibly The Most Useful WordPress Plugin Ever</h2>
<p>I recently had the pleasure of being able to review some of the premium products from <a href="http://dev4press.com/?affcde=200134536">Dev4Press</a> one of which was their WordPress plugin <a href="http://www.dev4press.com/plugins/gd-press-tools/?affcde=200134536">GD Press Tools</a>, and I was blown away by it. I mean literally in total awe for the 3 hours it took for me to get through playing with all of it's features, options and tools which made my jaw drop on more than occasion. It is the single most useful plugin and most advanced one I have seen to this date. I really can't stress that enough.</p>
<p>How many plugins (or functions you've custom coded into your theme if you're like me) do you use for things that you consider an essential feature or enhancement to the WP dashboard? Maybe a handful or more, right? And how many plugins <em>would</em> you install if not for the fact you don't want 1001 plugins installed just to do one thing here, two things there, etc.? Probably more than a handful, and possibly much more. I know because I would just from the number of custom code functions I wrote or use as common include for every site I make. The dashboard is good, but it can be so much better mostly in little ways depending on your personal preferences.</p>
<p>Now think about how keeping these things all up to date and otherwise regularly maintained and working properly....</p>
<p><a href="http://www.dev4press.com/plugins/gd-press-tools/editions/?affcde=200134536" title="GD Press Tools Plugin"><img src="http://new2wp.com/wp-content/uploads/2011/02/dev4p_gdpt_300x250.png" alt="GD Press Tools Plugin" width="300" height="250" class="alignright size-full wp-image-2958" /></a>Let's say you have 5 plugins installed for enhancing the admin some how in some way, all created by different people. It's not guaranteed that they all will be maintained and/or updated as needed or even at all in some cases. You have to rely on the developers of each plugin to release updates. Plus, let's say even if all 5 of them DID update their plugins regularly, that still means you have 5 things to install updates for. Not to mention options for these things might be non-intuitively implemented like in a section or existing options page you wouldn't expect, or just entirely non-existent. I can think of many more things I have disliked about plugins, leading me to just start coding my own things into my themes and reducing the need to install plugins by a lot.</p>
<h2>One Plugin + One Place + One Update = Win</h2>
<blockquote><p>"The idea is to include as many admin related features as I can, and eliminate need for many different plugins that will potentially break with WordPress updates because their authors didn't update them. So, I am adding all the things I need, and as this is premium plugin, it will be updated to be compatible with latest versions of WP minimizing problems to users when switching to new version."</p>
<div class="alignright">- <em>Milan Petrovic</em></div>
</blockquote>
<p>There are far too many features available in GD Press Tools to list here, but they are organized under the following:</p>
<div class="alignleft">
<ul>
<li>Database tools</li>
<li>Backup Tools</li>
<li>Registrations And Users Management</li>
<li>Search engine optimization</li>
<li>Cron scheduler</li>
<li>Administration tools</li>
<li>Info</li>
<li>Integration</li>
<li>Logging and Debugging</li>
<li>Dashboard Widgets</li>
</ul>
</div>
<div class="alignright" style="margin-right:80px;">
<ul>
<li>Post Tools</li>
<li>Auto Tagging</li>
<li>RSS Feeds</li>
<li>Security</li>
<li>CSS Hacks</li>
<li>Updates</li>
<li>Tracking Visits</li>
<li>PHP Settings</li>
<li>Various Tweaks</li>
</ul>
</div>
<div class="clearfix"></div>
<p>WOW!!! Even as I made that list I said to myself holy S***! I'm serious. And these are just the sections, which each include sub-sections. Basically, picture something like 2 dozen separate things that are like multiple common little plugins your using on your site right now, all packed into one plugin and organized nicely and with more options than those you have installed all have if they were combined into one.</p>
<p>Take a look at the screen shots of just a few of the options pages to see what kinds of settings and features you can customize to get a better idea what I'm talking about.</p>
<div id="screenshots">
<p><br clear="all"></p>
<div align="center" class="alignleft"><strong>Options Front Page</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_frontpanel.jpg" title="Options Front Page"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_frontpanel-260x120.jpg" alt="Press Tools" border="0" class="alignnone" title="Press Tools" /></a>
</div>
<div align="center" class="alignright"><strong>Backup Panel</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_backuppanel.png" title="Backup Panel"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_backuppanel-260x120.png" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
<p><br clear="all"></p>
<div align="center" class="alignleft"><strong>Database Backup</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_dbbackup.jpg" title="Database Backup"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_dbbackup-260x120.jpg" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
<div align="center" class="alignright"><strong>Unserializer Tool</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_unserializer.png" title="Unserializer Tool"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_unserializer-260x120.png" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
<p><br clear="all"></p>
<div align="center" class="alignleft"><strong>User Management Panel</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_registrations.png" title="User Management Panel"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_registrations-260x120.png" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
<div align="center" class="alignright"><strong>Meta Tags</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_metaverify.png" title="Meta Tags"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_metaverify-260x120.png" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
<p><br clear="all"></p>
<div align="center" class="alignleft"><strong>Maintenance Mode</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_mmodesettings.png" title="Maintenance Mode"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_mmodesettings-260x120.png" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
<div align="center" class="alignright"><strong>Database Table Tools</strong><br />
	<a href="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_databasepanel.png" title="Database Altering Tools"><br />
	<img src="http://new2wp.com/wp-content/uploads/2011/02/gd-press-tools_databasepanel-260x120.png" alt="PressTools" border="0" class="alignnone" title="PressTools" /></a>
</div>
</div>
<p><br clear="all"></p>
<p>There really wasn't anything I found wrong or negative about it. I even said to Antonio how amazed I was with how optimized it was based on the performance and speed of the site. I would think such a plugin would use a lot of memory and slow down your site since I have seen tiny plugins use more memory, but surprisingly, there was no difference at all in speed that I noticed.</p>
<p>The plugin is constantly in development with many new options added with every major update. GD Press Tools 4.0 Pro Beta 1 is coming out on Tuesday, which includes many rewritten or massively improved plugin parts, plus tons of newly added features!! After I heard this, I couldn't even think what else there could even be left to add so I can't wait to see what's new. The official version of 4.0 is set to be released at the end of this month.</p>
<p>On top of regular improvements and additional features it is always kept up to date with latest WordPress core development. It's tested with WordPress 2.8 and newer, including WordPress 3.0 even in multi site mode with additional global settings for the site administrator. Yes there are options pages and settings which allow you to control the multi site features in 3.0 which is wicked awesome.</p>
<p>There are <a href="http://www.dev4press.com/plugins/gd-press-tools/editions/?affcde=200134536">3 editions of GD Press Tools</a> available. The Free Edition is the Lite version, which has less options and features and doesn't include other really good things like documentation, support, and tutorials. The Standard Membership is the Pro version, and includes everything. The Developer Membership is the same as Standard but with email support, SVN and TRAC access included as well. </p>
<h2>Special Offer For Our Readers</h2>
<p>As an added bonus to readers of this site, use the coupon code <strong>NEW2WP</strong> when purchasing this plugin and you will receive a 20% discount (on initial product purchase payment). This promo coupon is good for the next year.</p>
<p>I did the math for you too (I really hate math just so you know):<br />
Using Coupon: <strong>NEW2WP</strong><br />
You pay only: <strong>€48</strong> or <strong>$65</strong> first year (€24 or $32.50 after that)</p>
<p>That's a pretty good deal, and even more worth it, as if the number of plugins this one plugin could replace, and/or improve or add on your site wasn't enough already.</p>
<p>Go check out the huge list of features.</p>
<table width="560" style="border:none;">
<tr style="background:none;">
<td style="padding:3px;border:none"><a href="http://www.dev4press.com/plugins/gd-press-tools/?affcde=200134536"><img src="http://cdnx.dev4press.com/wp-content/themes/lightscape/img/buttons/product_plugininfo.png" alt="Plugin Info" border="0" /></a></td>
<td style="padding:3px;border:none"><a href="http://www.dev4press.com/plugins/gd-press-tools/features/?affcde=200134536"><img src="http://cdnx.dev4press.com/wp-content/themes/lightscape/img/buttons/product_features.png" alt="Features" /></a></td>
<td style="padding:3px;border:none"><a href="http://www.dev4press.com/plugins/gd-press-tools/editions/?affcde=200134536"><img src="http://cdnx.dev4press.com/wp-content/themes/lightscape/img/buttons/product_buynow.png" border="0" alt="Purchase Now" /></a></td>
</tr>
</table>
<p>I personally think it should've won the <a href="http://2010.wphonors.com/category/commercial-plugins/">2010 WPHonors Commercial Plugins</a> if only more people had an idea of what it is capable of.</p>
<p>If anyone has used this plugin before, what did you think about it? Post a comment with your experience of it, and let us know.</p>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/textmate-coda-plugins-wordpress-development/" rel="bookmark" class="crp_title">New Textmate and Coda Starter Plugins For WordPress&hellip;</a></li><li><a href="http://new2wp.com/pro/basic-theme-framework-wordpress3-custom-post-type/" rel="bookmark" class="crp_title">3.0 Basics WordPress Theme Framework</a></li><li><a href="http://new2wp.com/pro/latest-custom-post-type-posts-sidebar-widget/" rel="bookmark" class="crp_title">New2WP Latest Posts For Custom Types Sidebar Widget&hellip;</a></li><li><a href="http://new2wp.com/noob/rss-subscribe-boxafter-wordpress-posts/" rel="bookmark" class="crp_title">Easily Add A Subscribe To Feed Reminder To The Bottom Of&hellip;</a></li><li><a href="http://new2wp.com/downloads/" rel="bookmark" class="crp_title">Free Downloads</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/d2mRI_W0ftw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/rookie/press-tools-wordpress-plugin-review/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://new2wp.com/rookie/press-tools-wordpress-plugin-review/</feedburner:origLink></item>
		<item>
		<title>Find All Users With Specific User Role In WordPress</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/iXRVHgm7vj4/</link>
		<comments>http://new2wp.com/snippet/find-users-by-role-wordpress/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 17:03:31 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2957</guid>
		<description><![CDATA[This is a useful little function that you can use to find users by their user roles. You just call this function in your theme and pass which user role you want to return users from. 

Sometimes you want to do this to prevent or allow users with a certain role access to an area of the dashboard, or maybe ability to view/post/edit posts or pages of your site using <a href="http://codex.wordpress.org/Function_Reference/current_user_can">current_user_can()</a>, which may be combined with the info you get from this function for example. <a href="http://codex.wordpress.org/Roles_and_Capabilities">Read about User Roles and Capabilities</a> for more information on this topic.

<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series3/" rel="bookmark" class="crp_title">OOPost Types: Objects Part 3 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/how-to-remove-nofollow-from-your-comments/" rel="bookmark" class="crp_title">How To Remove nofollow From Your Comments</a></li><li><a href="http://new2wp.com/noob/wordpress-search-custom-post-types/" rel="bookmark" class="crp_title">New2Tip: How To Include Custom Post Types In WordPress&hellip;</a></li><li><a href="http://new2wp.com/rookie/learn-to-make-pain-free-short-codes-with-wordpress/" rel="bookmark" class="crp_title">Learn To Make Pain Free Short Codes With WordPress</a></li><li><a href="http://new2wp.com/rookie/bug-wordpress3-taxonomies-wp_nav_menu/" rel="bookmark" class="crp_title">A Bug I Found With WordPress 3.0 Taxonomies And wp_nav_menu</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
/**
 * Finds all users with specified role.
 *
 * @param string $role role to find
 * @return array found users
 */
function get_users_with_role( $role ) {
	$wp_user_search = new WP_User_Search( '', '', $role );
	return $wp_user_search-&gt;get_results();
}
</pre>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series3/" rel="bookmark" class="crp_title">OOPost Types: Objects Part 3 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/how-to-remove-nofollow-from-your-comments/" rel="bookmark" class="crp_title">How To Remove nofollow From Your Comments</a></li><li><a href="http://new2wp.com/noob/wordpress-search-custom-post-types/" rel="bookmark" class="crp_title">New2Tip: How To Include Custom Post Types In WordPress&hellip;</a></li><li><a href="http://new2wp.com/rookie/learn-to-make-pain-free-short-codes-with-wordpress/" rel="bookmark" class="crp_title">Learn To Make Pain Free Short Codes With WordPress</a></li><li><a href="http://new2wp.com/rookie/bug-wordpress3-taxonomies-wp_nav_menu/" rel="bookmark" class="crp_title">A Bug I Found With WordPress 3.0 Taxonomies And wp_nav_menu</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/iXRVHgm7vj4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/find-users-by-role-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/find-users-by-role-wordpress/</feedburner:origLink></item>
		<item>
		<title>Show Date Last Modified For Posts</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/kP_YzSEGrHM/</link>
		<comments>http://new2wp.com/snippet/show-date-last-modified-for-posts/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 06:08:32 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2938</guid>
		<description><![CDATA[Here's a quick and easy way to display when your posts were last modified. Works inside the Loop, and that should include custom post types as well.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/rookie/new-post-form-wordpress-custom-post-types/" rel="bookmark" class="crp_title">[Guest Post] Submit WordPress Posts From The Frontend Of&hellip;</a></li><li><a href="http://new2wp.com/noob/show-multiple-custom-post-type-posts-query-sidebar/" rel="bookmark" class="crp_title">Showing Posts From Multiple Custom Post Types In The Loop</a></li><li><a href="http://new2wp.com/noob/highlighting-onclick-shortlink-wordpress3/" rel="bookmark" class="crp_title">New2Tip: Adding A Click Highlighting Shortlink Input To&hellip;</a></li><li><a href="http://new2wp.com/rookie/create-social-bookmark-buttons/" rel="bookmark" class="crp_title">Create Your Own Social Bookmark Button Links</a></li><li><a href="http://new2wp.com/noob/adding-backwards-compatible-wordpress-menus-to-your-theme/" rel="bookmark" class="crp_title">Adding Backwards Compatible WordPress Menus To Your Theme</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
Posted: &lt;?php the_time( 'F jS, Y' ); ?&gt; | 
&lt;?php 
$u_time = get_the_time('U');
$u_modified_time = get_the_modified_time('U');
if( $u_modified_time != $u_time ) {
    echo 'Last modified: ';
    the_modified_time('F jS, Y');
    echo '. ';
}
?&gt;
</pre>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/rookie/new-post-form-wordpress-custom-post-types/" rel="bookmark" class="crp_title">[Guest Post] Submit WordPress Posts From The Frontend Of&hellip;</a></li><li><a href="http://new2wp.com/noob/show-multiple-custom-post-type-posts-query-sidebar/" rel="bookmark" class="crp_title">Showing Posts From Multiple Custom Post Types In The Loop</a></li><li><a href="http://new2wp.com/noob/highlighting-onclick-shortlink-wordpress3/" rel="bookmark" class="crp_title">New2Tip: Adding A Click Highlighting Shortlink Input To&hellip;</a></li><li><a href="http://new2wp.com/rookie/create-social-bookmark-buttons/" rel="bookmark" class="crp_title">Create Your Own Social Bookmark Button Links</a></li><li><a href="http://new2wp.com/noob/adding-backwards-compatible-wordpress-menus-to-your-theme/" rel="bookmark" class="crp_title">Adding Backwards Compatible WordPress Menus To Your Theme</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/kP_YzSEGrHM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/show-date-last-modified-for-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/show-date-last-modified-for-posts/</feedburner:origLink></item>
		<item>
		<title>Create A Simple Metabox For Custom Post Types</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/BuiQdzhF2_8/</link>
		<comments>http://new2wp.com/noob/create-metabox-custom-post-types/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 16:05:09 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Noob]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[Meta Box]]></category>
		<category><![CDATA[Post types]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://new2wp.com/?p=2928</guid>
		<description><![CDATA[WordPress 3.0 has made creating custom meta boxes much more fun since you can completely alter the edit pages using them and make your own post pages entirely from metaboxes you've defined. Here's an example of how to create a URL and description metabox.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/new2tip-allow-visitors-to-search-by-category/" rel="bookmark" class="crp_title">New2Tip: Allow Visitors To Search By Category</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series2/" rel="bookmark" class="crp_title">OOPost Types: Methods Part 2 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/rookie/sexy-rss-feeds-custom-content/" rel="bookmark" class="crp_title">Making Your RSS Feeds Sexy With Custom Content In WordPress</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series3/" rel="bookmark" class="crp_title">OOPost Types: Objects Part 3 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/highlighting-onclick-shortlink-wordpress3/" rel="bookmark" class="crp_title">New2Tip: Adding A Click Highlighting Shortlink Input To&hellip;</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<h2>Making a URL and Description Custom Metabox</h2>
<p>Recently this topic was <a href="http://twitter.com/#!/brycejacobson/status/31075647111561218">suggested as a new post idea</a> for me to write about, so here I am writing about it. You can let me know of other ideas or topics you'd like to see a tutorial on here whenever you want, and if I am able to do it and have time I will surely do it.</p>
<p>So say you have a custom post type on your site, and as part of that post type, you want to allow for a way to enter in a URL and maybe a description or text of some sort for something related to the URL. This is not hard to do, it simply requires a couple of functions to do. </p>
<h3>What Functions Are Needed</h3>
<ol>
<li>We will need a function for displaying the metabox form fields, which will be used to save and update the data we enter into it.</li>
<li>Then a function for processing the metabox form elements, in order to perform the actions of saving and updating the information.</li>
<li>A function for adding the custom metabox function to WordPress via the 'init' action hook.</li>
<li>Finally, we need a function to get and return the values of the fields for use within the theme on the frontend.</li>
</ol>
<h2>1. Displaying The Custom Metabox</h2>
<p>First thing we need to do is create the metabox form fields. In doing that, we want to also check if there is any data saved in the post meta for the custom fields we are making, so we can output that into the input fields of the form. </p>
<p>Since we are making a URL input field, we should check to see if the URL entered is a valid URL using a regular expression. For this example I am just using a simple regex which will check to make sure the URL at least has the 'http://' at the beginning. If it does not, I output the message saying it's invalid, and add it to the input field.</p>
<pre class="brush: php; title: ; notranslate">
/**
 * Display the metabox
 */
function url_custom_metabox() {
	global $post;
	$urllink = get_post_meta( $post-&gt;ID, 'urllink', true );
	$urldesc = get_post_meta( $post-&gt;ID, 'urldesc', true );
	
	if ( !preg_match( &quot;/http(s?):\/\//&quot;, $urllink )) {
		$errors = 'Url not valid';
		$urllink = 'http://';
	} 
	
	// output invlid url message and add the http:// to the input field
	if( $errors ) { echo $errors; } ?&gt;
	
	&lt;p&gt;&lt;label for=&quot;siteurl&quot;&gt;Url:&lt;br /&gt;
		&lt;input id=&quot;siteurl&quot; size=&quot;37&quot; name=&quot;siteurl&quot; value=&quot;&lt;?php if( $urllink ) { echo $urllink; } ?&gt;&quot; /&gt;&lt;/label&gt;&lt;/p&gt;
	&lt;p&gt;&lt;label for=&quot;urldesc&quot;&gt;Description:&lt;br /&gt;
		&lt;textarea id=&quot;urldesc&quot; name=&quot;urldesc&quot; cols=&quot;45&quot; rows=&quot;4&quot;&gt;&lt;?php if( $urldesc ) { echo $urldesc; } ?&gt;&lt;/textarea&gt;&lt;/label&gt;&lt;/p&gt;
&lt;?php
}
</pre>
<p>Notice how I am checking if the meta fields have a value and if they do, then echo it out within the input and textarea fields.</p>
<h2>2. Processing the Metabox Form Fields</h2>
<p>Next, we need to process this information when the form is submitted to save as a draft or publish the post. There are a number of ways to do this, but the simplest way to do it is just simply pass the <span id="fixed">$post_id</span> to the function, and make <span id="fixed">$post</span> global. </p>
<p>Then check if the <span id="fixed">$_POST</span> variable is set, meaning has the form been submitted, and if so then <a href="http://codex.wordpress.org/Function_Reference/update_post_meta">update our post meta options</a> using <span id="fixed">update_post_meta()</span>.</p>
<pre class="brush: php; title: ; notranslate">
/**
 * Process the custom metabox fields
 */
function save_custom_url( $post_id ) {
	global $post;	
	
	if( $_POST ) {
		update_post_meta( $post-&gt;ID, 'urllink', $_POST['siteurl'] );
		update_post_meta( $post-&gt;ID, 'urldesc', $_POST['urldesc'] );
	}
}
</pre>
<p>That is obviously the most basic of ways to do it, but it works for what we want to do.</p>
<h2>3. Adding The Metabox to your Custom Post Type</h2>
<p>In order to make this all work, we of course need to add the functions to WordPress so it knows to do something with it. The hooks are required otherwise your metabox won't show or save when you submit it.</p>
<p>To add the metabox, we create a function which uses the <span id="fixed">add_meta_box()</span> function, and pass it the information necessary for our metabox. You can <a href="http://codex.wordpress.org/Function_Reference/add_meta_box">read more about add_meta_box() here</a>.</p>
<pre class="brush: php; title: ; notranslate">
// Add action hooks. Without these we are lost
add_action( 'admin_init', 'add_custom_metabox' );
add_action( 'save_post', 'save_custom_url' );

/**
 * Add meta box
 */
function add_custom_metabox() {
	add_meta_box( 'custom-metabox', __( 'URL &amp;amp; Description' ), 'url_custom_metabox', 'post', 'normal', 'high' );
}
</pre>
<p>This is adding our metabox function with the callback 'url_custom_metabox'. You can change the post type this will be added to by changing 'post' to whatever your post type you want to use it for.</p>
<h2>4. Getting and Returning the Saved Data For Each Post</h2>
<p>Finally, we need to have a way of displaying the information entered into the metabox fields on the frontend of the site, so we can make use of it right!</p>
<p>To do that, I like to just create a function that <a href="http://codex.wordpress.org/Function_Reference/get_post_meta">gets the post meta</a> for me, and return the variables for each field I want as an array using <span id="fixed">get_post_meta()</span> like this.</p>
<pre class="brush: php; title: ; notranslate">
/**
 * Get and return the values for the URL and description
 */
function get_url_desc_box() {
	global $post;
	$urllink = get_post_meta( $post-&gt;ID, 'urllink', true );
	$urldesc = get_post_meta( $post-&gt;ID, 'urldesc', true );

	return array( $urllink, $urldesc );
}
</pre>
<p>The way you would use this in your theme is within whatever page template file, you create a variable and set it to this function. Then echo out the variable key you want to use. For example:</p>
<pre class="brush: php; title: ; notranslate">
// get the array of data
$urlbox = get_url_desc_box();

echo $urlbox[0]; // echo out the url of a post
echo $urlbox[1]; // echo out the url description of a post
</pre>
<p>The <span id="fixed">$urlbox[0]</span> will display the URL which can be used in the href of an anchor tag.</p>
<h2>Here's The Entire Custom Metabox Code</h2>
<p>You can either paste this into your functions.php file, or create a separate file within your theme directory, and use <span id="fixed">get_template_part( 'FILENAME' );</span> to include it in your functions file.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php

// Hook into WordPress
add_action( 'admin_init', 'add_custom_metabox' );
add_action( 'save_post', 'save_custom_url' );

/**
 * Add meta box
 */
function add_custom_metabox() {
	add_meta_box( 'custom-metabox', __( 'URL &amp;amp; Description' ), 'url_custom_metabox', 'product', 'side', 'high' );
}

/**
 * Display the metabox
 */
function url_custom_metabox() {
	global $post;
	$urllink = get_post_meta( $post-&gt;ID, 'urllink', true );
	$urldesc = get_post_meta( $post-&gt;ID, 'urldesc', true );
	
	if ( !preg_match( &quot;/http(s?):\/\//&quot;, $urllink )) {
		$errors = 'Url not valid';
		$urllink = 'http://';
	} 
	
	// output invlid url message and add the http:// to the input field
	if( $errors ) { echo $errors; } ?&gt;
	
	&lt;p&gt;&lt;label for=&quot;siteurl&quot;&gt;Url:&lt;br /&gt;
		&lt;input id=&quot;siteurl&quot; size=&quot;37&quot; name=&quot;siteurl&quot; value=&quot;&lt;?php if( $urllink ) { echo $urllink; } ?&gt;&quot; /&gt;&lt;/label&gt;&lt;/p&gt;
	&lt;p&gt;&lt;label for=&quot;urldesc&quot;&gt;Description:&lt;br /&gt;
		&lt;textarea id=&quot;urldesc&quot; name=&quot;urldesc&quot; cols=&quot;45&quot; rows=&quot;4&quot;&gt;&lt;?php if( $urldesc ) { echo $urldesc; } ?&gt;&lt;/textarea&gt;&lt;/label&gt;&lt;/p&gt;
&lt;?php
}

/**
 * Process the custom metabox fields
 */
function save_custom_url( $post_id ) {
	global $post;	
	
	if( $_POST ) {
		update_post_meta( $post-&gt;ID, 'urllink', $_POST['siteurl'] );
		update_post_meta( $post-&gt;ID, 'urldesc', $_POST['urldesc'] );
	}
}

/**
 * Get and return the values for the URL and description
 */
function get_url_desc_box() {
	global $post;
	$urllink = get_post_meta( $post-&gt;ID, 'urllink', true );
	$urldesc = get_post_meta( $post-&gt;ID, 'urldesc', true );

	return array( $urllink, $urldesc );
}
?&gt;
</pre>
<p>I've been making some pretty crazy metabox lately, and with WordPress 3.0, I think we're going to see a lot more need for people to be able to create them. My metaboxes are becoming more and more complex and customizable each time I make one. It's really cool, and worth taking the time to learn.</p>
<p>Hope this has helped you learn somethings about doing this. Let me know if you have any questions in the comments.</p>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/noob/new2tip-allow-visitors-to-search-by-category/" rel="bookmark" class="crp_title">New2Tip: Allow Visitors To Search By Category</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series2/" rel="bookmark" class="crp_title">OOPost Types: Methods Part 2 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/rookie/sexy-rss-feeds-custom-content/" rel="bookmark" class="crp_title">Making Your RSS Feeds Sexy With Custom Content In WordPress</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series3/" rel="bookmark" class="crp_title">OOPost Types: Objects Part 3 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/highlighting-onclick-shortlink-wordpress3/" rel="bookmark" class="crp_title">New2Tip: Adding A Click Highlighting Shortlink Input To&hellip;</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/BuiQdzhF2_8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/noob/create-metabox-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://new2wp.com/noob/create-metabox-custom-post-types/</feedburner:origLink></item>
		<item>
		<title>Rename The Default Post Tags Taxonomy In WordPress</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/ww83Oy0a1WQ/</link>
		<comments>http://new2wp.com/snippet/rename-default-post-tags-taxonomy-wordpress/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 00:22:50 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2927</guid>
		<description><![CDATA[With this code you can rename the Post Tags taxonomy built into WordPress by default. If you like this then you should check out <a href="http://new2wp.com/snippet/change-wordpress-posts-post-type-news/">this code for renaming the 'post' post type</a> that is built into WordPress by default as well.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/pro/wp3-register-labels-update/" rel="bookmark" class="crp_title">Important Update: Register Taxonomies And Post Types With&hellip;</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-and-taxonomies-done-right/" rel="bookmark" class="crp_title">WordPress Custom Post Types And Taxonomies The Right Way</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series1/" rel="bookmark" class="crp_title">OOPost Types: Classes Part 1 – Object Oriented WordPress&hellip;</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series2/" rel="bookmark" class="crp_title">OOPost Types: Methods Part 2 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/wordpress-search-custom-post-types/" rel="bookmark" class="crp_title">New2Tip: How To Include Custom Post Types In WordPress&hellip;</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<pre class="brush: php; title: ; notranslate">
/**
 * Rename 'Tags' to be Notes or anything you want
 */
function notes_tagged_init() {
	global $wp_taxonomies;
	$wp_taxonomies['post_tag']-&gt;labels = (object) array(
		'name' =&gt; 'Notes',
		'singular_name' =&gt; 'Note',
		'all_items' =&gt; 'All Notes',
		'edit_item' =&gt; 'Edit Note',
		'menu_name' =&gt; 'Post Notes',
		'update_item' =&gt; 'Update Note',
		'add_new_item' =&gt; 'Add New Note',
		'search_items' =&gt; 'Search Notes',
		'popular_items' =&gt; 'Popular Notes',
		'new_item_name' =&gt; 'New Note Name',
		'add_or_remove_items' =&gt; 'Add or remove Notes',
		'parent_item' =&gt; null, 'parent_item_colon' =&gt; null,
		'choose_from_most_used' =&gt; 'Choose from most used Notes',
		'separate_items_with_commas' =&gt; 'Separate Notes with commas',
	);
	$wp_taxonomies['post_tag']-&gt;label = 'Notes';
}
add_action( 'init', 'notes_tagged_init' );
</pre>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/pro/wp3-register-labels-update/" rel="bookmark" class="crp_title">Important Update: Register Taxonomies And Post Types With&hellip;</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-and-taxonomies-done-right/" rel="bookmark" class="crp_title">WordPress Custom Post Types And Taxonomies The Right Way</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series1/" rel="bookmark" class="crp_title">OOPost Types: Classes Part 1 – Object Oriented WordPress&hellip;</a></li><li><a href="http://new2wp.com/pro/wordpress-custom-post-types-object-oriented-series2/" rel="bookmark" class="crp_title">OOPost Types: Methods Part 2 &#8211; Object Oriented&hellip;</a></li><li><a href="http://new2wp.com/noob/wordpress-search-custom-post-types/" rel="bookmark" class="crp_title">New2Tip: How To Include Custom Post Types In WordPress&hellip;</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/ww83Oy0a1WQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/rename-default-post-tags-taxonomy-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/rename-default-post-tags-taxonomy-wordpress/</feedburner:origLink></item>
		<item>
		<title>Super Small jQuery Slide To Top Autoscroller</title>
		<link>http://feedproxy.google.com/~r/New2WP/~3/QuyAojTP9-8/</link>
		<comments>http://new2wp.com/snippet/slide-to-top-jquery-autoscroll/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 08:29:37 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
		
		<guid isPermaLink="false">http://new2wp.com/?post_type=snip&amp;p=2916</guid>
		<description><![CDATA[This was developed by <a href="http://forrst.com/people/maxpert">@maxpert</a> a while back and <a href="http://forrst.com/posts/382_byte_autoscroll_to_top_in_jQuery-yCr">posted</a> on Forrst. It was so awesome, I use it on New2WP and other sites. It is only 382 bytes, and works perfectly.<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/pro/jquery-drop-down-menu-wordpress-3-menu/" rel="bookmark" class="crp_title">Create A WordPress 3.0 jQuery Drop Down Nav Menu</a></li><li><a href="http://new2wp.com/noob/rss-subscribe-boxafter-wordpress-posts/" rel="bookmark" class="crp_title">Easily Add A Subscribe To Feed Reminder To The Bottom Of&hellip;</a></li><li><a href="http://new2wp.com/noob/how-to-make-css3-buttons/" rel="bookmark" class="crp_title">How To Make Two Tone CSS 3 Inset Buttons</a></li><li><a href="http://new2wp.com/pro/wordpress-dashboard-themes/" rel="bookmark" class="crp_title">How To Create WordPress Dashboard Themes And Styles</a></li><li><a href="http://new2wp.com/rookie/sexy-rss-feeds-custom-content/" rel="bookmark" class="crp_title">Making Your RSS Feeds Sexy With Custom Content In WordPress</a></li></ul></div>]]></description>
				<content:encoded><![CDATA[<p><strong>The jQuery</strong></p>
<pre class="brush: php; title: ; notranslate">
$(function() {
    /* Slide to Top */
    var t = $('&lt;div class=&quot;gp&quot;&gt;&lt;/div&gt;'),
	d = $(document);
    $('body').append(t);
    t.css({ opacity: 0, position: 'absolute', top: 100, right: '2%' });
    t.click(function() { $('html,body').animate({ scrollTop: 0 }, 1000); });
    $(window).scroll(function() {
        var sv = d.scrollTop();
        if (sv &lt; 10) { t.clearQueue().fadeOut(200).css('display','none'); return; }
        t.css('display', '').clearQueue().animate({ top: sv, opacity: 0.8 }, 500);
    });
});
</pre>
<p><strong>The CSS</strong></p>
<pre class="brush: php; title: ; notranslate">
/* Scroll to top class */
.gp{ background:#cdcdcd url(http://cdn.iconfinder.net/data/icons/minicons/Png/Upload.png) center center no-repeat; width:6px; height:32px; color:#fff; font-family:verdana;
    border-radius:5px; -moz-border-radius:5px;
    -webkit-border-radius:5px; -o-border-radius:5px;
    cursor:pointer; padding:15px; margin:5px; z-index:1000;
}

</pre>
<div class="crp_related"><h3>Related Posts</h3><ul class="relatedposts"><li><a href="http://new2wp.com/pro/jquery-drop-down-menu-wordpress-3-menu/" rel="bookmark" class="crp_title">Create A WordPress 3.0 jQuery Drop Down Nav Menu</a></li><li><a href="http://new2wp.com/noob/rss-subscribe-boxafter-wordpress-posts/" rel="bookmark" class="crp_title">Easily Add A Subscribe To Feed Reminder To The Bottom Of&hellip;</a></li><li><a href="http://new2wp.com/noob/how-to-make-css3-buttons/" rel="bookmark" class="crp_title">How To Make Two Tone CSS 3 Inset Buttons</a></li><li><a href="http://new2wp.com/pro/wordpress-dashboard-themes/" rel="bookmark" class="crp_title">How To Create WordPress Dashboard Themes And Styles</a></li><li><a href="http://new2wp.com/rookie/sexy-rss-feeds-custom-content/" rel="bookmark" class="crp_title">Making Your RSS Feeds Sexy With Custom Content In WordPress</a></li></ul></div><img src="http://feeds.feedburner.com/~r/New2WP/~4/QuyAojTP9-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://new2wp.com/snippet/slide-to-top-jquery-autoscroll/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://new2wp.com/snippet/slide-to-top-jquery-autoscroll/</feedburner:origLink></item>
	</channel>
</rss>
