%3$s', 'foto'), esc_url( get_permalink() ), esc_attr( sprintf( __( 'Permalink to %s', 'foto' ), the_title_attribute( 'echo=0' ) ) ), esc_attr( get_the_title() ) ); } elseif ( is_author() ) { /* Queue the first post, that way we know * what author we're dealing with (if that is the case). */ the_post(); printf( __( 'Author Archives: %s', 'foto' ), '' . get_the_author() . '' ); /* Since we called the_post() above, we need to * rewind the loop back to the beginning that way * we can run the loop properly, in full. */ rewind_posts(); } elseif ( is_404() ) { _e( '404 Not Found', 'foto' ); } elseif ( is_search() ) { printf( __( 'Search Results for: %s', 'foto' ), '' . get_search_query() . '' ); } elseif ( is_category() ) { printf( __( 'Category Archives: %s', 'foto' ), '' . single_cat_title( '', false ) . '' ); } elseif ( is_tag() ) { printf( __( 'Tag Archives: %s', 'foto' ), '' . single_tag_title( '', false ) . '' ); } elseif ( is_day() ) { printf( __( 'Daily Archives: %s', 'foto' ), '' . get_the_date() . '' ); } elseif ( is_month() ) { printf( __( 'Monthly Archives: %s', 'foto' ), '' . get_the_date( 'F Y' ) . '' ); } elseif ( is_year() ) { printf( __( 'Yearly Archives: %s', 'foto' ), '' . get_the_date( 'Y' ) . '' ); } else { _e( 'Archives', 'foto' ); } } endif; // foto_page_title() /** * Display navigation to next/previous pages when applicable * * @since foto 0.0.1 */ if ( ! function_exists( 'foto_content_nav' ) ): function foto_content_nav( $nav_id ) { global $wp_query; $nav_class = 'site-navigation paging-navigation clearfix'; if ( is_single() ) $nav_class = 'site-navigation post-navigation clearfix'; ?>
', '' ); ?>