This function executes in the loop-[post_type].php file and runs after the custom post type page loop is completed.
appthemes_after_loop(); |
Example: Feedback
You can use this hook to add things like feedback messages, legal disclaimers, or other information your readers should know after reading a page.
<?php function insert_feedback() { echo '<div class="feedback">' . __( 'Questions? Comments? Concerns? Email us at <a href="mailto:info@example.com">info@example.com</a>.' ) . '</div>'; } add_action( 'appthemes_after_loop', 'insert_feedback' ); ?> |
Changelog
- since 1.1
Source File
appthemes_after_loop()
is located in loop-[post_type].php
.