%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'; ?> widgets['WP_Widget_Recent_Comments'], 'recent_comments_style' ) ); } // end foto_remove_recent_comments_style() /** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. * * @since foto 1.0 */ if ( ! function_exists( 'foto_comment' ) ) : function foto_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>
  • ', '' ); ?>

  • id="li-comment-">
    comment_parent ) $avatar_size = 40; echo get_avatar( $comment, $avatar_size ); /* translators: 1: comment author, 2: date and time */ printf( __( '%1$s on %2$s said:', 'foto' ), sprintf( '%s', get_comment_author_link() ), sprintf( '', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date, 2: time */ sprintf( __( '%1$s at %2$s', 'foto' ), get_comment_date(), get_comment_time() ) ) ); ?> ', '' ); ?> __( 'Reply ', 'foto' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    comment_approved == '0' ) : ?>
    1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>