appthemes_after_blog_endwhile

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();
<?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.

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

Logic Widgets for Vantage

Quickly and easily add conditional content to your Vantage site including…


(4)
$29

Critic

A professional review and rating system for WordPress.


(13)
$29
WP Smart Export

WP Smart Export

A highly customizable WordPress data exporter plugin.


(7)
$19