Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25413

    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:”).

    #126885

    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

    #126886

    thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Archive Page title – edit’ is closed to new replies.