Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #713729

    Hello,

    I would like to change the text “Please prove that you are human by solving the equation” and I want it to remember it on updates and when I need to migrate my website to my hosting company. How can this be done? I am using the child theme.

    it´s for: http://zorbas.synology.me/wordpress/booking/

    Furthermore I would like to move the captcha further down on line with “send” so that it looks more nice.
    Any other recommendations to make the bookingform more nice would be much appreciated.

    #714774

    Thank you for a quick reply on this.

    #714805

    Hey!

    As long the changes you’ve made are in the child theme, it shouldn’t be overwritten during update.

    As for lining the captcha with send you can use this code and add it to Quick CSS(located in Enfold > General Styling):

    @media only screen and (min-width:768px) {
      .page-id-3665 #element_avia_17_1 {
        position: relative;
        top: 105px;
      }
    }

    just adjust the top value, however I don’t recommend this solution instead, I suggest to make it inline left with the button but on top of it, if you want to try this please remove the code I gave above and use this:

    .page-id-3665 #element_avia_17_1 {
        width: 100%;
        margin-left: 0;
    }

    Hope this helps. :)

    Regards,
    Nikko

    #714816

    It looks great with:
    .page-id-3665 #element_avia_17_1 {
    width: 100%;
    margin-left: 0;
    }

    But what about the language?
    I just want to change the language to Danish but I want it to remember it when I need to migrate site or update.

    #715183

    Hi!

    Try to follow the instructions here: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
    then copy contact.php from enfold>config-templatebuilder>avia-shortcodes folder to the shortcodes folder of your child theme then modify contact.php (in line 379):
    $elements['avia_age'] = array('type'=>'captcha', 'check'=>'captcha', 'label'=> __('Please prove that you are human by solving the equation','avia_framework' ));
    Just replace Please prove that you are human by solving the equation. Hope this helps. :)

    Cheers!
    Nikko

    #723453

    I have done this but it is still showing in english in: http://zorbas.synology.me/wordpress/booking/

    what did i do wrong?

    #723479

    Hi!

    Can we request for your ftp access and also temporary admin access? so we can inspect this further. Just place the details in the “private content” so only moderators can see.

    Regards,
    Nikko

    #724932

    I dont have ftp created. I tried to create and setup ftp but i didn´t succeded.
    Can it be fone without FTP?

    If not, I will try again later and see if it will work.

    #725334

    Hi!

    I’m not sure how we can help without ftp, I have tested the solution I have given and it works properly on my end, the reason I asked for ftp is I’d like to check if it’s not added properly or if there’s a conflict somewhere.

    Best regards,
    Nikko

    #727010

    I can give you access maybe to my synology. would that be ok?
    Then you have access to the files. See below.

    #727327

    Hey!

    Thanks, it should work now but the text might need to be changed a bit as some weird characters appear. I found out that you have created a contact.php in the shortcodes folder of your child theme however you have also commented out this code:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    	$template_url = get_stylesheet_directory();
        	array_unshift($paths, $template_url.'/shortcodes/');
    
    	return $paths;
    }

    Which is needed for the contact.php file to override the one in the parent theme, I just removed the comment and it works fine.

    Regards,
    Nikko
    Cheers!
    Nikko

    #727533

    ok. great.

    I dont remember that I have commented out some code.
    But if I did or someone else from the support did I dont hope it will ruin anything else of the customization.

    I hope this change and other changes are in my child theme and that I wont loose them when I update or migrate the website to the real hosting?

    regarding: “Venligst udfyld nedenst�ende s� vi ved at du ikke er en robot ” at first it worked with “å”.
    It is in Danish and needs to be Venligst udfyld nedenstående så vi ved at du ikke er en robot.

    Så the letter it´s a danish “å”. How can I correct this?

    • This reply was modified 7 years, 3 months ago by lech07.
    #727680

    Hey!

    Yes, you won’t lose any customization since this is on a child theme. As for fixing the letters you might want to use this character entity reference: https://dev.w3.org/html5/html-author/charref

    Best regards,
    Nikko

    #727686

    Thank you so much Nikko, it works!

    #727700

    Hi!

    You’re very much welcome :) Glad we could help.

    Cheers!
    Nikko

    #755928

    Hi Nikko,

    as I have issues with the theme and needed to erase and reupload the theme and i lost the settings for this as well.
    How can I change the language again for the captcha text?
    Do I need to add a code in contact.php? or move contact.php to child folder and then add a code?
    If you please can write exactly how to do it, then I can always go back and look in the thread and make the corrections.

    thanks

    #756110

    Hey!

    If the child theme isn’t deleted, you don’t need to add it but if you have deleted it as well then you will need to do the same process as before.

    Best regards,
    Nikko

    #756273

    I had a backup of the files so i uploaded the old child theme, seems to work.

    • This reply was modified 7 years, 1 month ago by lech07.
Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Change the captcha note: Please prove that you are human by solving the equation’ is closed to new replies.