Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. <?php global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?>
  2.  
  3.  
  4.  
  5. <?php if ( is_single() ) { ?>
  6.  
  7.  
  8.  
  9. <div class="postinfo">
  10.  
  11. <div id="pubblicato">Pubblicato il <?php the_time( get_option( 'date_format' ) ); ?></div>
  12. <div id="autore-post"><span class="small-autore">di</span> <?php the_author() // autore del post ?></div>
  13.  
  14. </div>
  15.  
  16.  
  17.  
  18. <?php } else { ?>
  19.  
  20.  
  21.  
  22. <div class="postinfo" style="position:relative; color:#999">
  23.  
  24. <?php the_time('M d, Y') ?> | <?php if (is_category( array( '3,7,18,28' ) )); ?>
  25. <?php
  26. $category = get_the_category();
  27. if($category[0]){
  28. echo '<a href="'.get_category_link($category[0]->term_id ).'">'.$category[0]->cat_name.'</a>';
  29. }
  30. ?>
  31. <?php ;?>
  32.  
  33. <a style="position:absolute;right:15px;" class="more-link" href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?> <?php the_title(); ?>"><?php _e("View Post"); ?></a>
  34.  
  35. </div>
  36.  
  37.  
  38.  
  39. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement