Since: 1.0.7 Last Updated: Version: 1.1.5
Back to Main Index

Outputs your custom code before the comments wrapper in a single post or page . Code is output inside the loop. 

Location: comments.php

Code output appears after:

Code output appears before:


This hook is very useful for inserting custom elements or functionality after the post content and between the meta and comments, particularly code that runs its own query, such as related posts or post navigation. Using the code snippet from