Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3792

    Hi,

    I’ve got BroadScope theme and want to change text “Archive for month” I have searched all php files, but I couldn’t find it.

    Maybe some hint ? :-)

    archive.jpg

    Regards,

    VoodooPL

    #43720

    Hey,

    You can adjust the main title output in /framework/php/function-set-avia-frontend.php (line 405). By default it looks like this:

    if(!function_exists('avia_which_archive'))
    {
    /**
    * checks which archive we are viewing and returns the archive string
    */

    function avia_which_archive()
    {
    $output = "";

    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');
    }
    elseif (is_search())
    {
    $output = __('Search results for: ','avia_framework').$_GET['s'];
    }
    elseif (is_author())
    {
    $output = __('Author Archive for:','avia_framework').get_the_author_link();
    }
    elseif (isset($_GET['paged']) && !empty($_GET['paged']))
    {
    $output = __('Blog Archive, page ','avia_framework').$_GET['paged'];
    }
    elseif (is_tag())
    {
    $output = __('Tag Archive for: ','avia_framework').single_tag_title('',false);
    }
    elseif(is_tax())
    {
    $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
    $output = __('Archive for: ','avia_framework').$term->name;
    }
    else
    {
    $output = __('Archives ','avia_framework');
    }

    return $output;
    }
    }

    James

    #43721

    It works, thanks James, but a few polish characters are missing for example instead of “ą” i’m getting “a”.

    Shall I change charset somewhere ?

    #43722

    Hi James

    I’d also like to do this – how do I? I’m within the wordpress backend system – not coding direct into the files.

    Many thanks

    #43723

    Hey,

    it’s very likely a problem with the cufon font. Many fonts don’t support special characters for all languages (because of file size reasons, etc.). Maybe try if any included font can display the character. If not you can search @fontsquirrel: http://www.fontsquirrel.com/ – maybe they offer a font which support Polish characters.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Where is located following text "Archive for month" need to change it’ is closed to new replies.