Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #202431

    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…

    #202432
    This reply has been marked as private.
    #202985

    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

    #202995

    Sorry – I had everything blocked in .htaccess to prevent crawling…you should be able to see it now…thanks!

    Mark

    #203522

    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

    #204199

    Worked perfectly, thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Post Detail Page Title defaults to Blog: Latest News’ is closed to new replies.