<?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>Interconnect IT - WordPress Consultants, Web Development and Web Design &#187; Documentation</title>
	<atom:link href="http://interconnectit.com/tag/documentation/feed/" rel="self" type="application/rss+xml" />
	<link>http://interconnectit.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 17:36:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Spots for WordPress Developer Notes</title>
		<link>http://interconnectit.com/2906/spots-for-wordpress-developer-notes/</link>
		<comments>http://interconnectit.com/2906/spots-for-wordpress-developer-notes/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 09:26:10 +0000</pubDate>
		<dc:creator>Tom J Nowell</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Spots]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://interconnectit.com/?p=2906</guid>
		<description><![CDATA[Our Spots for WordPress plugin is designed to make your content management life with WP even easier. Although there are developer notes on the WordPress.org repository, we&#8217;ve decided to maintain a page here where we can possibly show a broader range of information in the future, depending on the take-up of the plugin. Template tags Spots provides 2 template tags&#8230; <a class="more" href="http://interconnectit.com/2906/spots-for-wordpress-developer-notes/">continue reading <span class="unicode">&#8674;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Our <a title="Spots for WordPress" href="http://wordpress.org/extend/plugins/spots/other_notes/">Spots for WordPress plugin</a> is designed to make your content management life with WP even easier.</p>
<p>Although there are developer notes on the WordPress.org repository, we&#8217;ve decided to maintain a page here where we can possibly show a broader range of information in the future, depending on the take-up of the plugin.</p>
<h2>Template tags</h2>
<p>Spots provides 2 template tags for developers named <code>icit_spot</code> and <code>icit_get_spot</code>.</p>
<h3>icit_spot</h3>
<p>This template tag echos out a spot:</p>
<pre><code>icit_spot( $id_or_name, $template );</code></pre>
<p>It takes the following parameters:</p>
<ul>
<li><code>$id_or_name</code>: Required. A numeric ID or the name of a spot as a string.</li>
<li><code>$template</code>: Optional. A string used in a call to <code><a href="http://codex.wordpress.org/Function_Reference/get_template_part" target="_blank">get_template_part</a>()</code></li>
</ul>
<h3>icit_get_spot</h3>
<p>This template tag performs the same function, but it allows the developer to specify wether to echo the result, or return it as a variable:</p>
<pre><code>icit_get_spot( $id_or_name, $template, $echo );</code></pre>
<p>It takes the following extra parameter:</p>
<ul>
<li><code>$echo</code>: Optional. Defaults to false. A boolean to indicate whether to echo the spot content or just return it.</li>
</ul>
<h2>Basic Usage</h2>
<p>You can use spots to replace boilerplate text in your themes. If you have areas in your themes where typically you would hard code the text you could use the following code:</p>
<pre><code>if ( <a href="http://php.net/manual/en/function.function-exists.php" target="_blank">function_exists</a>( 'icit_spot' ) )
    icit_spot( 'Copyright' );</code></pre>
<p>The above code would output the contents of a spot titled &#8216;Copyright&#8217;. If the spot does not exist it will be created as a draft. Spots in draft mode are only visible to logged in users with editing capabilities.</p>
<h2>Templates</h2>
<p>The plugin will initially look for a file in your theme using the <code><a href="http://codex.wordpress.org/Function_Reference/get_template_part" target="_blank">get_template_part</a>()</code> function. If you have a file called <code>spot.php</code> in your theme that will be the default template for all spots. The <code>icit_spot()</code> function can take a second parameter for the template part to use for example:</p>
<pre><code>if ( <a href="http://php.net/manual/en/function.function-exists.php" target="_blank">function_exists</a>( 'icit_spot' ) )
    icit_spot( 'Copyright', 'copyright' );</code></pre>
<p>The above code will make the plugin look in your theme folder for a file called <code>spot-copyright.php</code> to use for the output. If not available it will fall back to <code>spot.php</code> and if that is not available it will simply output the spot contents.</p>
<p>Use templates when you want to display a featured image from a spot or if you require some additional/alternative markup for the spot. Spots are just like posts, so in the templates you retrieve the contents of the spot using <code><a href="http://codex.wordpress.org/Function_Reference/the_content" target="_blank">the_content</a>()</code> just as would in the loop.</p>
<h3>Basic spot template example:</h3>
<pre><code>&lt;div class="spot"&gt;
    &lt;?php <a href="http://codex.wordpress.org/Function_Reference/the_content" target="_blank">the_content</a>(); ?&gt;
&lt;/div&gt; </code></pre>
<h3>Spot template with featured image:</h3>
<pre><code>&lt;div class="spot-with-image"&gt;
    &lt;?php
    if ( <a href="http://codex.wordpress.org/Function_Reference/has_post_thumbnail" target="_blank">has_post_thumbnail</a>() )
        <a href="http://codex.wordpress.org/Function_Reference/the_post_thumbnail" target="_blank">the_post_thumbnail</a>( 'medium' );
    <a href="http://codex.wordpress.org/Function_Reference/the_content" target="_blank">the_content</a>(); ?&gt;
&lt;/div&gt; </code></pre>
<h2>Additional</h2>
<p>There are many filters and hooks available to get even more out of spots, so drop by the plugin homepage or use the forums if there is something you need to do with spots but aren&#8217;t sure how.</p>
]]></content:encoded>
			<wfw:commentRss>http://interconnectit.com/2906/spots-for-wordpress-developer-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress User Guide</title>
		<link>http://interconnectit.com/70/new-wordpress-user-guide/</link>
		<comments>http://interconnectit.com/70/new-wordpress-user-guide/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 22:58:45 +0000</pubDate>
		<dc:creator>David Coveney</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[User Guide]]></category>
		<category><![CDATA[WordPress User Guide]]></category>

		<guid isPermaLink="false">http://liverpoolwebdesigner.wordpress.com/?p=70</guid>
		<description><![CDATA[Please Note &#8211; This version of the guide is now obsolete and been superceded by our WordPress 2.6 User Guide which can be downloaded from Spectacu.la One of the things lacking, in the free downloads world, so far as we could see, was a simple, easy to follow WordPress guide designed for non-techie WordPress users. There are two versions available&#8230; <a class="more" href="http://interconnectit.com/70/new-wordpress-user-guide/">continue reading <span class="unicode">&#8674;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Please Note &#8211; This version of the guide is now obsolete and been superceded by our WordPress 2.6 User Guide which can be downloaded from <a title="WordPress 2.6 User Guide" href="http://spectacu.la/wordpress-26-user-guide/">Spectacu.la</a></strong></p>
<p>One of the things lacking, in the free downloads world, so far as we could see, was a simple, easy to follow WordPress guide designed for non-techie WordPress users.</p>
<p>There are two versions available &#8211; the latest which is for WordPress 2.6, and the previous version for WordPress 2.3 &#8211; the latest is only available from our <a title="Spectacu.la WordPress Themes" href="http://spectacu.la">Spectacu.la WordPress Themes Club</a>.</p>
<p><a title="WordPress User Guide for version 2.6" href="http://spectacu.la/wordpress-26-user-guide/"><img src="http://liverpoolwebdesigner.files.wordpress.com/2008/01/disk.png" alt="Silk Icon from famfamfam" /><strong></strong></a><strong><a title="WordPress User Guide Version 2 beta" href="http://spectacu.la/wordpress-26-user-guide/">To download the NEW WordPress User Guide follow this link to Spectacu.la </a></strong></p>
<p><img src="http://liverpoolwebdesigner.files.wordpress.com/2008/01/disk.png" alt="Silk Icon from famfamfam" /><strong><a title="WordPress User Guide Version 2 beta" href="http://liverpoolwebdesigner.files.wordpress.com/2008/01/wordpress_user_guide_v2_beta.pdf">Download the OLD! WordPress User Guide Version 2 beta for WP 2.3<br />
</a></strong></p>
<p>I think the document still needs work, but I would greatly appreciate any feedback, comments, or even offers of assistance.  It would be quite nice to GPL this but we haven&#8217;t done so yet and I personally am 50/50 about it.  What do you think?</p>
<p>If you want to help popularise this guide, please digg it, or add it to your favourite social bookmarking system &#8211; it would be much appreciated!</p>
]]></content:encoded>
			<wfw:commentRss>http://interconnectit.com/70/new-wordpress-user-guide/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

