appthemes_after_page_loop

This function executes in the page.php file and runs after the loop is completed.

Usage

This hook provides no parameters. You use this hook by having your function echo output to the browser, or by having it perform background tasks. Your functions shouldn’t return, and shouldn’t take any parameters.

add_action( 'appthemes_after_page_loop', 'your_function' );

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', 'appthemes') . '<a href="mailto:info@example.com">' . __('info@example.com', 'appthemes') .'</a></div>';
}
add_action( 'appthemes_after_page_loop', 'insert_feedback' ); 
?>

Changelog

  • since 1.1

Source File

appthemes_after_page_loop() is located in page.php.

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

Coupon Countdown

Add dynamic countdown to show the expiry time left for each coupon


(3)
$19

AppThemes Coupons

Start offering coupons and promotions to your customers.


(15)
$29

CP-Tabber

Show specific custom fields as tabs on an ad detail page.


(3)
$12