Series Test Post Part 2

== Usage ==

To create a connected series of posts, add two custom field ( key/value pairs to each post in the series.

a unique name for the series.
the current post’s position in the series.

The step-by-step instructions for usage follow. Assume you are writing a tutorial on WordPress plugins.

1. Create the first post in the series.
2. Before saving, move to the Custom Field section under Advanced Editing.
3. In the KEY field, type series_name.
4. In the VALUE field, type in a unique name for this series such as “Writing A WordPress Plugin”.
5. Click Add Custom Field.
6. Again, in the KEY field, type series_order.
7. In the VALUE field, type in the number “1”, as this is the first post in the series.
8. Click Add Custom Field.
9. Click Save or Publish.

For the second post or article in the series, repeat the process, incrementing the series_order number by 1.

The custom fields for each post, by themselves, don’t do anything. If the In_Series plugin is deactivated, they will not appear.

When the In-Series plugin is activated, though, several new template tags are available which do use these custom fields. These new template tags only output when viewing a single post. When these new template tags are called on an index, archive, category, or any non-single-post view template file, they will silently do nothing. The tags will generate the series information when viewing a single post that is part of a series as defined by the custom fields series_name and series_order.

By default, if there is no next or previous article in the series, that link will not appear. The default usage also does not highlight the current page in a link.