Series Meta Template

The Series Meta is an information strip that shows on single posts. This a quick 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. You can see the Series Meta 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

Showing 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:

Professional publishing plugins for WordPress! Get PublishPress

  • SUBSCRIBE TO OUR NEWSLETTER
  • SEARCH THIS SITE