The Series Meta Template

The Series Meta is an information strip that shows on single posts. This an overview of what part the post is, a total count of the posts in the series, and the name of the series the post belongs to.


Introducing the Series Meta Layout #

You can see the Series Meta layout in this image below:

Series Meta 1
Series Meta 1

You can control the design of this box by going to Series > Templates > Series Meta Box in your WordPress admin area.

Series Meta
Series Meta

How to Show the Series Meta with PHP #

By default, the series meta appears wherever the post that is a part of a series is displayed. The location of the output is controlled by the %postcontent% token.

If you want to manually insert the series meta template into your theme then you need to start with these steps:

  • Remove the %postcontent% token from the “Series Meta” box in the image above.
  • Click the “Display” tab and make sure the “Display series meta information with posts?” checkbox is unchecked.

Here's the function you use to call the Series Meta template:

wp_seriesmeta_write() 

To use the Series Meta feature in your theme make sure you echo it. For example:

<?php echo wp_seriesmeta_write(); ?>)

For developers who want to dig more deeply into the code, detailed explanations are included in the orgSeries-template-tags.php file: