Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?>
- <?php if ( is_single() ) { ?>
- <div class="postinfo">
- <div id="pubblicato">Pubblicato il <?php the_time( get_option( 'date_format' ) ); ?></div>
- <div id="autore-post"><span class="small-autore">di</span> <?php the_author() // autore del post ?></div>
- </div>
- <?php } else { ?>
- <div class="postinfo" style="position:relative; color:#999">
- <?php the_time('M d, Y') ?> | <?php if (is_category( array( '3,7,18,28' ) )); ?>
- <?php
- $category = get_the_category();
- if($category[0]){
- echo '<a href="'.get_category_link($category[0]->term_id ).'">'.$category[0]->cat_name.'</a>';
- }
- ?>
- <?php ;?>
- <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>
- </div>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement