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

    Hi,

    just installed the theme and love the features.
    I was just wondering what files I’d need to edit in order to change the main title of a page.
    (<h1 class=”main-title entry-title”> … </h1>)

    On my start page it shows the latest block posts. The title right now is “Blog – Latest News”
    How can I change that into something else. Or when opening an Archive. Is says “Archive for category: cat-name
    I guess there is also a way to edit this.

    Would be great if you have a tip!
    Thanks

    #167849

    Hey mtupuschies!

    1.) You can change the “Blog – Latest News” by editing index.php, find this code:

    $title = __('Blog - Latest News', 'avia_framework'); //default blog title

    2.) The text “Archive for category:” is generated by avia_which_archive function. You can find it on framework > php > function-set-avia-frontend.php, find this code on line 834:

    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','avia_framework') );
    		}
    		elseif (is_month())
    		{
    			$output = __('Archive for month:','avia_framework')." ".get_the_time( __('F, Y','avia_framework') );
    		}
    		elseif (is_year())
    		{
    			$output = __('Archive for year:','avia_framework')." ".get_the_time( __('Y','avia_framework') );
    		}

    Cheers!
    Ismael

    #167851

    Thanks a million!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change text of Main Title’ is closed to new replies.