web/wp-content/plugins/hybrid-hook-widgets/readme.html
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml">
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
<head>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
<title>A guide to the Hybrid Hook Widgets plugin</title>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
<link rel="stylesheet" href="readme.css" type="text/css" media="screen" />
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
</head>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
<body>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
<h1>A guide to Hybrid Hook Widgets</h1>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
<p><em>Hybrid Hook Widgets</em> is a plugin that creates new widget areas for the <em>Hybrid</em> theme and attaches them to the theme's action hooks.  Basically, it allows you to add widgets pretty much anywhere.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
<p>Typically, to add extra stuff to the theme, you must use one of <em>Hybrid's</em> action hooks.  This can be quite confusing to some users.  This plugin was created mainly for those users without much <acronym title="Extensible Hypertext Markup Language">XHTML</acronym> and <acronym title="Hypertext Preprocessor">PHP</acronym> knowledge.  It allows them to take advantage of <em>Hybrid's</em> advanced hook system without the need to understand how it works.  Of course, even advanced users can take advantage of this, especially when dealing with client work.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
<h2>How to install the plugin</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
<ol>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
	<li>Uzip the <code>hybrid-hook-widgets.zip</code> folder.</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
	<li>Upload the <code>hybrid-hook-widgets</code> folder to your <code>/wp-content/plugins</code> directory.</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
	<li>In your WordPress dashboard, head over to the <em>Plugins</em> section.</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
	<li>Activate <em>Hybrid Hooks Widgets</em>.</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
</ol>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
<h2>Using the plugin</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
<p>This plugin is pretty simple to use.  Just head over to your <em>Widgets</em> panel while in your WordPress admin.  You'll notice several additional widget areas for you to use.  When a widget is placed within a particular widget area, it will show on the front end of your site:</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
0d28b7c10758 First commit
ymh
parents:
diff changeset
    31
<ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    32
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    33
		<strong>Hook: Before HTML</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    34
		Located just inside the <code>&lt;body></code> tag and before all other content.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    35
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    36
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    37
		<strong>Hook: After HTML</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    38
		Located just before the closing <code>&lt;/body></code> tag and after all other content.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    39
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    40
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    41
		<strong>Hook: Before Header</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    42
		Located before the theme's header area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    43
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    44
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    45
		<strong>Hook: Header</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    46
		Located within the theme's header area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    47
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    48
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    49
		<strong>Hook: After Header</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    50
		Located after the theme's header area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    51
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    52
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    53
		<strong>Hook: Before Container</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    54
		Located just before the main content area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    55
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    56
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    57
		<strong>Hook: After Container</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    58
		Located just after the main widget areas (Primary and Secondary).
0d28b7c10758 First commit
ymh
parents:
diff changeset
    59
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    60
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    61
		<strong>Hook: Before Footer</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    62
		Located before the theme's footer area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    63
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    64
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    65
		<strong>Hook: Footer</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    66
		Located within the theme's footer area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    67
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    68
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    69
		<strong>Hook: Before HTML</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    70
		Located after the theme's footer area.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    71
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    72
	<li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    73
		<strong>Hook: Comment Form</strong><br />
0d28b7c10758 First commit
ymh
parents:
diff changeset
    74
		Located at the end of the comment form.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    75
	</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    76
</ul>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    77
0d28b7c10758 First commit
ymh
parents:
diff changeset
    78
<h2>Some notes about usage</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    79
0d28b7c10758 First commit
ymh
parents:
diff changeset
    80
<p>Because this plugin isn't necessarily supported within the theme or its child themes, there may be some times when things look a little wonky.  This is perfectly normal and expected.  This is caused by two issues:</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    81
0d28b7c10758 First commit
ymh
parents:
diff changeset
    82
<ol>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    83
	<li>No <acronym title="Cascading Style Sheets">CSS</acronym> rules are written specifically for this plugin's widget areas.</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    84
	<li>The child theme has other features that push the widget area out of view.</li>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    85
</ol>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    86
0d28b7c10758 First commit
ymh
parents:
diff changeset
    87
<p>The biggest thing here is the <acronym title="Cascading Style Sheets">CSS</acronym>.  More than likely, you'll have to write some custom style rules to make the widget areas appear as you'd like.  That's just how it is, but diving into your child theme's <code>style.css</code> file beats the heck out of having to dive into both your <code>style.css</code> and <code>functions.php</code> files.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    88
0d28b7c10758 First commit
ymh
parents:
diff changeset
    89
<p>To read more about the action hooks within the <em>Hybrid</em> theme, please read the <a href="http://themehybrid.com/themes/hybrid/hooks" title="Hybrid theme hooks">hooks reference</a>.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    90
0d28b7c10758 First commit
ymh
parents:
diff changeset
    91
<h2>Plugin support</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    92
0d28b7c10758 First commit
ymh
parents:
diff changeset
    93
<p>I run a WordPress community called <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a>, which is where I fully support all of my WordPress projects, including plugins.  You can sign up for an account to get plugin support for a small yearly fee ($25 <acronym title="United States Dollars">USD</acronym> at the time of writing).</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    94
0d28b7c10758 First commit
ymh
parents:
diff changeset
    95
<p>I know.  I know.  You might not want to pay for support, but just consider it a donation to the project.  To continue making cool, <acronym title="GNU General Public License">GPL</acronym>-licensed plugins and having the time to support them, I must pay the bills.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    96
0d28b7c10758 First commit
ymh
parents:
diff changeset
    97
<h2>Copyright &amp; license</h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    98
0d28b7c10758 First commit
ymh
parents:
diff changeset
    99
<p><em>Series</em> is licensed under the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html" title="GNU GPL">GNU General Public License</a>, version 2 (<acronym title="GNU General Public License">GPL</acronym>).</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   100
0d28b7c10758 First commit
ymh
parents:
diff changeset
   101
<p>This plugin is copyrighted to <a href="http://justintadlock.com" title="Justin Tadlock">Justin Tadlock</a>.</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   102
0d28b7c10758 First commit
ymh
parents:
diff changeset
   103
<p>2009 &copy; Justin Tadlock</p>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   104
0d28b7c10758 First commit
ymh
parents:
diff changeset
   105
</body>
0d28b7c10758 First commit
ymh
parents:
diff changeset
   106
</html>