';
// If the user is the primary user on the blog, offer a shortcut to add posts.
if ( is_home() && current_user_can( 'publish_posts' ) )
{
echo
sprintf( __( 'Ready to publish your first post?
Get started here.', 'bpq' ), admin_url( 'post-new.php' ) );
}
// Search fails offer another search opportunity front-and-center.
elseif ( is_search() )
{
echo
__( 'Nothing found. Would you like to search with different terms?', 'bpq' ).
'
'.
get_search_form( false );
}
// Not sure which kind of page - might be a 404 error, could be something else.
else
{
echo
__( 'Unable to find what you seek. Perhaps a search might help?', 'bpq' ).
get_search_form( false );
}
// Complete the article container.
echo
'