<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Castelar Design &#38; Code&#187; Wordpress</title>
	<atom:link href="http://www.castelar.net/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.castelar.net</link>
	<description>Castelar.net</description>
	<lastBuildDate>Tue, 13 Dec 2011 21:49:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Social Networking with Buddypress for WordPress</title>
		<link>http://www.castelar.net/social-networking-with-buddypress-for-wordpress/</link>
		<comments>http://www.castelar.net/social-networking-with-buddypress-for-wordpress/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 22:20:14 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.castelar.net/?p=27</guid>
		<description><![CDATA[It&#8217;s been a long time since posting, but since using Buddypress for WordPress, I feel it&#8217;s necessary say something about this up and coming social networking solution. Ever been frustrated with sites like Facebook, Myspace and other social networks, but feel that your company or organization could really benefit from being a part of a [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long time since posting, but since using <a href="http://buddypress.org" target="_blank">Buddypress</a> for WordPress, I feel it&#8217;s necessary say something about this up and coming social networking solution.</p>
<p>Ever been frustrated with sites like Facebook, Myspace and other social networks, but feel that your company or organization could really benefit from being a part of a social network? Does not having control over the ads, branding and other aspects make them not an option, or a bad option?</p>
<p>There is a solution I will already recommend, even before its official launch from beta. I&#8217;ve been playing around with a couple installs of Buddypress, along with a couple custom plugins, allowing you to take complete control of your own social network, and offer a place that people can interact with your business offerings. There are other &#8220;free&#8221; solutions out there already for creating your own social network, but they tend to offer you a freebie version, with limitations, and lock you into buying add-ons. Many have limitations with resources, because the site is actually hosted on their server, instead of on your own. Not to mention, most are not open source, or have anywhere near the following that the WordPress community has.  Buddypress is run entirely on your own server, without any paid add-on limitations, and will change the way people and organizations interact with one another.</p>
<p>Buddypress is completely open-source, and one of the great reasons why WordPress is so great. Projects like Buddypress can arise from nowhere, because of the great extensibility of the WordPress blogging platform.</p>
<p>Buddypress is different than the other software already available, and I feel will be a major player in the social networking realm, as did WordPress for blogging. Buddypress is currently limited to running on <a href="http://mu.wordpress.org">WordPress MU</a>, but will soon be released as a set of plugins for the WordPress standalone version. I feel this is an exciting thing, and can only help move WordPress forward as well. Obviously <a href="http://automattic.com/">Automattic</a> felt the same way, by taking in Buddypress and Andy Peatling, the lead developer, under its wings.</p>
<p>The versatility and extensibility that WordPress offers, along with a substantial community of great developers helping out, makes Buddypress an option for many organizations, including non-profits, in the need to expand their reach to a larger community-based audience.</p>
<p>I&#8217;m sure you will hear much more on this from me in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castelar.net/social-networking-with-buddypress-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use WordPress optional excerpt or Custom Field for post thumbnail Icons</title>
		<link>http://www.castelar.net/use-wordpress-optional-excerpt-or-custom-field-for-post-thumbnail-icons/</link>
		<comments>http://www.castelar.net/use-wordpress-optional-excerpt-or-custom-field-for-post-thumbnail-icons/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 02:35:53 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[optional excerpts]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.castelar.net/articles/use-wordpress-optional-excerpt-or-custom-field-for-post-thumbnail-icons/</guid>
		<description><![CDATA[There are a few different ways to add images next to your WordPress posts; I will discuss two of these ways (using the &#8220;optional excerpt&#8221; field or using a &#8220;custom field&#8221;) including the benefits and code for each. The first method is to use the &#8220;Optional Excerpt&#8221; field when posting and a plugin called DBPostsForCategory. [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few different ways to add images next to your WordPress posts; I will discuss two of these ways (using the &#8220;optional excerpt&#8221; field or using a &#8220;custom field&#8221;)  including the benefits and code for each.<span id="more-17"></span></p>
<p>The first method is to use the &#8220;Optional Excerpt&#8221; field when posting and a plugin called DBPostsForCategory. It&#8217;s hard to find because the developer&#8217;s site (Dhruba.net) has been down for awhile, but you can download it here: <a href="http://www.castelar.net/wp-content/uploads/2007/10/dbpostsforcategory.txt" title="DBPostsForCategory">DBPostsForCategory.txt</a>. Change .txt to .php.</p>
<p>You can add html to the &#8220;Optional Excerpt&#8221; field for each post pointing to any image, thumbnail or icon. In this case we&#8217;ll point it to a 24&#215;24 icon &#8220;myposticon.gif&#8221;<br />
The code you&#8217;d enter in the optional excerpt would be:</p>
<p class="postcode">&lt;img src&#8221;http://yourdomain.com/pathtoimage/myposticon.gif&#8221; /&gt;</p>
<p>or you could add a link to your excerpt so the icon links to the post also. You&#8217;d use this:</p>
<p class="postcode">&lt;a href=&#8221;http://yourdomain.com/yourpost/&#8221;&gt;&lt;img src&#8221;http://yourdomain.com/pathtoimage/myposticon.gif&#8221; /&gt;&lt;/a&gt;</p>
<p>Next thing to accomplish would be a list of new posts with the images (excerpts) next to them. Upload and activate the DBPostsForCategory plugin and use this code in your template:</p>
<p class="postcode">&lt;?php DBPostsForCategory :: printAsExcerptItems(1, 5, true) ?&gt;</p>
<p>You can adjust the category using the first number in the array, how many posts shown, and change to false for descending order. So if you wanted to list the latest 10 excerpts from category ID 7 in ascending order you would use:</p>
<p class="postcode">&lt;?php DBPostsForCategory :: printAsExcerptItems(7, 10, false) ?&gt;</p>
<p>Now, another way to achieve virtually the same thing, but using custom fields you would first need to add a custom field key and a url value pointing to the image.  For example:</p>
<p><strong>Key</strong>: icon <strong>Value</strong>: http://www.yourdomain.com/myposticon.gif</p>
<p>Now we have to edit your template with some php to show this custom field.  We are going to want to show the post icon linked to the post. So here is the code to achieve this:</p>
<p class="postcode">&lt;?php $iconfield = get_posts(&#8216;numberposts=10&amp;category=7&#8242;); foreach($iconfield as $post) : setup_postdata($post); ?&gt;<br />
&lt;a href=&#8221;&lt;?php the_permalink(); ?&gt;&#8221;&gt;&lt;img src=&#8221;&lt;?php echo get_post_meta($post-&gt;ID, &#8220;icon&#8221;, true); ?&gt;&#8221; alt=&#8221;&lt;?php the_title(); ?&gt; icon&#8221; /&gt;&lt;/a&gt;<br />
&lt;?php endforeach; ?&gt;</p>
<p>You could of course show the icons to the left of the post title. You would use this code instead:</p>
<p class="postcode">&lt;?php $iconfield = get_posts(&#8216;numberposts=10&amp;category=7&#8242;); foreach($iconfield as $post) : setup_postdata($post); ?&gt;<br />
&lt;a href=&#8221;&lt;?php the_permalink(); ?&gt;&#8221;&gt;&lt;img src=&#8221;&lt;?php echo get_post_meta($post-&gt;ID, &#8220;icon&#8221;, true); ?&gt;&#8221; alt=&#8221;&lt;?php the_title(); ?&gt; icon&#8221; /&gt;&lt;/a&gt; &lt;a href=&#8221;&lt;?php the_permalink(); ?&gt;&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php endforeach; ?&gt;</p>
<p>You could of course add any number of custom fields using this method and it can be used in countless ways. All you would need to do to add another custom field is change the ($post-&gt;ID, &#8220;icon&#8221;, true) to read ($post-&gt;ID, &#8220;CustomFieldKey&#8221;, true).</p>
<p>I use custom field in the header to show a list of my latest portfolio items with a custom thumbnail, post title and a snippet of what I contributed to the project. A small bit of CSS styling with either method and you are on your way to making your site a more dynamic and more importantly contributing to the overall look and feel.  Let me know if you know another way to achieve this, or if this was useful to you and your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.castelar.net/use-wordpress-optional-excerpt-or-custom-field-for-post-thumbnail-icons/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

