Hi. I want to be able to edit what is shown as the page title for my Archive page. At the moment this is what is there: echo avia_title(array(‘title’ => avia_which_archive()));
I cannot find that functions ‘avia_title’ or avia_which_archive’ anywhere. I’d like not to have to list a bunch of conditionals, but would simply like to display the Category Title (without the “Archive For Category:”).
Hi,
Edit framework > php > function-set-avia-frontend.php, find the code online 817.
if(!function_exists('avia_which_archive'))
You can change the text below:
if ( is_category() )
{
$output = __('Archive for category:','avia_framework')." ".single_cat_title('',false);
}
elseif (is_day())
{
$output = __('Archive for date:','avia_framework')." ".get_the_time('F jS, Y');
}
elseif (is_month())
{
$output = __('Archive for month:','avia_framework')." ".get_the_time('F, Y');
}
elseif (is_year())
{
$output = __('Archive for year:','avia_framework')." ".get_the_time('Y');
}
Regards,
Ismael
thanks!