<?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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WPSmith</title>
	
	<link>http://wpsmith.net</link>
	<description>My Journey with WordPress &amp; Genesis</description>
	<lastBuildDate>Thu, 17 May 2012 19:05:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WPSmith" /><feedburner:info uri="wpsmith" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>WPSmith</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>[Infographic] OnExtraPixel WordPress Cheatsheet</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/6fQp8YKlSkA/</link>
		<comments>http://wpsmith.net/2012/wp/infographic-onextrapixel-wordpress-cheatsheet/#comments</comments>
		<pubDate>Mon, 14 May 2012 11:00:56 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=12559</guid>
		<description />
			<content:encoded><![CDATA[<div id="attachment_12588" class="wp-caption aligncenter" style="width: 610px"><a href="www.onextrapixel.com/2010/09/30/wordpress-cheatsheet-what-you-need-to-know-in-one-sheet/"><img class="size-medium wp-image-12588" title="OnExtraPixel WordPress Cheatsheet" src="http://wpsmith.net/wp-content/uploads/2012/03/onextrapixel-wpcheat-418x600.jpg" alt="OnExtraPixel WordPress Cheatsheet" width="600" height="861" /></a><p class="wp-caption-text">OnExtraPixel WordPress Cheatsheet Click for Larger Image</p></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/6fQp8YKlSkA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/wp/infographic-onextrapixel-wordpress-cheatsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/infographic-onextrapixel-wordpress-cheatsheet/</feedburner:origLink></item>
		<item>
		<title>[Infographic] WPBeginner What is a WordCamp?</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/IzO3rqod3Es/</link>
		<comments>http://wpsmith.net/2012/wp/infographic-wpbeginner-what-is-a-wordcamp/#comments</comments>
		<pubDate>Mon, 07 May 2012 11:00:55 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=12558</guid>
		<description />
			<content:encoded><![CDATA[<div id="attachment_12589" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.wpbeginner.com/beginners-guide/what-is-a-wordcamp-and-why-you-should-attend-infographic/"><img class="size-medium wp-image-12589" title="WPBeginner What is a WordCamp" src="http://wpsmith.net/wp-content/uploads/2012/03/wpbeginner-whatisawordcamp-216x600.jpg" alt="WPBeginner What is a WordCamp" width="600" height="1667" /></a><p class="wp-caption-text">WPBeginner What is a WordCamp Click for a Larger Image</p></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/IzO3rqod3Es" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/wp/infographic-wpbeginner-what-is-a-wordcamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/infographic-wpbeginner-what-is-a-wordcamp/</feedburner:origLink></item>
		<item>
		<title>Open Letter to the WordPress Community and the WordPress Foundation</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/ODjsUJ5fEM8/</link>
		<comments>http://wpsmith.net/2012/wp/open-letter-to-the-wordpress-community-and-the-wordpress-foundation/#comments</comments>
		<pubDate>Fri, 04 May 2012 19:16:59 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=13649</guid>
		<description><![CDATA[Since I&#8217;ve been apart of the WordPress community, mostly as an unknown person contributing where I can and where I am able rather trying to contribute where I can and able. I doubt many even know who I am, except maybe, just maybe in the niche I find myself in WordPress. I even doubt that [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve been apart of the WordPress community, mostly as an unknown person <del datetime="2012-05-04T03:15:32+00:00">contributing where I can and where I am able</del> rather trying to contribute where I can and able. I doubt many even know who I am, except maybe, just maybe in the niche I find myself in WordPress. I even doubt that many will even read this post, or the entire post. I have the added benefit that WordPress development is mostly a hobby and passion of mine rather than being my livelihood, though I would love this.</p>
<p>I started to tweet some comments. I even considered commenting on <a title="Tony Perez" href="https://twitter.com/#!/perezbox" target="_blank">Tony Perez&#8217;s</a> blog post, <a title="WordCamp San Francisco 2012 Sponsorship Packages-Kettle Meet Pot" href="http://perezbox.com/2012/05/wordcamp-san-francisco-2012-sponsorship-packages-kettle-meet-pot/" target="_blank">WordCamp San Francisco 2012 Sponsorship Packages&#8211;Kettle Meet Pot</a>, which is a great title. However, when I started to tweet, I ran out of characters. When I started to comment, I realized I had too much to say.</p>
<p>So&#8230;to me the drama boils down to a few things, really one thing: Leadership. First, the WordPress community is made of leaders and entrepreneurs, some great ones too. Second, change in an ever-changing world, especially among startups and entrepreneurs can be difficult and unsettling. Also, branding, messaging and change leadership from the WordPress Foundation and/or Automattic has had glimmers of excellence but it also has been somewhat confusing and at times misleading. Third, internal inspection both personally and corporately (pun intended) is integral to growth. And finally, the WordPress community is the trophy of WordPress, and as such the community needs to feel heard and action taken (and yes no action is an action).</p>
<div class="scroll">
<a href="#solution">Wow! This is long, take me to the recommended solution.</a>
</div>
<h3>The WordPress Community Consists of Leaders and Entrepreneurs</h3>
<p>WordPress developers and designers and companies that profit from WordPress are used to being entrepreneurs. They have an entrepreneurial spirit. They are visionary leaders and have a plethora of ideas on how WordPress should do things. WordPress even encourages the creativity and innovation in the community. </p>
<p>Most companies are run by one or two individuals and are relatively small, even Audrey Capital fits the bill. Automattic is not even that big of a company with 108 dispersed (dare I say semi-autonomous) employees. And even those employeed by companies do freelance on the side. As such, many are their own bosses. They are the kings of their castles and the lords of their <del datetime="2012-05-04T03:15:32+00:00">serifs</del> serfs. Some have even said that they started their own companies because they didn&#8217;t want to report to or work for the Man (generally speaking and not about Matt). However, these chiefs are being told by another Chief (and a CBBQTT at that) what they can and cannot do, and that could even be miscommunication, misperception, and misunderstanding. And some times, many times, these decisions on the direction of WordPress are not very popular. That&#8217;s the stark nature of leadership. However, as the saying, &#8220;As iron sharpens iron,&#8221; so does one leader sharpen another leader,  where there is sharpening, there will be sparks flying.</p>
<p>With WordPress, Matt is still the King. He heads the Foundation, started Audrey Capital, and AutoMATTic. He is THE co-founder. And as such, he pretty much controls and commands the future of WordPress until some sort of successful mutiny occurs, which I doubt the WordPress community would even allow. Thus, Matt is the Leader of everything WordPress, whether he wants it or not (and like most leaders, at times he probably doesn&#8217;t want it). So it&#8217;s a leadership clash. It&#8217;s a test of leadership fortitude.</p>
<p>The outcry is really an expression of feelings of unfairness and/or misunderstanding&#8212;sometimes jealousy. And no one, though they will try, can say that those feelings are wrong, bad, and/or misplaced. They simply are. However, Matt, Jane (just because she&#8217;s the most outspoken), and the other WordPress leaders, whomever they may be, can choose to lead and lead well through this&#8212;<em>or not</em>. Yet, I must remember that Matt was/is first a coder, <del datetime="2012-05-04T03:15:32+00:00">a blogger</del> a photo blogger. As Matt grows, so does Automattic. And so does WordPress, and the WordPress community benefits. So in summary, there are three groups of leaders: (1) One group (consisting of mostly the WordPress community) saying that something is not right, let&#8217;s talk, discuss, and move forward for the benefit of the WordPress community; (2) One group (consisting of both the WordPress community and the Foundation) fighting back point for point trying to dismantle each other; and (3) The WordPress Foundation sponsoring and putting on WordCamp San Fransisco and moving on with the business at hand. And frankly, it&#8217;s the third group that has the power (right now) and the other group (the vocal <del datetime="2012-05-04T03:15:32+00:00">minority</del> dissenters) are willing to respond, discuss, negotiate, and understand the Foundation. Really the community is asking for clarification from the Foundation.</p>
<div class="scroll">
<a href="#solution">Wow! This is long, take me to the recommended solution.</a>
</div>
<h3>Change Leadership from the WordPress Foundation</h3>
<p>While WordPress is OpenSource and has grown as a result of the community, it doesn&#8217;t mean that there is some sort of group conscience or anarchian (I don&#8217;t even believe that&#8217;s a word!), even democratic movement and decision-making. No, there are processes. There are principles. There are people. And there is an organization and a network. These processes and principles are sometimes public and sometimes private and sometimes known, sometimes unknown, even by the ones making the decisions. There are principles in play that are very present among the community but not among the leadership and vice versa. There are the rules and there are unwritten rules. In organizations, processes change and principles change because the leader and times change. While we can debate and argue freely about whether the process and/or principles should have changed, should change, should change back, or even how it changed, the fact of the matter is that change happens. Good. Bad. Or indifferent. Simply, yes. It is what it is, and as an adult, I have a choice and the ability to respond, not just react.</p>
<p>So change is to be expected and even welcomed as it shows growth (or sometimes decay). For most people, though, change is difficult, hence the importance of communication, messaging, and discussions. Change leadership from the WordPress Foundation and/or Automattic has had glimmers of excellence, but it also has been somewhat confusing and at times misleading though I am sure that was never the intent. WordCamps probably did need some level of constraints placed on them, which was probably initiated by risk management and lawyers. Yet the risk one lawyer is willing to take is different from another. Likewise, the legal risk one company is willing to take is different from another. Thus, the WordPress Foundation responded according to the advice they were most likely given as well as what was most comfortable in regards to risk management. </p>
<p>And then WordCamp San Francisco (WCSF) suddenly announces their sponsorship packages. And that&#8217;s exactly what we have with WordPress SF: a sudden change. It&#8217;s a quick, unannounced, an precendented shift from what&#8217;s been communicated by the Foundation since the last WCSF as well as the many assumptions made based on what was said explicitly and implicitly. There was nothing said or implied to the community that this would happen. Anyone who has worked in communications or public relations would have seen that this would cause a stir in the community. Then if the WordPress Foundation, i.e. Matt, decided that he wants to move in that direction, change communications could have been planned and communicated. And it would have been received better than it was. </p>
<p>However, I bet (I&#8217;m hoping) that no one at Automattic, WCSF, Audrey Capital, or the WordPress Foundation even thought this would be an issue. Why? Well in their minds, there is a separation between WCSF and the &#8220;other&#8221; WordCamps. It has been said that the community knows that WCSF is different, and thus needs no justification. Apparently this is probably not the case, especially among WordCamp organizers. Several WordCamps probably see themselves as incredibly important. Some that have taken the attention of the community. However, even my involvement at WordCamp Atlanta, I see so much more potential and believe that WordCamp Atlanta could easily bring in an international audience and be over 1,000 people. It&#8217;s airport is perfect for it as is NYC, Chicago, and San Diego. So the point of the community is not necessarily the sponsorship levels even. That&#8217;s just the last straw for one person. It&#8217;s the the inconsistent, discretionary application of the constraints upon WordCamps, rather and apparently non-SF WordCamps v. WCSF. The measures and constraints placed on the various WordCamps may have been needed, may still be needed; however, the leadership has not given good answers to why WordCamps are being limited financially and even physically. It&#8217;s really an us v. them environment, which is surely not the goal of the Foundation or anyone involved with WordPress. Instead, proper and open lines of communications could have easily prevented this.</p>
<p>Simply, &#8220;What we&#8217;ve got here is (a) failure to communicate.&#8221; The WordPress Foundation have not stated <em>explicitly</em> and officially that WCSF is different (even though Jane has written <a href="http://central.wordcamp.org/news/2011/01/24/wordcampsf-not-wordcon/" target="_blank" title="WordCamp SF Announced (not WordCon)">her piece</a> last year), why it is different, and the rules that WCSF will follow. If the WordPress Foundation sees &#8220;local&#8221; WordCamps (e.g., WordCamps that are not in SF) as WordCamps on a smaller scale and want to keep them small, then the decision as well as the rationale needs to be communicated. It needs to be declared that these are really not that much different than WordPress Meetups. Simply, the Foundation would need to answer the questions like, &#8220;Why can&#8217;t we put on a WordCamp just as good in ___?&#8221; And really this is more about the vision of WordCamps than anything else. And &#8220;where there is no vision, the people perish.&#8221; Really that proverb is more about where there is no captured, received, and accepted vision, the people will fall off. They will do what&#8217;s right in their own eyes if there is no vision and/or mission. And because WordPress, as an open source project, is a sociological loose confederation of sorts with many, many autonomous groups and sub-groups, it is imperative that there be some vision. Hence the talk, the State of the Word is so important and is received at WordCamps again and again.</p>
<div class="scroll">
<a href="#solution">Wow! This is long, take me to the recommended solution.</a>
</div>
<h3>Self-Inspection</h3>
<p>Socrates said, &#8220;The unexamined life is not worth living.&#8221; The same can be said of companies and of WordPress/the Foundation. The unexamined company is not worth pursuing, leading or developing. WordPress does a good job of continuous improvement with Trac and the community. However, the leadership side of the coin is another matter.</p>
<p>I don&#8217;t know Matt from Adam, and Matt does know me from Adam. Though we have met, he probably doesn&#8217;t remember, nor do I expect him to remember as our meeting was unremarkable. And I seriously doubt that a blog post in the deep blue ocean will make any difference in that (I even doubt he&#8217;ll read it) and that is not my intent either. However, that does not mean that Matt doesn&#8217;t know me&#8230;that he won&#8217;t read this post&#8230;that&#8217;s just my perception and my expectation. Likewise, many of us have expecations and perceptions that just may not be true. We see only dimly. We see what we want to see. We see things how we were raised to see them. Our personal experiences, perceptions, principles, and expectations highlight ourlives, as well as darken them.</p>
<p>If we look at ourselves and our own companies, designs, developments, products, outputs, etc, many of us have the same or similar reaction that the WordPress leaders have reacted when our stuff is criticized. Some of us say nothing. Some respond rather loudly. Some respond acutely and cogently. Some respond quickly. Some don&#8217;t respond. Some stoic. Some indifferent. Some bitter and resentful. Some become the Honey Badger. Simply take a look at Tony&#8217;s post to see, and notice the Twitter reactions there about as well.</p>
<p>The outcry, the expressed frustration by many well-known WordPress leaders (Carl Hancock, Gravity Forms; Lisa Sabin-Wilson, <em>WordPress for Dummies</em>; Brad Williams, author of <em>Professional WordPress</em>; Dre of Sucuri) is not threatening to WordPress and the leaders&#8211;though it can be misconstrued as such. The frustrations and emotions rise and fall, and frankly it&#8217;s been a while since the last WordPress drama, well unless you consider the comic drama by the Honey Badger or Pink Pony. In all seriousness, I believe the last bit of drama was when <a title="Kevinjohn Gallagher | WordPress has left the building" href="http://kevinjohngallagher.com/2012/01/wordpress-has-left-the-building/" target="_blank">Kevinjohn Gallagher</a> left the WordPress community rather publicly. But these things are not threatening to the WordPress Foundation, nor are they meant to be. Instead, they serve as opportunities to change and grow even more, even if we/I disagree with that change in direction. That&#8217;s the prerogative of the leadership.</p>
<p>My only hope is that the WordPress leadership is more aware and proactive in their leadership.</p>
<div class="scroll">
<a href="#solution">Wow! This is long, take me to the recommended solution.</a>
</div>
<h3>The WordPress Difference: The Community</h3>
<p>The thing that sets WordPress apart from many organizations is that the WordPress community is a living, breathing community in a state of constant flux. Even Matt has said that WordPress will walk to the beat of its own drum adapting when it&#8217;s ready, not when the Silicon Valley dictates that it should.</p>
<p>The WordPress community is great. It&#8217;s self policing. It&#8217;s responsive. It&#8217;s growing.</p>
<p>I&#8217;ve heard individuals say things like, &#8220;Matt/WordPress shouldn&#8217;t forsake the people that have made it.&#8221; While that is true, the flip is also true: The community that has made WordPress shouldn&#8217;t bite the hand that feeds it. However, if we drop the finger pointing, bickering, and look at the reality of the situation, then the community can change, can grow, and can flourish even more.</p>
<p>Everyone has a choice. Everyone has a choice to use WordPress or to abandon WordPress. Everyone can choose to follow the WordPress licensing or not. Everyone has a voice, and you can use that voice however you&#8217;d like. You can talk publicly or privately. You can blog, share photos/graphics/infographics, create sites, etc. to express your voice. You can do it entertainingly. You can do it shamefully. You can do it however you want.</p>
<p>Yet it is very true that the community has made WordPress in more ways than WordPress has made the community. However, it should never be an us v. them mentality as many real life community organizers and leaders do. Instead, <a href="http://wordpressfoundation.org/" target="_blank" title="WordPress Foundation">the Foundation</a> exists to serve the community (&#8220;the public good&#8221;). And as such the WordPress Foundation&#8217;s leadership can be measured against a servant leadership model, which essentially asks, is the foundation serving the public good or the Foundation good?</p>
<div class="scroll">
<a href="#solution">Wow! This is long, take me to the recommended solution.</a>
</div>
<div id="solution">
<h3>The Reality &amp; a Proposed Solution</h3>
<p>WordCamp San Francisco sits apart, yet it sits with the &#8220;local&#8221; WordCamps. It&#8217;s both preeminent and ordinary. Other WordCamps (like Chicago, Atlanta, NYC, even London, et. al.) could be just as big and just as powerful as WCSF, if the Foundation allows. Some WordPress leaders simply do not like this and have abandon WordCamp leadership (sometimes, even involvement and participation). Some have begun to do their own thing.</p>
<p>The request that Automattic and WordPress Foundation needs to respond is simple: Will they allow other WordCamps to do something similar to WCSF? And/or will WCSF consider lowering their sponsorship levels to something less dramatic but inline? </p>
<p>Frankly, to me it&#8217;s more about their leadership than anything else. This is all really symptomatic to the real underlying issues of the WordPress ecosystem and network. Maybe, just maybe&#8230;it would be worth it for the WordPress Foundation to gather the many WordPress leaders into a real, facilitated roundtable conversation (not by someone at the WordPress Foundation or Automattic) at WCSF or immediately subsequent. Get all the issues on the table for the WordPress Foundation to respond officially at a later date. So here&#8217;s how I would recommend it happening.</p>
<ul>
<li>The WordPress Foundation invites leaders representing various locations, users, and interests.</li>
<li>No one employed by the WordPress Foundation and/or Automattic be invited to the conversation OR, they are there but not allowed to speak (in response to anything) unless directed by the facilitator (which is extremely difficult). They are simply to listen actively for the purpose of understanding, not speaking/responding under the guise of understanding, but seeking true understanding whereby the person talking feels understood entirely.</li>
<li>The brainstorming session is facilitated by a third party (whether the person is part of the community or not) in a profitable/constructive, non-griping format. Griping is just complaining with no proposed solutiosn, so all ideas, complaints, etc. brought must also have a proposed solution (however immature/undeveloped the solution), preferably multiple possible solutions. The axiom applies well here: Don&#8217;t be part of the problem but be part of the solution.</li>
<li>These ideas, etc., are then taken to the WordPress Foundation and/or Automattic for further discussion, investigation and/or decisions. These subsequent discussions can then occur via chat, webinars/conference calls, blog posts, forum discussions, etc., however, they wish to deal with whatever issues. I am willing to bet that the majority of the issues can simply be resolved by good communications, solid leadership, and a vision. &#8220;Where there is no vision, the people perish.&#8221;</li>
</ul>
<p>What say you WordPress Foundation?
</p></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/ODjsUJ5fEM8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/wp/open-letter-to-the-wordpress-community-and-the-wordpress-foundation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/open-letter-to-the-wordpress-community-and-the-wordpress-foundation/</feedburner:origLink></item>
		<item>
		<title>How to Prevent Featured Images in Custom Post Types</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/O-j-fONrVG8/</link>
		<comments>http://wpsmith.net/2012/genesis/how-to-prevent-featured-images-in-custom-post-types/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 14:02:30 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Genesis]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=13561</guid>
		<description><![CDATA[So recently, someone asked if they could enabled Genesis Featured Images in Genesis > Theme Settings yet &#8220;disable&#8221; them for custom post types. While there is no option for this, it can be done! This is a rather simple task that can be complicated if post types are mixed and other circumstances. However, let&#8217;s assume [...]]]></description>
			<content:encoded><![CDATA[<p>So recently, someone asked if they could enabled Genesis Featured Images in Genesis > Theme Settings yet &#8220;disable&#8221; them for custom post types. While there is no option for this, it can be done! This is a rather simple task that can be complicated if post types are mixed and other circumstances. However, let&#8217;s assume a simple setup.</p>
<p>In functions.php or your core functionality plugin where you created the custom post types, enter this code:</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'genesis_before_post_content', 'wps_do_post_image_check' );
/*
 * Remove genesis_do_post_image() action if on post type archive of
 * a custom post type
 *
 * @global stdClass $post Post object
 * @uses genesis_get_option() Gets the genesis option for content archive thumbnails
 */
function wps_do_post_image_check() {
	global $post;
	if ( ! is_singular() &amp;&amp; genesis_get_option( 'content_archive_thumbnail' ) &amp;&amp; is_post_type_archive() &amp;&amp; ! in_array( $post-&gt;post_type, array( 'page', 'post', 'attachment' ) ) )
		remove_action( 'genesis_post_content', 'genesis_do_post_image' );
}
</pre>
<p>NOTE: Though posts, pages, and attachments by default do not have archive pages, I cannot assume that in this code snippet.</p>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/O-j-fONrVG8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/genesis/how-to-prevent-featured-images-in-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/genesis/how-to-prevent-featured-images-in-custom-post-types/</feedburner:origLink></item>
		<item>
		<title>[Infographic] Divine Project The WordPress Journey</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/AFcqJ-rtReI/</link>
		<comments>http://wpsmith.net/2012/wp/infographic-divine-project-the-wordpress-journey/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 11:00:55 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=12557</guid>
		<description />
			<content:encoded><![CDATA[<div id="attachment_12590" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.divine-project.com/create-website-with-wordpress"><img class="size-medium wp-image-12590" title="Divine Project The WordPress Journey" src="http://wpsmith.net/wp-content/uploads/2012/03/divine-project-the-wp-journey-112x600.jpg" alt="Divine Project The WordPress Journey" width="600" height="3214" /></a><p class="wp-caption-text">Divine Project The WordPress Journey Click for Larger Image</p></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/AFcqJ-rtReI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/wp/infographic-divine-project-the-wordpress-journey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/infographic-divine-project-the-wordpress-journey/</feedburner:origLink></item>
		<item>
		<title>[Infographic] Pagely Prolific Rise of WordPress</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/J34bG0awoZs/</link>
		<comments>http://wpsmith.net/2012/wp/infographic-pagely-prolific-rise-of-wordpress/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 11:00:55 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=12556</guid>
		<description />
			<content:encoded><![CDATA[<div id="attachment_12591" class="wp-caption aligncenter" style="width: 610px"><a href="http://blog.page.ly/2010/08/the-prolific-wordpress-infographic/"><img class="wp-image-12591  " title="Pagely Prolific Rise of WordPress" src="http://wpsmith.net/wp-content/uploads/2012/03/pagely-wordpress-infographic.jpg" alt="Pagely Prolific Rise of WordPress" width="600" height="2466" /></a><p class="wp-caption-text">Pagely Prolific Rise of WordPress Click for Larger Image</p></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/J34bG0awoZs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/wp/infographic-pagely-prolific-rise-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/infographic-pagely-prolific-rise-of-wordpress/</feedburner:origLink></item>
		<item>
		<title>[Infographic] WPBeginner What is a CDN?</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/IZJ9LhLQbps/</link>
		<comments>http://wpsmith.net/2012/wp/infographic-wpbeginner-what-is-a-cdn/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 11:00:42 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Infographic]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=12552</guid>
		<description />
			<content:encoded><![CDATA[<div id="attachment_12599" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.wpbeginner.com/beginners-guide/why-you-need-a-cdn-for-your-wordpress-blog-infographic/"><img class="size-medium wp-image-12599" title="WPBeginner What is a CDN?" src="http://wpsmith.net/wp-content/uploads/2012/03/wpbeginner-whatisacdn.jpg" alt="WPBeginner What is a CDN?" width="600" height="1538" /></a><p class="wp-caption-text">WPBeginner What is a CDN? Click for Larger Image</p></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/IZJ9LhLQbps" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/wp/infographic-wpbeginner-what-is-a-cdn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/infographic-wpbeginner-what-is-a-cdn/</feedburner:origLink></item>
		<item>
		<title>New Plugin: Soliloquy – The best responsive jQuery slider plugin for WordPress</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/rk01dq7xI8U/</link>
		<comments>http://wpsmith.net/2012/wp/new-plugin-soliloquy-the-best-responsive-jquery-slider-plugin-for-wordpress/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 22:18:54 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=13122</guid>
		<description><![CDATA[Soliloquy is an awesome, responsive slider with a sweet, user-friendly AJAX admin area perfect for all users. It is an excellent plug and play WordPress slider with the right number of options and features and is poised to become the most advanced and sophisticated WordPress slider with future add-ons. Its APIs are designed and developed [...]]]></description>
			<content:encoded><![CDATA[<p>Soliloquy is an awesome, responsive slider with a sweet, user-friendly AJAX admin area perfect for all users. It is an excellent plug and play WordPress slider with the right number of options and features and is poised to become the most advanced and sophisticated WordPress slider with future add-ons. Its APIs are designed and developed for developers to extend and customize (even rebrand) the plugin to fit their needs and the needs of any client as well as to develop other free or premium add-ons, such as lightboxes, slider in a slider, etc. Its clean code is impeccable, properly documented, and can be supplemented easily. Tired of waiting for some developer to add a feature? Hate hacking the core of a plugin? Look no further! Purchase this slider immediately.<a href="http://wpsmith.net/go/get-soliloquy"><img alt="Soliloquy jQuery Responsive Slider" src="http://wpsmith.net/files/images/ads/soliloquy_300x250.png" title="Soliloquy jQuery Responsive Slider" class="alignright" width="300" height="250" /></a></p>
<p>Check out these features:</p>
<ul>
<li>Fully responsive FlexSlider</li>
<li>Incredibly efficient</li>
<li>Handles multiple instances (seen below!)</li>
<li>Sleek and sexy UI</li>
<li>User-friendly <strong>AND</strong> Developer-friendly</li>
</ul>
<h3>Default Slider</h3>
<p>Here&#8217;s an example:<br />
<div id="flex-container-13130" class="flex-container" style="max-width: 600px;max-height: 400px;"><div id="flexslider-13130" class="flexslider"><ul id="flexslider-list-13130" class="slides"><li id="flexslider-13130-item-1" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/2242006950_878586efac_b.jpg" alt="" title="" /></li><li id="flexslider-13130-item-2" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/3405013981_418401036d_b.jpg" alt="" title="" /></li><li id="flexslider-13130-item-3" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6672161851_706dc1ea02_b.jpg" alt="" title="" /></li><li id="flexslider-13130-item-4" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/539984425_f0867c230d_b.jpg" alt="" title="" /></li><li id="flexslider-13130-item-5" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/248358204_fe455cb33b_z.jpg" alt="" title="" /></li><li id="flexslider-13130-item-6" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6253102039_b6b2d11426_b1.jpg" alt="" title="" /></li><li id="flexslider-13130-item-7" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6672159087_059d0c7bdb_o1.jpg" alt="" title="" /></li><li id="flexslider-13130-item-8" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6186794956_a7798f39d1_b.jpg" alt="" title="" /></li><li id="flexslider-13130-item-9" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/5400375640_3b8a56c17f_b.jpg" alt="" title="" /></li></ul></div></div></p>
<p>So here&#8217;s how I created that:</p>
<ol>
<li>Uploaded my images.</li>
<li>Sorted my images.</li>
<li>Determined the size of my slider.</li>
<li>Clicked Publish.</li>
</ol>
<h3>Custom Slider</h3>
<p>For developer&#8217;s, the many hooks (57) and filters (34) in the code make it extremely easy to customize. So whatever the issue or desired change or needed change, you can easily adapt soliloquy to do what you want and not have to worry about an update eradicating your changes. </p>
<p>In about 30 lines of code, I was able to do this:<br />
<div id="flex-container-13143" class="flex-container" style="max-width: 600px;max-height: 300px;"><div id="flexslider-13143" class="flexslider"><ul id="flexslider-list-13143" class="slides"><li id="flexslider-13143-item-1" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/5400375640_3b8a56c17f_b1-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-2" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6186794956_a7798f39d1_b1-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-3" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6672159087_059d0c7bdb_o-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-4" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6253102039_b6b2d11426_b-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-5" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/3405013981_418401036d_b1-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-6" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/2242006950_878586efac_b1-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-7" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/248358204_fe455cb33b_z1-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-8" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/539984425_f0867c230d_b1-600x300.jpg" alt="" title="" /></li><li id="flexslider-13143-item-9" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6672161851_706dc1ea02_b1-600x300.jpg" alt="" title="" /></li></ul></div></div><div class="thumbs"><a rel="0" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/5400375640_3b8a56c17f_b1.jpg" class="attachment-40x40" alt="5400375640_3b8a56c17f_b" title="5400375640_3b8a56c17f_b" /></a><a rel="1" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/6186794956_a7798f39d1_b1.jpg" class="attachment-40x40" alt="6186794956_a7798f39d1_b" title="6186794956_a7798f39d1_b" /></a><a rel="2" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/6672159087_059d0c7bdb_o.jpg" class="attachment-40x40" alt="6672159087_059d0c7bdb_o" title="6672159087_059d0c7bdb_o" /></a><a rel="3" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/6253102039_b6b2d11426_b.jpg" class="attachment-40x40" alt="6253102039_b6b2d11426_b" title="6253102039_b6b2d11426_b" /></a><a rel="4" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/3405013981_418401036d_b1.jpg" class="attachment-40x40" alt="3405013981_418401036d_b" title="3405013981_418401036d_b" /></a><a rel="5" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/2242006950_878586efac_b1.jpg" class="attachment-40x40" alt="2242006950_878586efac_b" title="2242006950_878586efac_b" /></a><a rel="6" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/248358204_fe455cb33b_z1.jpg" class="attachment-40x40" alt="248358204_fe455cb33b_z" title="248358204_fe455cb33b_z" /></a><a rel="7" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/539984425_f0867c230d_b1.jpg" class="attachment-40x40" alt="539984425_f0867c230d_b" title="539984425_f0867c230d_b" /></a><a rel="8" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="26" src="http://wpsmith.net/wp-content/uploads/2012/04/6672161851_706dc1ea02_b1.jpg" class="attachment-40x40" alt="6672161851_706dc1ea02_b" title="6672161851_706dc1ea02_b" /></a></div></p>
<p>I have converted this into an add-on, which Thomas will be developing even further to add some additional features.</p>
<h3>Lightbox Slider</h3>
<p>Thomas has already released the first add-on for developers. This add-on is sweet!<br />
<div id="flex-container-13178" class="flex-container" style="max-width: 600px;max-height: 300px;"><div id="flexslider-13178" class="flexslider"><ul id="flexslider-list-13178" class="slides"><li id="flexslider-13178-item-1" class="flexslider-item" style="display: none;"><a href="http://www.youtube.com/watch?v=nQY4dIxY1H4" rel="prettyPhoto[pp_gal]" title="" ><img src="http://wpsmith.net/wp-content/uploads/2012/04/539984425_f0867c230d_b2-600x300.jpg" alt="" title="" /></a><div class="flex-caption">Watch Chris Medina's "What Are Words?" YouTube Video. This is one of my favorite songs.</div></li><li id="flexslider-13178-item-2" class="flexslider-item" style="display: none;"><a href="#my-inline-selector" rel="prettyPhoto[pp_gal]" title="" ><img src="http://wpsmith.net/wp-content/uploads/2012/04/3405013981_418401036d_b2-600x300.jpg" alt="" title="" /></a><div class="flex-caption">This pulls in inline-content from the same page.</div></li><li id="flexslider-13178-item-3" class="flexslider-item" style="display: none;"><a href="http://wpsmith.net?ajax=true&#038;width=100%&#038;height=100%" rel="prettyPhoto[pp_gal]" title="" ><img src="http://wpsmith.net/wp-content/uploads/2012/04/5400375640_3b8a56c17f_b2-600x300.jpg" alt="" title="" /></a><div class="flex-caption">Pull in via AJAX</div></li><li id="flexslider-13178-item-4" class="flexslider-item" style="display: none;"><a href="http://vimeo.com/15956773" rel="prettyPhoto[pp_gal]" title="" ><img src="http://wpsmith.net/wp-content/uploads/2012/04/6186794956_a7798f39d1_b2-600x300.jpg" alt="" title="" /></a><div class="flex-caption">Add Vimeo Videos</div></li><li id="flexslider-13178-item-5" class="flexslider-item" style="display: none;"><a href="http://www.metacafe.com/fplayer/7114127/the_hunger_games_movie_trailer.swf?width=600&#038;height=338" rel="prettyPhoto[pp_gal]" title="" ><img src="http://wpsmith.net/wp-content/uploads/2012/04/6253102039_b6b2d11426_b2-600x300.jpg" alt="" title="" /></a><div class="flex-caption">Add Metacafe videos via flash option</div></li></ul></div></div></p>
<h3>Multiple Height/Width Images Slider</h3>
<div id="flex-container-13201" class="flex-container" style="max-width: 600px;max-height: 300px;"><div id="flexslider-13201" class="flexslider"><ul id="flexslider-list-13201" class="slides"><li id="flexslider-13201-item-1" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/5400375640_3b8a56c17f_b3.jpg" alt="" title="" /></li><li id="flexslider-13201-item-2" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6186794956_a7798f39d1_b3.jpg" alt="" title="" /></li><li id="flexslider-13201-item-3" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6194279865_21671e662a_b.jpg" alt="" title="" /></li><li id="flexslider-13201-item-4" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6253102039_b6b2d11426_b3.jpg" alt="" title="" /></li><li id="flexslider-13201-item-5" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6672159087_059d0c7bdb_o2.jpg" alt="" title="" /></li><li id="flexslider-13201-item-6" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/4205885943_24df8c172f_b.jpg" alt="" title="" /></li><li id="flexslider-13201-item-7" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/4494833533_a7f38396d6_b.jpg" alt="" title="" /></li><li id="flexslider-13201-item-8" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/3405013981_418401036d_b3.jpg" alt="" title="" /></li><li id="flexslider-13201-item-9" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/6672161851_706dc1ea02_b2.jpg" alt="" title="" /></li><li id="flexslider-13201-item-10" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/2242006950_878586efac_b2.jpg" alt="" title="" /></li><li id="flexslider-13201-item-11" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/539984425_f0867c230d_b3.jpg" alt="" title="" /></li><li id="flexslider-13201-item-12" class="flexslider-item" style="display: none;"><img src="http://wpsmith.net/wp-content/uploads/2012/04/248358204_fe455cb33b_z2.jpg" alt="" title="" /></li></ul></div></div>
<p>However, this does require that you add a line (or 3) to your CSS.</p>
<pre class="brush: css; title: ; notranslate">.flex-container {
	max-height: none !important;
}
</pre>
<h3>Upcoming Add-ons</h3>
<p>As I mentioned previously, the <strong>thumbnail</strong> with an external/public API is forthcoming. Another add-on, once Thomas figures out some AJAX stuff to sweeten it a bit more, is the <strong>preview add-on</strong>. Previously, you had to refresh the page the slider resided to see the slider in action. With this add-on, you can click the Preview button, just like Posts and Pages, OR look in the Preview metabox to see the slider. In version 1, most likely, it will just be the slider upon publish or save or update. In version 2, Thomas hopes to have it display changes made immediately via AJAX. It truly will be sweet!</p>
<p>And finally, the <strong>Featured Posts Add-on</strong>. And as you can see it can integrate with Thumbnails. I still need to figure out the best way to integrate Lightbox, but that will be version 2.<br />
<div id="flex-container-13226" class="flex-container" style="max-width: 600px; max-height: 300px;"><div id="flexslider-13226" class="flexslider"><ul id="flexslider-list-13226" class="slides"><li id="flexslider-13226-item-1" class="flexslider-item" style="display: none;"><a href="http://wpsmith.net/genesis-child-themes/24k-child-theme/" title="24k" ><img width="600" height="300" src="http://wpsmith.net/wp-content/uploads/2012/02/24k-600x300.jpg" class="attachment-Portfolio Full" alt="24k" title="24k" /></a><div class="flex-caption"><a href="http://wpsmith.net/go/sp-24k/">24K Child Theme</a> Child Theme by <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=www%2Ehttp%2F%2Fjoshbyers%2Ecom%2F">Josh Byers</a> of <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=www%2Estudiopress%2Ecom%2F">StudioPress</a></div></li><li id="flexslider-13226-item-2" class="flexslider-item" style="display: none;"><a href="http://wpsmith.net/genesis-child-themes/adaptation-child-theme/" title="adaptation" ><img width="600" height="300" src="http://wpsmith.net/wp-content/uploads/2012/02/adaptation-600x300.jpg" class="attachment-Portfolio Full" alt="adaptation" title="adaptation" /></a><div class="flex-caption"><a href="http://wpsmith.net/go/sp-adaptation/">Adaptation Child Theme</a> Child Theme by <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=www%2Eaaronhartland%2Ecom%2F">Aaron Hartland</a> of <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=www%2Eaaronhartland%2Ecom%2F">Aaron Hartland</a></div></li><li id="flexslider-13226-item-3" class="flexslider-item" style="display: none;"><a href="http://wpsmith.net/genesis-child-themes/alpha-aero-child-theme/" title="aero" ><img width="600" height="300" src="http://wpsmith.net/wp-content/uploads/2012/02/aero-600x300.jpg" class="attachment-Portfolio Full" alt="aero" title="aero" /></a><div class="flex-caption"><a href="http://wpsmith.net/go/sp-alpha-aero/">Alpha Aero Child Theme</a> Child Theme by <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=">Ryan Bishop</a> of <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=austinthemes%2Ecom%2F">Austin Themes</a></div></li><li id="flexslider-13226-item-4" class="flexslider-item" style="display: none;"><a href="http://wpsmith.net/genesis-child-themes/birow-child-theme/" title="birow" ><img width="600" height="300" src="http://wpsmith.net/wp-content/uploads/2012/02/birow-600x300.png" class="attachment-Portfolio Full" alt="birow" title="birow" /></a><div class="flex-caption"><a href="http://wpsmith.net/go/sp-birow/">Birow Child Theme</a> Child Theme by <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=">Marco Galasso</a> of <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=teethgrinder%2Enet%2Ftag%2Ffree%2F">TeethGrinder</a></div></li><li id="flexslider-13226-item-5" class="flexslider-item" style="display: none;"><a href="http://wpsmith.net/genesis-child-themes/blog-news-child-theme/" title="blognews" ><img width="600" height="300" src="http://wpsmith.net/wp-content/uploads/2012/02/blognews-600x300.jpg" class="attachment-Portfolio Full" alt="blognews" title="blognews" /></a><div class="flex-caption"><a href="http://wpsmith.net/go/sp-blog-news/">Blog News Child Theme</a> Child Theme by <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=">Len Kutchma</a> of <a href="http://www.shareasale.com/r.cfm?u=415873&b=241709&m=28169&afftrack=&urllink=www%2Ewpcanada%2Eca%2F">WPCanada</a></div></li></ul></div></div><div class="thumbs"><a rel="0" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="40" src="http://wpsmith.net/wp-content/uploads/2012/02/24k-40x40.jpg" class="attachment-40x40" alt="24k" title="24k" /></a><a rel="1" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="40" src="http://wpsmith.net/wp-content/uploads/2012/02/adaptation-40x40.jpg" class="attachment-40x40" alt="adaptation" title="adaptation" /></a><a rel="2" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="40" src="http://wpsmith.net/wp-content/uploads/2012/02/aero-40x40.jpg" class="attachment-40x40" alt="aero" title="aero" /></a><a rel="3" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="40" src="http://wpsmith.net/wp-content/uploads/2012/02/birow-40x40.png" class="attachment-40x40" alt="birow" title="birow" /></a><a rel="4" class="slide_thumb" href="#" onclick="return false;"><img width="40" height="40" src="http://wpsmith.net/wp-content/uploads/2012/02/blognews-40x40.jpg" class="attachment-40x40" alt="blognews" title="blognews" /></a></div></p>
<p><a href="http://wpsmith.net/go/get-soliloquy"><img alt="Soliloquy jQuery Responsive Slider" src="http://wpsmith.net/files/images/ads/soliloquy_728x90.png" title="Soliloquy jQuery Responsive Slider" class="alignright" width="600" /></a><br />
<a href="http://wpsmith.net/go/get-soliloquy/">Get Soliloquy!</a></p>
<div id="my-inline-selector" class="hide">
                <div class='gf_browser_unknown gform_wrapper' id='gform_wrapper_1' style='display:none'><form method='post' enctype='multipart/form-data'  id='gform_1'  action='/feed/?cat=-255'>
                        <div class='gform_heading'>
                            <h3 class='gform_title'>Contact Form</h3>
                            <span class='gform_description'>We would love to hear from you! Please fill out this form and we will get in touch with you shortly.</span>
                        </div>
                        <div class='gform_body'>
                            <ul id='gform_fields_1' class='gform_fields top_label description_below'><li id='field_1_1' class='gfield               gfield_contains_required' ><label class='gfield_label' for='input_1_1_3'>Name<span class='gfield_required'>*</span></label><div class='ginput_complex ginput_container' id='input_1_1'><span id='input_1_1_3_container' class='ginput_left'><input type='text' name='input_1.3' id='input_1_1_3' value='' tabindex='1' /><label for='input_1_1_3'>First</label></span><span id='input_1_1_6_container' class='ginput_right'><input type='text' name='input_1.6' id='input_1_1_6' value='' tabindex='2' /><label for='input_1_1_6'>Last</label></span></div></li><li id='field_1_2' class='gfield               gfield_contains_required' ><label class='gfield_label' for='input_1_2'>Email<span class='gfield_required'>*</span></label><div class='ginput_container'><input name='input_2' id='input_1_2' type='text' value='' class='medium'  tabindex='3'   /></div></li><li id='field_1_3' class='gfield' ><label class='gfield_label' for='input_1_3'>Website</label><div class='ginput_container'><input name='input_3' id='input_1_3' type='text' value='http://' class='medium'  tabindex='4'   /></div></li><li id='field_1_4' class='gfield               gfield_contains_required' ><label class='gfield_label' for='input_1_4'>Subject<span class='gfield_required'>*</span></label><div class='ginput_container'><select name='input_4' id='input_1_4' onchange='gf_apply_rules(1,[8,7]);' class='medium gfield_select' tabindex='5' ><option value='Plugin Support' >Plugin Support</option><option value='Beta Testing' >Beta Testing</option><option value='Job Opportunity' >Job Opportunity</option><option value='Speaking Opportunity' >Speaking Opportunity</option><option value='Other/Misc.' >Other/Misc.</option></select></div></li><li id='field_1_8' class='gfield' style='display:none;'><label class='gfield_label' for='input_1_8'>Plugin</label><div class='ginput_container'><select name='input_8' id='input_1_8'  class='medium gfield_select' tabindex='6' ><option value='Select' >Select</option><option value='Genesis Grid' >Genesis Grid</option><option value='Genesis Hooks' >Genesis Hooks</option><option value='Genesis Custom Backgrounds' >Genesis Custom Backgrounds</option><option value='Genesis Custom Post Types Archives' >Genesis Custom Post Types Archives</option><option value='Genesis Featured Images' >Genesis Featured Images</option><option value='Enhanced Latest Tweets (deprecated)' >Enhanced Latest Tweets (deprecated)</option><option value='Smithers Login' >Smithers Login</option><option value='WP Accordion Slider' >WP Accordion Slider</option><option value='WP Biographia' >WP Biographia</option><option value='WP Custom Menu Filter' >WP Custom Menu Filter</option></select></div></li><li id='field_1_7' class='gfield      gfield_html gfield_html_formatted gfield_no_follows_desc' style='display:none;'>If this pertains to developing a website, please fill out my <a href="http://wpsmith.net/services/web-development-form/">Web Development Form</a>, otherwise fill out the message box below. I look forward to speaking with you!</li><li id='field_1_5' class='gfield               gfield_contains_required' ><label class='gfield_label' for='input_1_5'>Message<span class='gfield_required'>*</span></label><div class='ginput_container'><textarea name='input_5' id='input_1_5' class='textarea medium' tabindex='7'   rows='10' cols='50'></textarea></div></li><li id='field_1_6' class='gfield' ><label class='gfield_label' for='input_1_6'>Captcha</label><script type='text/javascript'> var RecaptchaOptions = {theme : 'red'}; if(parseInt('8') > 0) {RecaptchaOptions.tabindex = 8;} </script><div class='ginput_container' id='input_1_6'><script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LcqBcMSAAAAADZiFgOgQAj1PBnd_gAXo6GjtR4Y&hl=en"></script>

	<noscript>
  		<iframe src="http://www.google.com/recaptcha/api/noscript?k=6LcqBcMSAAAAADZiFgOgQAj1PBnd_gAXo6GjtR4Y" height="300" width="500" frameborder="0"></iframe><br/>
  		<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
  		<input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
	</noscript></div></li>
                            </ul></div>
        <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_1' class='button gform_button' value='Submit' tabindex='9' />
            <input type='hidden' class='gform_hidden' name='is_submit_1' value='1' />
            <input type='hidden' class='gform_hidden' name='gform_submit' value='1' />
            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='4fb54d454691e' />
            <input type='hidden' class='gform_hidden' name='state_1' value='YToyOntpOjA7czo2OiJhOjA6e30iO2k6MTtzOjMyOiIxNjI1OWVkZDRmODIyMGI3OWMzMTg1MGRhNWZlZjEzYiI7fQ==' />
            <input type='hidden' class='gform_hidden' name='gform_target_page_number_1' id='gform_target_page_number_1' value='0' />
            <input type='hidden' class='gform_hidden' name='gform_source_page_number_1' id='gform_source_page_number_1' value='1' />
            <input type='hidden' name='gform_field_values' value='' />
            
        </div>
                </form>
                </div><script type='text/javascript'>if(window['jQuery']){jQuery(document).ready(function(){gf_apply_rules(1, [8,7], true);jQuery('#gform_wrapper_1').show();});if(!window['gf_form_conditional_logic'])window['gf_form_conditional_logic'] = new Array();window['gf_form_conditional_logic'][1] = {'logic' : {8: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"4","operator":"is","value":"Plugin Support"}]},"nextButton":null,"section":null},7: {"field":{"actionType":"show","logicType":"all","rules":[{"fieldId":"4","operator":"is","value":"Job Opportunity"}]},"nextButton":null,"section":null} }, 'dependents' : {8: [8],7: [7] }, 'animation' : 0 }; if(!window['gf_number_format'])window['gf_number_format'] = 'decimal_dot';} </script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [1, 1])}); </script><!--content is pulled from here--></div>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/rk01dq7xI8U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/genesis-child-themes/blog-news-child-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/wp/new-plugin-soliloquy-the-best-responsive-jquery-slider-plugin-for-wordpress/</feedburner:origLink></item>
		<item>
		<title>Registering Multiple Custom Post Types</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/ybppXN1Xyb4/</link>
		<comments>http://wpsmith.net/2012/custom-post-types/registering-multiple-custom-post-types/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 14:34:47 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Custom Post Types]]></category>
		<category><![CDATA[custom post types]]></category>
		<category><![CDATA[register_post_type]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=13118</guid>
		<description><![CDATA[Nick Croft has a great post, Custom Post Types Made Easy, on registering multiple custom post types that I have expanded for my purposes. On almost every install of WordPress I do, I now have at least 2 custom post types: Tweets and Bookmarks. Since I have this in a plugin, I am using a [...]]]></description>
			<content:encoded><![CDATA[<p>Nick Croft has a great post, <a href="http://designsbynickthegeek.com/tutorials/custom-post-types-made-easy" title="Custom Post Types Made Easy" target="_blank">Custom Post Types Made Easy</a>, on registering multiple custom post types that I have expanded for my purposes.</p>
<p>On almost every install of WordPress I do, I now have at least 2 custom post types: Tweets and Bookmarks.</p>
<p>Since I have this in a plugin, I am using a constant for my URL base: </p>
<pre class="brush: php; title: ; notranslate">define( 'WPSPS_URL', WP_CONTENT_URL . '/themes/my-child-theme-folder' );</pre>
<p>First, there is the creation function. This creation function, which I call <code>wps_create_post_types()</code> is the only function that I ever edit, really append.</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'init' , 'wps_create_post_types' );
/**
 * Create Post Types
 *
 * @link http://codex.wordpress.org/Function_Reference/register_post_type
 *
 */
function wps_create_post_types() {
	$post_types = array(
		'Tweet' =&gt; array(
			'rewrite' =&gt; array( 'slug' =&gt; 'tweets' ),
			'menu_icon' =&gt; WPSPS_URL . '/lib/images/tweets_16x16.png',
			'description' =&gt; 'Twitter Archive (@wp_smith)',
			'supports' =&gt; array( 'title', 'editor', 'custom-fields', 'post-formats' ),
			'taxonomies' =&gt; array( 'category' , 'post_tag' , ),
		),
		'Bookmark' =&gt; array(
			'rewrite' =&gt; array( 'slug' =&gt; 'tweets' ),
			'description' =&gt; 'Bookmarks',
			'supports'    =&gt; array( 'title', 'thumbnail', ),
			'menu_icon' =&gt; WPSPS_URL .'/lib/images/bookmarks16x16.png',
			'taxonomies'  =&gt; array( 'wps_bookmark_category', 'wps_bookmark_tags' ),
		),
	);
	foreach ( $post_types as $title =&gt; $args ) {
		wps_register_post_type( $title , $args );
	}
}
</pre>
<p>So what&#8217;s going on here is that I am cycling through the post types array registering each post type with a helper function called <code>wps_register_post_type()</code>. Note that I am calling this main function in the init hook, which is required for custom post type registration. So every time I add a new post type I am adding the following:</p>
<pre class="brush: php; title: ; notranslate">
'CPT Name' =&gt; array(
	'post_type' =&gt; '', // String
	'description' =&gt; '', // String
	'rewrite' =&gt; array( 'slug' =&gt; 'cpt-names' ), // Array with 'slug'
	'menu_icon' =&gt; WPSPS_URL .'/path/to/my/images/bookmarks16x16.png', // String URL
	'supports' =&gt; array( 'title', 'editor', 'excerpt', 'revisions', 'thumbnail', 'page-attributes', 'custom-fields' ), // Array of strings = features
	'taxonomies' =&gt; array( 'category', 'post_tag', ),// Array of strings = taxonomies
),
</pre>
<p>First, while I never have to do this (because this is my code and I&#8217;ve set it up how I like it), you can add a post_type entry to your array. This is the name of the registered post type. If you didn&#8217;t, the helper functions would do it for you. In this case, &#8216;CPT Name&#8217; would be registered as <code>wps_cpt_names</code>. It converts the name to lower case and replaces the spaces with underscores. Note, my custom post type name is always my singular title, so if I want to pluralize the slug, then I add a rewrite entry to the array. On all my custom post types I add a menu_icon (call me Vain!), and since custom post types vary, I add my own support entry to the array. However, there does exist a default if you want everything. If I want my custom post type to support some Genesis functionality, I would include them here (e.g., &#8216;genesis-seo&#8217;, &#8216;genesis-layouts&#8217;, &#8216;genesis-simple-sidebars&#8217;).</p>
<pre class="brush: php; title: ; notranslate">
/**
 * Registers a post type with default values which can be overridden as needed.
 *
 * @author Nick the Geek
 * @author Travis Smith
 * @link http://designsbynickthegeek.com/tutorials/custom-post-types-made-easy
 * @link http://codex.wordpress.org/Function_Reference/register_post_type
 * @link http://wpsmith.net/2012/custom-post-types/registering-multiple-custom-post-types
 *
 * @uses sanitize_title() WordPress function that formats text for use as a slug
 * @uses wp_parse_args() WordPress function that merges two arrays and parses the values to override defaults
 * @uses register_post_type() WordPress function for registering a new post type
 *
 * @param string $title title of the post type. This will be automatically converted for plural and slug use
 * @param array $args overrides the defaults
 * @param string $prefix prefix string
 */
function wps_register_post_type( $title, $args = array() ) {
	$prefix = 'wps_';
	$sanitized_title = sanitize_title( $title );
	$plural_title = isset( $args['plural_title'] ) ? $args['plural_title'] : '';
	unset( $args['plural_title'] );

	$defaults = array(
		'labels' =&gt; wps_post_type_labels( $title , $plural_title ),
		'_builtin' =&gt; false,
		'description' =&gt; $title . __( ' Custom Post Type' , 'child-translate-domain' ),
		'menu_position' =&gt; 6, // WP default: null (below comments ~ 25)
		'menu_icon' =&gt; '', // WP default: null
		'public' =&gt; true, // WP default: true
		'publicly_queryable' =&gt; true, // WP default: value of 'public'
		'show_ui' =&gt; true, // WP default: value of 'public'
		'show_in_nav_menus' =&gt; true, // WP default: value of 'public'
		'show_in_menu' =&gt; true, // WP default: null; 'show_ui' must be true
		'has_archive' =&gt; true, // WP default: false
		'capability_type' =&gt; 'post', // WP default: post; defines 'capabilities' as well
		'map_meta_cap' =&gt; false,  // WP default: false
		'hierarchical' =&gt; false,
		'taxonomies' =&gt; array(),
		'rewrite' =&gt; array( 'slug' =&gt; $sanitized_title ),
		'query_var' =&gt; true,
		'can_export' =&gt; true,
		'supports' =&gt; array( 'title' , 'editor' , 'excerpt' , 'author' , 'comments' , 'custom-fields' , 'revisions' , 'thumbnail' , 'genesis-seo' , 'genesis-layouts' , 'genesis-simple-sidebars' ),
        );

	$args = wp_parse_args( $args, $defaults );

	// Correct show_in_menu arg
	if ( false === $args['show_ui'] &amp;&amp; true === $args['show_in_menu'] )
		$args['show_in_menu'] = false; 

	$post_type = isset( $args['post_type'] ) ? $args['post_type'] : $prefix . str_replace( '-', '_', $sanitized_title) . 's';

	register_post_type( $post_type, $args );

}
</pre>
<p>While the PHP documentation makes the function self-explanatory, let me explain in a bit more detail. First, I sanitize the title, which formats text for use as a slug. So if the title is: &#8220;This Is the Title of My Post,&#8221; the resulting sanitized title would be: &#8220;this-is-the-title-of-my-post.&#8221; This is important because case and spacing matters.</p>
<p>Then for the arguments, I have a list of default arguments that I use, which basically match the WordPress defaults (and an argument could be made against having them at all). However, I include everything (except capabilities, permalink_epmask, and register_meta_box_cb) so you can see everything that you need or may want.</p>
<p>Next, I am getting my labels from another helper function called <code>wps_post_type_labels()</code></p>
<pre class="brush: php; title: ; notranslate">
/**
 * A helper function for generating localizable labels
 *
 * @author Travis Smith
 * @uses _x() WordPress function that retrieves translated string with gettext context
 * @uses __() WordPress function that retrieves the translated string from the translate()
 *
 * @param string $singular Singular Title/Label
 * @param string $plural Plural Title/Label (optional)
 */
function wps_post_type_labels( $singular, $plural = '' ) {
    if ( $plural == '' ) $plural = $singular . 's';

    return array(
        'name' =&gt; _x( $plural, 'post type general name', 'child-translate-domain' ),
        'singular_name' =&gt; _x( $singular, 'post type singular name', 'child-translate-domain' ),
        'add_new' =&gt; __( 'Add New' , 'child-translate-domain' ),
        'add_new_item' =&gt; __( 'Add New '. $singular , 'child-translate-domain' ),
        'edit_item' =&gt; __( 'Edit '. $singular , 'child-translate-domain' ),
        'new_item' =&gt; __( 'New '. $singular , 'child-translate-domain' ),
        'view_item' =&gt; __( 'View '. $singular , 'child-translate-domain' ),
        'search_items' =&gt; __( 'Search '. $plural , 'child-translate-domain' ),
        'not_found' =&gt;  __( 'No '. $plural .' found' , 'child-translate-domain' ),
        'not_found_in_trash' =&gt; __( 'No '. $plural .' found in Trash' , 'child-translate-domain' ),
        'parent_item_colon' =&gt; ''
    );
}
</pre>
<p>This helper labels function pluralizes my labels for me unless I specify a plural label myself, and makes all the strings compatible for localization, which if you are not making your custom post types labels able to be translated, then you need to be. Some of you may say that you never have the need; however, if you get in the practice of localizing, then when you do have the need, your code is already ready/done instead of having to re-invest the work later (which really is more work).</p>
<p>Now, if you want to add Genesis functionality to existing custom post types (that you may have registered via another plugin), then you may need the following.</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'init', 'wps_add_post_type_support' );
/**
 * Add Genesis custom support for registered post types
 * Add Genesis SEO/Layout support to CPTs (if not registered with them)
 *
 * @uses add_post_type_support() Registers support of certain features for a given post_type
 * @link http://codex.wordpress.org/Function_Reference/add_post_type_support
 *
 */
function wps_add_post_type_support() {
	// Uncomment below as appropriate
	//add_post_type_support( 'post_type', 'genesis-seo' );
	//add_post_type_support( 'post_type', 'genesis-layouts' );
	//add_post_type_support( 'post_type', 'genesis-simple-sidebars' );
}
</pre>
<p>To add the above to multiple post types:</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'init', 'wps_add_post_type_support' );
/**
 * Add Genesis custom support for registered post types
 * Add Genesis SEO/Layout support to CPTs (if not registered with them)
 *
 * @uses add_post_type_support() Registers support of certain features for a given post_type
 * @link http://codex.wordpress.org/Function_Reference/add_post_type_support
 *
 */
function wps_add_post_type_support() {
	$pts = array( 'post_type1', 'post_type2' );
	foreach( $pts as $pt ) {
		// Uncomment below as appropriate
		//add_post_type_support( $pt, 'genesis-seo' );
		//add_post_type_support( $pt, 'genesis-layouts' );
		//add_post_type_support( $pt, 'genesis-simple-sidebars' );
	}
}
</pre>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/ybppXN1Xyb4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/custom-post-types/registering-multiple-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/custom-post-types/registering-multiple-custom-post-types/</feedburner:origLink></item>
		<item>
		<title>Add Genesis SEO, Layouts, &amp; Sidebars to Custom Post Types</title>
		<link>http://feedproxy.google.com/~r/WPSmith/~3/hFd4nPA7X1c/</link>
		<comments>http://wpsmith.net/2012/custom-post-types/add-genesis-seo-layouts-sidebars-to-custom-post-types/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 12:27:20 +0000</pubDate>
		<dc:creator>Travis Smith</dc:creator>
				<category><![CDATA[Custom Post Types]]></category>
		<category><![CDATA[Genesis Layouts]]></category>
		<category><![CDATA[Genesis SEO]]></category>
		<category><![CDATA[Genesis Simple Sidebars]]></category>

		<guid isPermaLink="false">http://wpsmith.net/?p=13124</guid>
		<description><![CDATA[Now, if you want to add Genesis functionality, that is, Genesis SEO, Layouts, &#038; Sidebars, to existing custom post types (that you may have registered via another plugin), then you need the following. To add the above to multiple post types:]]></description>
			<content:encoded><![CDATA[<p>Now, if you want to add Genesis functionality, that is, Genesis SEO, Layouts, &#038; Sidebars, to existing custom post types (that you may have registered via another plugin), then you need the following.</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'init', 'wps_add_post_type_support' );
/**
 * Add Genesis custom support for registered post types
 * Add Genesis SEO/Layout support to CPTs (if not registered with them)
 *
 * @uses add_post_type_support() Registers support of certain features for a given post_type
 * @link http://codex.wordpress.org/Function_Reference/add_post_type_support
 *
 */
function wps_add_post_type_support() {
	// Uncomment below as appropriate
	//add_post_type_support( 'post_type', 'genesis-seo' );
	//add_post_type_support( 'post_type', 'genesis-layouts' );
	//add_post_type_support( 'post_type', 'genesis-simple-sidebars' );
}
</pre>
<p>To add the above to multiple post types:</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'init', 'wps_add_post_type_support' );
/**
 * Add Genesis custom support for registered post types
 * Add Genesis SEO/Layout support to CPTs (if not registered with them)
 *
 * @uses add_post_type_support() Registers support of certain features for a given post_type
 * @link http://codex.wordpress.org/Function_Reference/add_post_type_support
 *
 */
function wps_add_post_type_support() {
	$pts = array( 'post_type1', 'post_type2' );
	foreach( $pts as $pt ) {
		// Uncomment below as appropriate
		//add_post_type_support( $pt, 'genesis-seo' );
		//add_post_type_support( $pt, 'genesis-layouts' );
		//add_post_type_support( $pt, 'genesis-simple-sidebars' );
	}
}
</pre>
<img src="http://feeds.feedburner.com/~r/WPSmith/~4/hFd4nPA7X1c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpsmith.net/2012/custom-post-types/add-genesis-seo-layouts-sidebars-to-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wpsmith.net/2012/custom-post-types/add-genesis-seo-layouts-sidebars-to-custom-post-types/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (Requested URI contains query)

Served from: wpsmith.net @ 2012-05-17 15:11:01 -->

