예제 #1
0
function k2_asides_permalink($content)
{
    if (in_category(get_option('unwakeable_asidescategory')) and !is_singular()) {
        $content .= '<a href="' . get_permalink() . '" rel="bookmark" class="asides-permalink" title="' . k2_permalink_title(false) . '">(' . get_comments_number() . ')</a>';
    }
    return $content;
}
예제 #2
0
 

			<div id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class();
        ?>
>
				<div class="entry-head">
					<h1 class="entry-title">
						<a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="<?php 
        k2_permalink_title();
        ?>
"><?php 
        the_title();
        ?>
</a>
					</h1>

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

					<div class="entry-meta">
						<?php 
        k2_entry_meta(1);