Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #272251

    Hi Kriesi and co,
    How do I change the title of the native contact form for Choices? I’d like it to say something like Contact us via this form rather than Send us mail.
    Many thanks,
    Fergie

    #272408

    Hey FergieGirl!

    Please add following code to bottom of Functions.php file in Appearance > Editor

    add_filter('avia_contact_form_args','avia_contact_form_heading', 10, 1);
    function avia_contact_form_heading($form_args) {
    $form_args = array( "heading" => "<h3>".__('Contact us via this form','avia_framework')."</h3>", );
    return $form_args;
    }

    Best regards,
    Yigit

    #272729

    Hi Yigit,
    That broke the site. I got this message:
    Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /clientdata/apache-www/f/o/fortun8int.com/www/wp-content/themes/choices/functions.php on line 267

    So I’ve returned the functions.php file to what it was before.
    Cheers
    Fergie

    #272848

    Hi Fergie,

    I tested that code on my local Choices install and it worked fine so far. Can you please create us an administrator account? post it here as a private reply.

    Regards,
    Josue

    #272927
    This reply has been marked as private.
    #273000

    Hi Sabrina!

    You forgot the URL of the website.

    Best regards,
    Josue

    #273056
    This reply has been marked as private.
    #273186

    Hi!

    I tried to login but login credentials are not working for me. Can you check once again?

    Best regards,
    Yigit

    #273200
    This reply has been marked as private.
    #273202

    Hey!

    I have added the code right below following line

    avia_nav_menus(); //call the function immediatly to activate
    }
    

    in functions.php file and it seems to be working fine

    Best regards,
    Yigit

    #273256

    Thank you for your help! Brilliant support as always! :-)))

    #273258

    Hey!

    You are welcome, glad we could help :)

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Change title of contact form?’ is closed to new replies.