About 11 results: "php printf repo:tomtom10/required-foundation"
Page 1 of 1
Filter Results
Sources
Languages
Filter Results
Try Search On
functions.php in required-foundation https://github.com/tomtom10/required-foundation.git | 528 lines | PHP
  1. 	if ( $paged >= 2 || $page >= 2 )
  2. 		$title = "$title $sep " . sprintf( __( 'Page %s', 'requiredfoundation' ), max( $paged, $page ) );
  3. 								/* translators: 1: date, 2: time */
  4. 								sprintf( __( '%1$s at %2$s', 'requiredfoundation' ), get_comment_date(), get_comment_time() )
  5. function required_posted_on() {
  6. 	printf( __( '<h6>Posted by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span> on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a></h6>', 'requiredfoundation' ),
  7. 		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
  8. 		sprintf( esc_attr__( 'View all posts by %s', 'requiredfoundation' ), get_the_author() ),
  9. 				<h3 class="page-title"><?php
  10. 					printf( __( 'Category Archives: %s', 'requiredfoundation' ), '<span>' . single_cat_title( '', false ) . '</span>' );
  11. 				<h3 class="page-title"><?php
  12. 						printf( __( 'Tag Archives: %s', 'requiredfoundation' ), '<span>' . single_tag_title( '', false ) . '</span>' );
  13. 			<div id="author-info" class="panel clearfix">
  14. 				<h3 class="page-title author"><?php printf( __( 'Author Archives: %s', 'requiredfoundation' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h3>
  15. 				<?php elseif ( is_year() ) : ?>
  16. 					<?php printf( __( 'Yearly Archives: %s', 'requiredfoundation' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'requiredfoundation' ) ) . '</span>' ); ?>











Back to Top