About 33 results: "php printf repo:Wargo/reddevil"
Page 1 of 2
Filter Results
Sources
Languages
Filter Results
Try Search On

archive.php in reddevil https://github.com/Wargo/reddevil.git | 57 lines | PHP
  1.  	  <?php /* If this is a category archive */ if (is_category()) { ?>
  2. 		<h3 class="pagetitle"><?php printf(__('Archive for the &#8216;%s&#8217; Category', 'laschool'), single_cat_title('', false)); ?></h3>
  3.  	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
  4. 		<h3 class="pagetitle"><?php printf(__('Posts Tagged &#8216;%s&#8217;', 'laschool'), single_tag_title('', false) ); ?></h3>
  5.  	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
  6. 		<h3 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'laschool'), get_the_time(__('F jS, Y', 'laschool'))); ?></h3>
  7.  	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
  8. 		<h3 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'laschool'), get_the_time(__('F, Y', 'laschool'))); ?></h3>
  9.  	  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
  10. 		<h3 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'laschool'), get_the_time(__('Y', 'laschool'))); ?></h3>
  11. 		<div <?php post_class(); ?>>
  12. 				<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'laschool'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a> <small>&ndash; <?php the_time(__('j. F, Y', 'laschool')) ?> <!-- by <?php the_author() ?> --></small></h2>
  13. 				<div class="comments-nr"><?php comments_popup_link(__('0<span> Comments</span>', 'laschool'), __('1<span> Comment</span>', 'laschool'), __('%<span> Comments</span>', 'laschool')); ?></div>
  14. 				<div class="postdata"><?php printf(__('Posted in %s', 'laschool'), get_the_category_list(', ')); ?></div>



















Back to Top