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

StarStruck

A fast, lightweight, and elegant star rating system for comments, pages,…


(33)
$19

Motivate Mails

Motivate users to purchase featured ads on your ClassiPress website


(1)
$19

Selected ads For Classipress

Display Selected ads widget for Classipress


(1)
$12