Пример #1
0
    wp_link_pages(array('before' => '<div class="page-links">' . 'Páginas:', 'after' => '</div>'));
    ?>
		</div>
	<?php 
}
?>

	<footer class="entry-meta">
		<?php 
if ('post' == get_post_type()) {
    ?>
			<?php 
    $categoriesList = get_the_category_list(', ');
    ?>
			<?php 
    if ($categoriesList && eticagnu_main_categorized_blog()) {
        ?>
				<span class="cat-links">
					<?php 
        printf('%1$s', $categoriesList);
        ?>
				</span>
			<?php 
    }
    ?>

			<?php 
    $tags_list = get_the_tag_list('', ', ');
    ?>
			<?php 
    if ($tags_list) {
Пример #2
0
    </header>

    <div class="entry-content">
		<?php 
the_content();
?>
		<?php 
wp_link_pages(array('before' => '<div class="page-links">' . 'Páginas:', 'after' => '</div>'));
?>
    </div>

    <footer class="entry-meta">
		<?php 
$categoryList = get_the_category_list(', ');
$tagList = get_the_tag_list('', ', ');
if (!eticagnu_main_categorized_blog()) {
    if ('' != $tagList) {
        $metaText = 'Temas: %2$s. <a href="%3$s" title="Enlace a %4$s" rel="bookmark">Enlace</a>. ';
    } else {
        $metaText = '<a href="%3$s" title="Enlace a %4$s" rel="bookmark">Enlace</a>.';
    }
} else {
    if ('' != $tagList) {
        $metaText = '%1$s | Temas: %2$s. <a href="%3$s" title="Enlace a %4$s" rel="bookmark">Enlace</a>. ';
    } else {
        $metaText = '%1$s. <a href="%3$s" title="Enlace a %4$s" rel="bookmark">Enlace</a>. ';
    }
}
printf($metaText, $categoryList, $tagList, get_permalink(), the_title_attribute('echo=0'));
edit_post_link('Editar', '<span class="edit-link">', '</span>');
?>