Пример #1
0
function archive_by_category_shortcode($atts, $content = null)
{
    extract(shortcode_atts(array('hide_empty' => false), $atts));
    return get_archive_by_category($hide_empty);
}
Пример #2
0
            the_title();
            ?>
 
			                	</a>
			                	<span><?php 
            the_time(get_option('date_format'));
            ?>
</span>
			                </li> 
			            <?php 
        }
        ?>
		            </ul>


	            </div>
			
        <div class="archives"><?php 
        echo get_archive_by_category(true);
        ?>
</div>	
 
</article>
	
<?php 
    }
}
?>
</div></div>
<?php 
get_footer();