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: 0 - 0 votes

Written by: on July 20, 2011. Last modified: July 26, 2011 10:46 am.

Popular Marketplace Items

  • StarStruck WordPress Plugin Thumbnail
    $19

    StarStruck

     (13)
    A fast, lightweight, and elegant star rating system for comments, pages, & posts.
  • GeoReg thumbnail
    $29

    GeoReg

     (9)
    Captures detailed geographic info with new user registrations.
  • daddy-likes-190x130
    $19

    Daddy Like

     (6)
    A fast, lightweight, and elegant "like" system for comments, pages, and posts.