<?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>WP First Aid &#187; plugin</title>
	<atom:link href="http://wpfirstaid.com/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpfirstaid.com</link>
	<description>It&#039;s WordPress ... anything is possible!</description>
	<lastBuildDate>Tue, 17 Jan 2012 16:47:01 +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>WordPress Christmas</title>
		<link>http://wpfirstaid.com/2010/12/wordpress-christmas/</link>
		<comments>http://wpfirstaid.com/2010/12/wordpress-christmas/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 16:59:44 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=922</guid>
		<description><![CDATA[Merry Christmas 2010!]]></description>
			<content:encoded><![CDATA[<p>Just a little holiday cheer from the many people that contribute to the <a title="WordPress" href="http://wordpress.org">WordPress</a> project. If you are looking for a free WordPress Theme here is a quick search of the <a title="WordPress Themes" href="http://wordpress.org/extend/themes/">Extend Themes</a> repository that will give you some options:</p>
<p><a title="Christmas Themes" href="http://wordpress.org/extend/themes/search.php?q=Christmas">http://wordpress.org/extend/themes/search.php?q=Christmas</a></p>
<p>Of course, the plugin authors have their own merry making to add to the season as well and you can find a listing of the <a title="WordPress Plugins" href="http://wordpress.org/extend/plugins/">Extend Plugins</a> repository with this little search:</p>
<p><a title="Christmas Plugins" href="http://wordpress.org/extend/plugins/search.php?q=Christmas">http://wordpress.org/extend/plugins/search.php?q=Christmas</a></p>
<p>Don&#8217;t forget to use the &#8220;Sort by&#8221; function on the search pages to arrange the results to your preference.</p>
<p><a href="http://wpfirstaid.com/wp-content/uploads/2010/12/merry_christmas_cookies-11412.jpg"><img class="aligncenter size-full wp-image-933" title="merry_christmas_cookies-11412" src="http://wpfirstaid.com/wp-content/uploads/2010/12/merry_christmas_cookies-11412.jpg" alt="" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2010/12/wordpress-christmas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Calendar Default Widget Broken</title>
		<link>http://wpfirstaid.com/2010/01/calendar-default-widget-broken/</link>
		<comments>http://wpfirstaid.com/2010/01/calendar-default-widget-broken/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 21:01:20 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=324</guid>
		<description><![CDATA[WordPress' calendar default widget having issues displaying months correctly. See this ticket at trac: #11414]]></description>
			<content:encoded><![CDATA[<p>I just happened to notice this today. The calendar default widget that comes with WordPress is having issues. It appears to work fine on the initial visit to a blog&#8217;s home page, but if you start reading the archives, especially using the calendar as a navigation tool you may find the calendar using some very oddly structured months.</p>
<p>Here is the trac ticket: <a href="http://core.trac.wordpress.org/ticket/11414">http://core.trac.wordpress.org/ticket/11414</a>, so it is being addressed.</p>
<p>In the meantime, I have decided to install the <a href="http://wordpress.org/extend/plugins/ajax-calendar/">Ajax Calendar</a> plugin as a substitute. There are many other calendar plugins available but this one suits my current needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2010/01/calendar-default-widget-broken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Widget Area &#8230;</title>
		<link>http://wpfirstaid.com/2010/01/no-widget-area/</link>
		<comments>http://wpfirstaid.com/2010/01/no-widget-area/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 04:23:31 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[the_widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=223</guid>
		<description><![CDATA[Making a template tag for standard plugins using the built-in WordPress function the_widget().]]></description>
			<content:encoded><![CDATA[<p>&hellip; no problem! Thanks to the introduction of <code>the_widget()</code> function in <a href="http://codex.wordpress.org/Version_2.8">WordPress 2.8</a> &hellip; and this post.</p>
<p>Using a sample plugin (download zip file below) I will show you a simple how-to that makes use of <code>the_widget()</code> function. There is no codex page at <a href="http://wordpress.org">WordPress.org</a> for this function as of this writing, but there are some references you can find:</p>
<ul>
<li><a href="https://core.trac.wordpress.org/ticket/9701">WordPress trac ticket #9701</a></li>
<li><a href="http://phpdoc.wordpress.org/trunk/WordPress/Widgets/_wp-includes---widgets.php.html#functionthe_widget">WordPress trunk reference</a></li>
</ul>
<p>The &#8220;trunk&#8221; reference provides an easy to follow layout of the function:</p>
<pre class="brush: plain; light: true; title: ; notranslate">the_widget (line 1291 in file ../wp-includes/widget.php)

Output an arbitrary widget as a template tag

    * since: 2.8

void the_widget (string $widget, [array $instance = array()], [array $args = array()])

    * string $widget: the widget's PHP class name (see default-widgets.php)
    * array $instance: the widget's instance settings
    * array $args: the widget's sidebar args
</pre>
<p>We are going to use the sample plugin to replace the values in the function. We will start with this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php /* Using the_widget() to make a plugin template tag */
the_widget(
  string $widget,
  $instance = array(),
  $args = array ()
);
/* NB: This will not work ... yet! */ ?&gt;
</pre>
<p>First we will replace the &#8220;string $widget&#8221; with the plugin class name (see line 19):</p>
<pre class="brush: php; highlight: [19]; title: ; notranslate">&lt;?php
/*
Plugin Name: WPFirstAid Sample Widget
Plugin URI: http://wpfirstaid.com
Description: Plugin with multi-widget functionality that displays stuff ...
Version: 0.1
Author: Edward Caissie
Author URI: http://edwardcaissie.com/
*/

/* Add function to the widgets_init hook. */
add_action( 'widgets_init', 'load_my_wpfa_sample_widget' );

/* Function that registers our widget. */
function load_my_wpfa_sample_widget() {
	register_widget( 'WPFA_Sample_Widget' );
}

class WPFA_Sample_Widget extends WP_Widget {

	function WPFA_Sample_Widget() {
      /* Widget settings. */
  		$widget_ops = array('classname' =&gt; 'wpfa-sample', 'description' =&gt; __('Displays some stuff.'));
  		/* Widget control settings. */
  		$control_ops = array('width' =&gt; 200, 'height' =&gt; 200, 'id_base' =&gt; 'wpfa-sample');
  		/* Create the widget. */
  		$this-&gt;WP_Widget('wpfa-sample', 'WPFirstAid Sample', $widget_ops, $control_ops);
  	}

	function widget( $args, $instance ) {
</pre>
<p>The function now looks like this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php /* Using the_widget() to make a plugin template tag */
the_widget(
  WPFA_Sample_Widget,
  $instance = array(),
  $args = array ()
);
/* NB: This will not work ... yet! */ ?&gt;
</pre>
<p>Next we will replace the &#8220;$instance = array()&#8221; part of the function with the appropriate code from the sample (see lines 70-75), in this sample case simply start with the &#8220;$defaults&#8221; values:</p>
<pre class="brush: php; first-line: 30; highlight: [70,71,72,73,74,75]; title: ; notranslate">
	function widget( $args, $instance ) {
      extract( $args );
      /* User-selected settings. */
      $title        = apply_filters('widget_title', $instance['title'] );
      $choices      = $instance['choices'];
      $show_choices = $instance['show_choices'];
      $optionals    = $instance['optionals'];

      /* Before widget (defined by themes). */
      echo $before_widget;

      /* Title of widget (before and after defined by themes). */
      if ( $title )
        echo $before_title . $title . $after_title;

      /* Display stuff based on widget settings. */
      if ( $show_choices ) {
        echo $choices . ' is in ... step to your ' . $optionals;
      } else {
        echo __('No appointments today');
      }

      /* After widget (defined by themes). */
      echo $after_widget;
  }

	function update( $new_instance, $old_instance ) {
      $instance = $old_instance;

      /* Strip tags (if needed) and update the widget settings. */
      $instance['title']          = strip_tags( $new_instance['title'] );
      $instance['choices']        = strip_tags( $new_instance['choices'] );
      $instance['show_choices']   = $new_instance['show_choices'];
      $instance['optionals']      = $new_instance['optionals'];

      return $instance;
  }

  function form( $instance ) {
      /* Set default widget settings. */
      $defaults = array(
          'title'                 =&gt; __('WPFirstAid Sample'),
          'choices'               =&gt; 'The Doctor',
          'show_choices'          =&gt; true,
          'optionals'             =&gt; 'right'
      );
      $instance = wp_parse_args( (array) $instance, $defaults );
		?&gt;

		&lt;p&gt;
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'title' ); ?&gt;&quot;&gt;&lt;?php _e('Title:'); ?&gt;&lt;/label&gt;
</pre>
<p>The function now looks like this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php /* Using the_widget() to make a plugin template tag */
the_widget(
  WPFA_Sample_Widget,
  $instance = array(
        'title'                 =&gt; __('WPFirstAid Sample'),
        'choices'               =&gt; 'The Doctor',
        'show_choices'          =&gt; true,
        'optionals'             =&gt; 'right'
  ),
  $args = array ()
);
/* NB: This will not work ... yet! */ ?&gt;
</pre>
<p>Now we just need to replace the last parameter, &#8220;$args = array()&#8221; with the appropriate information. Depending on the theme, and whether or not there exists widget areas in the theme, the simplest place to start is with clearing the standard widget arguments that reference before and after the widget, as well as before and after the widget title. The function will now look like this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php /* Using the_widget() to make a plugin template tag */
the_widget(
  WPFA_Sample_Widget,
  $instance = array(
        'title'                 =&gt; __('WPFirstAid Sample'),
        'choices'               =&gt; 'The Doctor',
        'show_choices'          =&gt; true,
        'optionals'             =&gt; 'right'
  ),
  $args = array (
  'before_widget'   =&gt; '',
  'before_title'    =&gt; '',
  'after_title'     =&gt; '',
  'after_widget'    =&gt; ''
  )
);
/* NB: This will work, now! */ ?&gt;
</pre>
<p>Just copy and paste into your theme; and, after making suitable changes to match your installed active plugin, it will now be used like a template tag!</p>
<p>Well Done! and, here is the sample plugin: <a class="downloadlink" href="http://wpfirstaid.com/wp-downloads/wpfa-sample-widget1.zip" title="Version0.2 downloaded 164 times" >WPFirstAid Sample Widget (164)</a>. Enjoy!</p>
<p><em>This post was inspired by <a href="http://buynowshop.com/plugins/bns-featured-category/comment-page-1/#comment-663">this comment</a> at <a href="http://buynowshop.com">BuyNowShop.com</a>, thank you @finid.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2010/01/no-widget-area/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Help Yourself</title>
		<link>http://wpfirstaid.com/2010/01/help-yourself/</link>
		<comments>http://wpfirstaid.com/2010/01/help-yourself/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 19:12:46 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=211</guid>
		<description><![CDATA[A review and a recommendation of the free WordPress plugin BNS Support.]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_213" class="wp-caption alignleft" style="width: 121px"><a href="http://wpfirstaid.com/wp-content/uploads/2010/01/BNS-Support-Screen-Snippet.png"><img src="http://wpfirstaid.com/wp-content/uploads/2010/01/BNS-Support-Screen-Snippet-111x300.png" alt="" title="BNS-Support-Screen-Snippet" class="size-medium wp-image-213" height="300" width="111"></a><p class="wp-caption-text">BNS Support Review</p></div> A recently published <a href="http://wordpress.org">WordPress</a> plugin is available to help others to help you. This plugin is <a href="http://wordpress.org/extend/plugins/bns-support/">BNS Support</a> from <a href="http://buynowshop.com">BuyNowShop.com</a>; and, is freely available from the <a href="http://wordpress.org/extend/plugins">WordPress.org Extend Plugins</a> repository.</p>
<p>This is the plugin description: <em>&#8220;Simple display of useful support information in the sidebar. Easy to copy and paste details, such as: the blog name; WordPress version; name of installed theme; and, active plugins list. Help for those that help. The information is only viewable by logged-in readers; and, by optional default, the blog administrator(s) only.&#8221;</em></p>
<p>The plugin does exactly what it says it will. It provides an easy to read, and easy to copy and paste, information block you can readily share with your chosen WordPress support person or group. Simply <a href="http://wpfirstaid.com/2009/12/plugin-installation/">install the plugin</a>; copy the text from the sidebar where you placed the widget; and, paste it into your nearest <a href="http://wordpress.org/support">WordPress Support</a> forum &#8230; or into an email, or contact form &#8230; the possibilities are virtually endless.</p>
<p>Of course, I may be biased, but I believe the <a href="http://buynowshop.com/plugins/bns-support">BNS Support</a> plugin is a most useful tool for any blog, I would recommend it for every blog owner or manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2010/01/help-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugin Installation</title>
		<link>http://wpfirstaid.com/2009/12/plugin-installation/</link>
		<comments>http://wpfirstaid.com/2009/12/plugin-installation/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 18:57:43 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[option panel]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=167</guid>
		<description><![CDATA[Installing a WordPress plugin with step-by-step instructions and pictures.]]></description>
			<content:encoded><![CDATA[<p>To install a WordPress plugin is in most cases fairly straight forward but if you have never installed one before the first time can be a bit awkward. Lets install two plugins with these step-by-step instructions.</p>
<p>First, you will need to be logged into your administration pages. This should be a familiar process. Remember this?</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/login.png"><img class="size-medium wp-image-168" title="Login" src="http://wpfirstaid.com/wp-content/uploads/2009/12/login-300x290.png" alt="" height="290" width="300"></a><p class="wp-caption-text">The typical WordPress login form</p></div>
<p>Next, on the left hand side of your screen you should see your administration pages menu. It will looks very much like this.</p>
<div id="attachment_170" class="wp-caption aligncenter" style="width: 144px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/menu.png"><img class="size-medium wp-image-170" title="Menu" src="http://wpfirstaid.com/wp-content/uploads/2009/12/menu-134x300.png" alt="" height="300" width="134"></a><p class="wp-caption-text">The admin. menu</p></div>
<p>To install a new plugin there are essentially two methods that can be done from these administration pages. Both methods make use of the menu at the top of the &#8220;Install Plugins&#8221; page. Here is a screen snippet of the page:</p>
<div id="attachment_175" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/install.png"><img class="size-medium wp-image-175" title="Install Plugins" src="http://wpfirstaid.com/wp-content/uploads/2009/12/install-300x89.png" alt="" height="89" width="300"></a><p class="wp-caption-text">A screen snippet of the Install Plugins page. Click to enlarge. Click back to return.</p></div>
<p>Let&#8217;s look at the upload method first. This method only works for plugins you have downloaded to your local computer. Click on the upload link at the top of the Install Plugins page and you should see something like this on your screen:</p>
<div id="attachment_178" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/upload.png"><img class="size-medium wp-image-178" title="Upload Browser" src="http://wpfirstaid.com/wp-content/uploads/2009/12/upload-300x133.png" alt="" height="133" width="300"></a><p class="wp-caption-text">Click on the Browse button to open the file browser for your computer.</p></div>
<p>Next, locate the plugin zip file on your local computer. In this example we will use a <a href="http://buynowshop.com/2009/10/modified-facebook-sharecount-plugin/">modified version</a> of the <a href="http://www.fbshare.me/">Facebook Sharecount</a> plugin by <a href="http://thesnowballfactory.com/">Snowball Factory, Inc.</a> Your screen may look something like this:</p>
<div id="attachment_180" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/file.png"><img class="size-medium wp-image-180" title="File Browser" src="http://wpfirstaid.com/wp-content/uploads/2009/12/file-300x236.png" alt="" height="236" width="300"></a><p class="wp-caption-text">An example of locating a plugin zip file</p></div>
<p>Click the &#8220;Open&#8221; button (see example image above). This will populate the field on the Install Plugins page under uploads. Click the &#8220;Install Now&#8221; button. The next step is <a href="#activate-plugin">activating the plugin</a> which we will look at in a moment, after going through the steps to use the &#8220;Search&#8221; method(s). The &#8220;Featured&#8221;, &#8220;Popular&#8221;, &#8220;Newest&#8221;, and &#8220;Recently Updated&#8221; options are simply pre-configured special &#8220;Search&#8221; criteria. Here is a screen snippet:</p>
<div id="attachment_184" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/search.png"><img class="size-medium wp-image-184" title="Search Results" src="http://wpfirstaid.com/wp-content/uploads/2009/12/search-300x118.png" alt="" height="118" width="300"></a><p class="wp-caption-text">Large Image. The results for searching on the term: Support. Click to enlarge. Click back to return.</p></div>
<p>Locate the plugin you are interested in using, for this example we will look at the <a href="http://buynowshop.com/plugins/bns-support/">BNS Support</a> plugin. The plugin name itself will link to the page the plugin author has designated, the link to the far right will start the installation process. Clicking on the &#8220;install&#8221; link will open a pop-up style interface, very similar if not identical to this one:</p>
<div id="attachment_186" class="wp-caption aligncenter" style="width: 244px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/install_now.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/install_now-234x300.png" alt="" title="Install Now" class="size-medium wp-image-186" height="300" width="234"></a><p class="wp-caption-text">The install now pop-up window</p></div>
<p>Clicking the big red &#8220;Install Now&#8221; button will display a screen with information like this:</p>
<div id="activate-plugin"></div>
<p><div id="attachment_188" class="wp-caption alignleft" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/activate.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/activate-300x137.png" alt="" title="Activate" class="size-medium wp-image-188" height="137" width="300"></a><p class="wp-caption-text">After the plugin is installed it needs to be activated.</p></div> <div id="attachment_192" class="wp-caption alignright" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/manage.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/manage-300x267.png" alt="" title="Manage Plugins" class="size-medium wp-image-192" height="267" width="300"></a><p class="wp-caption-text">An example of the Manage Plugins page after plugin activation.</p></div></p>
<div class="clear"></div>
<p>Some plugins offer functionality simply with their activation, for example the <a href="http://buynowshop.com/plugins/bns-login/">BNS Login</a> plugin, other plugins require they are placed in a widget area of the theme. To add a plugin to one of these widget areas, you will need to click on Appearance, then click on Widgets; and, the Available Widgets page should be displayed. It will have a similar look to this example:</p>
<div id="attachment_195" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/widgets.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/widgets-300x132.png" alt="" title="Available Widgets" class="size-medium wp-image-195" height="132" width="300"></a><p class="wp-caption-text">Large Image. An example of possible available widgets. Click to enlarge. Click back to return.</p></div>
<p>To use the plugin, drag-and-drop its title bar into an open widget area. Widget areas are theme dependent. If the widget area you want to use is not &#8220;open&#8221; first click on the small triangle on the right side of the widget area title. Now you can drag-and-drop the plugin title bar there. As you drag the plugin into the widget area, an outline of the plugin title bar will appear showing the plugin can be dropped. Once the plugin has been dropped into a widget area, if it exists, the plugin option menu will pop open. Similar to these next screen snippets:</p>
<p><div id="attachment_198" class="wp-caption alignleft" style="width: 200px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/drop.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/drop-190x300.png" alt="" title="Drop Zone" class="size-medium wp-image-198" height="300" width="190"></a><p class="wp-caption-text">A plugin being dragged into a widget area.</p></div> <div id="attachment_199" class="wp-caption alignright" style="width: 226px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/option.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/option-216x300.png" alt="" title="Plugin Option menu" class="size-medium wp-image-199" height="300" width="216"></a><p class="wp-caption-text">Once dropped, the plugin will pop open its option menu.</p></div></p>
<div class="clear"></div>
<p>Some plugins have full pages to manage their options, either in addition or as their only method of control. This is more common for plugins that do not need or have use of being placed in a widget area. These option pages are generally placed in the admin menu at the author&#8217;s discretion. The most common area to find the plugin settings page is under &#8230; Settings, as this example shows:</p>
<div id="attachment_201" class="wp-caption aligncenter" style="width: 310px"><a href="http://wpfirstaid.com/wp-content/uploads/2009/12/settings.png"><img src="http://wpfirstaid.com/wp-content/uploads/2009/12/settings-300x292.png" alt="" title="Settings" class="size-medium wp-image-201" height="292" width="300"></a><p class="wp-caption-text">A common place to find plugin settings pages is under the admin Settings.</p></div>
<p>Now you can return to your home page and see your newly installed, and configured, plugin. Congratulations!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2009/12/plugin-installation/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Keep Check Mark in Checkbox</title>
		<link>http://wpfirstaid.com/2009/12/keep-check-mark-in-checkbox/</link>
		<comments>http://wpfirstaid.com/2009/12/keep-check-mark-in-checkbox/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 17:23:08 +0000</pubDate>
		<dc:creator>The Doctor</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[option panel]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpfirstaid.com/?p=161</guid>
		<description><![CDATA[A simple fix to the problem of the checkbox not staying checked in WordPress option panels.]]></description>
			<content:encoded><![CDATA[<p>Something I have come across recently in several plugins (mine included) was the checkbox in the option panel not staying checked!</p>
<p>The option itself was being maintained; the plugins are working according to expectations; but, the visual check mark in the box was not there. This can be become frustrating and annoying. A fix was needed. Here is it, in the form of a generic snippet:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;p&gt;
	&lt;input class=&quot;checkbox&quot; type=&quot;checkbox&quot; &lt;?php checked( (bool) $instance['do_something'], true ); ?&gt; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'do_something' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'do_something' ); ?&gt;&quot; /&gt;
	&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'do_something' ); ?&gt;&quot;&gt;&lt;?php _e('Display the Do Something action?'); ?&gt;&lt;/label&gt;
&lt;/p&gt;
</pre>
<p>The key is the <code>(bool)</code> in the <code>checked()</code> function. If it does not exist the checkbox will not maintain the visual check mark correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfirstaid.com/2009/12/keep-check-mark-in-checkbox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

