This action hook executes in the loop.php file and loads within the loop between endwhile;
and else :
runs.
Use this action hook to display something after a post or series of posts. This action hook will only be called if a post or multiple posts are present, and will only be called once after all the posts have been outputted.
This hook is used by both multiple post archive pages, as well as single pages.
appthemes_after_blog_endwhile(); |
Example: RSS Feed Link
<?php function insert_rss_link() { echo '<div class="rss-link">' . __('Want more? Subscribe to our feed via RSS.') . '<a href="' . esc_attr( get_bloginfo( 'rss2_url' ) ) . '">' . __( 'Click Here') . '</a>'; } add_action( 'appthemes_after_blog_endwhile', 'insert_rss_link' ); ?> |
Changelog
- since 1.1
Source File
appthemes_after_blog_endwhile()
is located in loop.php
.