Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #621188

    Hi,
    i putted this code into our functions.php but it did not work:

    Result still the same:

    Regards Martin

    #621290

    Hi pixopolis2222!

    can you provide us admin access, so we can take a deeper look please? post login details here as private reply.

    Cheers!
    Andy

    #621345

    OK, here we go

    #621348

    Hey!

    I am not able to edit functions.php file from backend.
    Can you please try moving the code to the top of the file after PHP opening tag?

    Best regards,
    Yigit

    #621357

    No its on top of the file and in the private field you find te whole content of our functions.php

    #621362

    Hi!

    Can you please try changing code to following one

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if ( $args['title'] == 'Blog - Die aktuellsten Neuigkeiten' )
        {
            $args['title'] = get_the_title($id);
            $args['link'] = get_permalink($id);
            $args['heading'] = 'h1';
        }
    
        return $args;
    }

    Cheers!
    Yigit

    #621365

    That worked.
    Thanx!!!
    kind regards Martin

    PS: Maybe you should updatethat tipic in your documentation

    #621375

    Hi!

    We will :)
    Glad it worked! Let us know if you have any other questions or issues :)

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Replace the default “Blog – Latest News” title (Doc seems to be wrong)’ is closed to new replies.