Hi Peter,
I used the Taxonomy order pro to arrange the different portfolio categories into the necessary order - however I can't get rid of the default "All" field. When I load my page it defaults to "All" and shows everything in my portfolio however I want it to default to "Available now" and also still be sortable.
I tried to change a few things in loop-portfolio.php but haven't been able to work it out. namely, i tried creating this line:
$output .= "".__('Available Now','avia_framework')."";
and put it in place of the original line:
$output .= "".__('All','avia_framework')."";
I hope you are able to steer me in the right direction. Sorry for the trouble.
Brooke
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if(!isset($avia_config['portfolio_sorting']) || $avia_config['portfolio_sorting'] == 'yes')
{
if(!empty($categories[0]))
{
$output = "<div id='js_sort_items' >";
$hide = "hidden";
if (isset($categories[1])){ $hide = ""; }
$output .= "<div class='sort_by_cat $hide '>";
$output .= "".__('All','avia_framework')."";
/*$output .= "".__('Available Now','avia_framework')."";*/
foreach($categories as $category)
{
$output .= "<span class='text-sep'>/</span>category_nicename."_sort'>".$category->cat_name."";
$container_id .= $category->term_id;
}
$output .= "</div>";
$output .= "</div>";
echo $output;
}
}