Esempio n. 1
0
        the_title();
        ?>
</a></h3>

				<div class="entry-meta">
					<span class="chronodata">
						<?php 
        /* Date & Author */
        printf(__('Published %1$s %2$s', 'k2_domain'), $multiple_users ? sprintf(__('by %s', 'k2_domain'), '<span class="vcard author"><a href="' . get_author_posts_url(get_the_author_ID()) . '" class="url fn" title="' . sprintf(__('View all posts by %s', 'k2_domain'), attribute_escape(get_the_author())) . '">' . get_the_author() . '</a></span>') : '', '<abbr class="published" title="' . get_the_time('Y-m-d\\TH:i:sO') . '">' . (function_exists('time_since') ? sprintf(__('%s ago', 'k2_domain'), time_since(abs(strtotime($post->post_date_gmt . " GMT")), time())) : ' ' . sprintf(__('on %s', 'k2-domain'), get_the_time($dateformat))) . '</abbr>');
        ?>
					</span>

					<span class="entry-category">
						<?php 
        /* Categories */
        printf(__('in %s.', 'k2_domain'), k2_nice_category(', ', __(' and ', 'k2_domain')));
        ?>
					</span>

					<?php 
        /* Comments */
        comments_popup_link('0&nbsp;<span>' . __('Comments', 'k2_domain') . '</span>', '1&nbsp;<span>' . __('Comment', 'k2_domain') . '</span>', '%&nbsp;<span>' . __('Comments', 'k2_domain') . '</span>', 'commentslink', '<span>' . __('Closed', 'k2_domain') . '</span>');
        ?>

					<?php 
        /* Edit Link */
        edit_post_link(__('Edit', 'k2_domain'), '<span class="entry-edit">', '</span>');
        ?>

					<?php 
        /* Tags */
Esempio n. 2
0
 function k2_entry_categories()
 {
     return '<span class="entry-categories">' . k2_nice_category(', ', __(' and ', 'k2_domain')) . '</span>';
 }