Hi guys,
I can’t find any way to change the blog post detail pages…the blog post name/permalink doesn’t go in the page heading/title area…instead it says Blog: Latest News, no matter which post I click on…why isn’t it pulling the post name/permalink into the title heading of the blog detail page instead?
I’ll add link as private to prevent crawling…
Hey Mark!
The link you provided is unaccessible:
Forbidden
You don’t have permission to access /news-events/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Best regards,
Josue
Sorry – I had everything blocked in .htaccess to prevent crawling…you should be able to see it now…thanks!
Mark
Hey!
Yes, insert following code into the functions.php file
add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
function fix_single_post_title($args,$id)
{
if (is_single())
{
$args['title'] = get_the_title($id);
$args['link'] = get_permalink($id);
}
return $args;
}
Cheers!
Peter
Worked perfectly, thanks!