%3$s', 'newsworthy' ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'newsworthy' ), get_the_author() ) ),
esc_html( get_the_author() )
);
?>
→', 'newsworthy' ) ); ?>
$post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) );
if ( $images ) :
$total_images = count( $images );
$image = array_shift( $images );
$image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
?>
%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'newsworthy' ),
'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'newsworthy' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
number_format_i18n( $total_images )
); ?>
'
' . __( 'Pages:', 'newsworthy' ), 'after' => '
' ) ); ?>