';
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo '
';
// POSTS
echo '
' . __( 'Posts', THEMENAME ) . '
';
$args = array(
'numberposts' => -1,
'offset' => 0,
'category' => '',
'orderby' => 'post_date',
'order' => 'DESC',
'include' => '',
'exclude' => '',
'meta_key' => '',
'meta_value' => '',
'post_type' => 'post',
'post_mime_type' => '',
'post_parent' => '',
'post_status' => 'publish' );
$posts = get_posts( $args );
echo '
';
echo '
';
// PAGES
echo '
' . __( 'Pages', THEMENAME ) . '
';
$args = array(
'child_of' => 0,
'sort_order' => 'ASC',
'sort_column' => 'post_title',
'hierarchical' => 1,
'exclude' => '',
'include' => '',
'meta_key' => '',
'meta_value' => '',
'authors' => '',
'parent' => -1,
'exclude_tree' => '',
'number' => '',
'offset' => 0,
'post_type' => 'page',
'post_status' => 'publish' );
$pages = get_pages( $args );
echo '
';
echo '
';
// CATEGORIES
echo '
' . __( 'Categories', THEMENAME ) . '
';
$args = array(
'type' => 'post',
'child_of' => 0,
'parent' => '',
'orderby' => 'name',
'order' => 'ASC',
'hide_empty' => 1,
'hierarchical' => 1,
'exclude' => '',
'include' => '',
'number' => '',
'taxonomy' => 'category',
'pad_counts' => false );
$categories = get_categories( $args );
echo '
';
//print_r($categories);
//echo '
';
foreach( $categories as $category ) {
$categoryLink = get_category_link( $category->term_id );
echo '
' . $category->name . '';
}
echo '';
echo '
';
// TAGS
echo '
' . __( 'Tags', THEMENAME ) . '
';
$args = array(
'slug' => '',
'orderby' => 'name',
'order' => 'ASC',
'hide_empty' => 1,
'hierarchical' => 1,
'exclude' => '',
'include' => '',
'number' => '',
'name__like' => '',
'pad_counts' => false );
$tags = get_tags( $args );
echo '
';
foreach( $tags as $tag ) {
$tagLink = get_tag_link( $tag->term_id );
echo '- ' . $tag->name . '
';
}
echo '
';
echo '
';
echo '
';
echo '';
echo ARIXWP_LOOP_FOOTER;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
get_footer();
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
?>