Tagged: blog title
I read your menual
http://kriesi.at/documentation/enfold/replace-the-default-blog-latest-news-title/
But it doesn’t work in my site.
Is that because of it’s korean language?
(my web : http://www.kindpic.com/%EC%A0%9C%EB%AA%A91/)
Is that right that I need to copy and paste the function to the child theme’s functions.php file?
Would you check?
Thank you.
Hey 567silver!
What happens when you edit line 9 in the single.php file?
$title = __('Blog - Latest News', 'avia_framework'); //default blog title
Regards,
Elliott
Thank you for the answer.
I added below in my enfold-child theme’s functions.php.
But the blog subject is still same. “blog-latest” (블로그-최근뉴스)
add_filter(‘avf_title_args’, ‘fix_single_post_title’, 10, 2);
function fix_single_post_title($args,$id)
{
if ( $args[‘title’] == ‘Blog – Latest News’ )
{
$args[‘title’] = get_the_title($id);
$args[‘link’] = get_permalink($id);
$args[‘heading’] = ‘h1’;
$title = __(‘Blog – Latest News’, ‘avia_framework’); //default blog title
}
return $args;
}
Hey!
That’s not going to work. What happens when you edit line 9 in the single.php file? Does it work then?
Regards,
Elliott