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

AppThemes Coupons

Start offering coupons and promotions to your customers.


(14)
$29

Ads By Category or Ad Tag

Display ads from specific category or categories by using a filter widget.


(4)
$12

Profiler for Vantage

Adds a one page author website to your Vantage theme.


(6)
$39