'>
units' 'content'));?>>
20)); // check if we got posts to display: echo '
'."\n"; echo '
'.__('Blog Posts','avia_framework').'
'."\n"; echo '
'."\n"; echo '
'."\n"; if (have_posts()) : echo "

" . __('The 20 latest Blog Posts','avia_framework') . "

"; echo ""; else: echo "

" . __('No Blog Posts found','avia_framework') . "

"; endif; echo '
'."\n"; echo '
'."\n"; /* * Display the latest 20 portfolio posts */ query_posts(array('posts_per_page'=>8, 'post_type'=>'portfolio')); // check if we got posts to display: if (have_posts()) : $columns = 4; $rel_class = "av_one_fourth "; $slidecount = 0; $postcount = ($columns * 1); $count = 1; $output = ""; $first = "first"; $output .= "
"; $output .= "

" . __('The 8 latest Portfolio Entries','avia_framework') . "

"; $output .= "
"; while (have_posts()) : the_post(); $slidecount ++; if($count == 1) { $output .= "
"; } $image = get_the_post_thumbnail( get_the_ID(), 'portfolio_small' ); if(empty($image)) $image = ""; $output .= "\n"; $count++; $first = ""; if($count == $columns+1) { $first = "first"; $output .= "
"; $count = 1; } endwhile; if($count != 1) $output .= "
"; $output .= "
"; echo '
'.__('Portfolio','avia_framework').'
'."\n"; echo '
'."\n"; echo '
'."\n"; echo $output; echo '
'."\n"; echo '
'."\n"; endif; /* * Display pages, categories and month archives */ echo '
'.__('Pages','avia_framework').'
'."\n"; echo '
'."\n"; echo '
'."\n"; echo "
"; echo "

" . __('Available Pages','avia_framework') . "

"; echo "
    "; wp_list_pages('title_li=&depth=-1' ); echo "
"; echo "
"; echo '
'."\n"; echo '
'."\n"; echo '
'.__('Categories','avia_framework').'
'."\n"; echo '
'."\n"; echo '
'."\n"; echo "
"; echo "

" . __('Archives by Subject:','avia_framework') . "

"; echo "
    "; wp_list_categories('sort_column=name&optioncount=0&hierarchical=0&title_li='); echo "
"; echo "
"; echo '
'."\n"; echo '
'."\n"; echo '
'.__('Monthly','avia_framework').'
'."\n"; echo '
'."\n"; echo '
'."\n"; echo "
"; echo "

" . __('Archives by Month:','avia_framework') . "

"; echo "
    "; wp_get_archives('type=monthly'); echo "
"; echo "
"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n" //tabcontainer close; ?>