appthemes_after_loop

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.

Your rating: none
Rating: 5 - 1 vote

Popular Add-ons

Coups

A clean and advanced clipper child theme with extended features.


(10)
$39

GeoReg

Captures detailed geographic info with new user registrations.


(10)
$29

Category Icons

Add icons to your ClassiPress categories


(6)
$19