layers_before_list_post_meta

Since: 1.0.7 Last Updated:
Back to Main Index

Outputs your custom code before the Post Meta on the list pages and Blog template.

Location: partials/content-list.php

Code output appears after:

Code output appears before:

Usage:

This hook can be useful if you want to insert custom code, such as a sharing bar, between the Excerpt and the post meta on the post list pages. This example introduces a Facebook Like button that automatically grabs the post’s ID in the feed.