layers_after_list_post_content

Since: 1.1.5 Last Updated:
Back to Main Index

Outputs your custom code after the post excerpt and before the post meta on post list pages and Blog template if the excerpt is enabled/available. Even though the location is similar to layers_before_list_post_meta in this case, this hook modifies only the excerpt in these template types.

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 buttons, links or static text, between the excerpt/copy container and post meta on the post list pages. This example inserts a simple HTML element to place a divider between the copy and the meta.